3 ms·
When leading an Android platform team several years ago, we enable the OpenGL backend to Skia to see if it would accelerate general UI rendering. The conclusio
by mrlambchop 9y ago
When leading an Android platform team several years ago, we enable the OpenGL backend to Skia to see if it would accelerate general UI rendering.
The conclusion was after a whole bunch of bug fixes (OpenGL ES 2.0 IIRC), it ran but (a) ate up a lot of GPU memory (b) was slower than the 2D rendering for 80% of the drawing operations
(c) some rendering ops (such as the font wide) could not be easily accelerated, meaning you would need to flush the GPU partially rendered frame periodically, then bring into the CPU cache, draw over and then flush again before writing more GPU operations.
Fun experiment - poor outcome!