B2G/Wifi Display: Difference between revisions

Line 63: Line 63:


==== Approach 1 (Composition-based) ====
==== Approach 1 (Composition-based) ====
The concept of this approach is quite simple: instead of re-rendering the same (almost) things, we just render once and copy the composition result to the virtual display buffer. This can be naively done by waiting for GPU composition result and memory copy to the destination. From the early experiment result, the naive implementation of this approach is definitely not working. The early experiment issues a glReadPixel command for each frame and the fps becomes around 15 even without running Wifi Display. To polish the naive implementation, we need to 1) copy buffer as close as the time when source is ready and 2) use GPU to do the copy. This is still under investigation.


==== Approach 2 (Layer-based) ====
==== Approach 2 (Layer-based) ====
Confirmed users
158

edits