История изменений
Исправление mittorn, (текущая версия) :
To implement the HWC:
Implement a nonoperational HWC and send all composition work to GLES.
Implement an algorithm to delegate composition to the HWC incrementally. For example, delegate only the first three or four surfaces to the overlay hardware of the HWC.
Optimize the HWC. This may include:
Selecting surfaces that maximize the load taken off the GPU and sending them to the HWC.
Detecting whether the screen is updating. If it isn't, delegate composition to GLES instead of the HWC to save power. When the screen updates again, continue to offload composition to the HWC.
То, о чём ты говоришь - третий пункт. А второй как раз про аппаратную имплементацию того, то wayland за редкими исключениями делает в opengl. Да, его можно пропустить, но у того же qualcomm есть blit engine и я подозреваю, что он задействован. А на мобилках с 4k экранами выгружать всё в gpu растеризатор - пустая трата энергии. Возможно разница в производительности не сильно заметна будет, только вот греться будет железо в разы меньше.
Исходная версия mittorn, :
To implement the HWC:
Implement a nonoperational HWC and send all composition work to GLES.
Implement an algorithm to delegate composition to the HWC incrementally. For example, delegate only the first three or four surfaces to the overlay hardware of the HWC.
Optimize the HWC. This may include:
Selecting surfaces that maximize the load taken off the GPU and sending them to the HWC.
Detecting whether the screen is updating. If it isn't, delegate composition to GLES instead of the HWC to save power. When the screen updates again, continue to offload composition to the HWC.
То, о чём ты говоришь - третий пункт. А второй как раз про аппаратную имплементацию. Да, его можно пропустить, но у того же qualcomm есть blit engine и я подозреваю, что он задействован. А на мобилках с 4k экранами выгружать всё в gpu растеризатор - пустая трата энергии. Возможно разница в производительности не сильно заметна будет, только вот греться будет железо в разы меньше.