Hi all,
I'm developing a UI framework using Skia for rendering and encountering a specific performance issue: The first draw of control images (e.g. button icons) is significantly slower than subsequent draws when using EGL backend. even though I've pre-processed the image with SkImages::TextureFromImage.
Profiling shows the bottleneck occurs specifically in **GrDirectContext::flush()** during the first draw operation.
I've also tested with the WGL GPU backend (on Windows) using the same code flow, and did NOT observe the performance drop on the first draw. The initial GrDirectContext::flush() latency was normal (close to the latency of subsequent flushes).
Thanks for any insights!
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/skia-discuss/be378461-ba36-47ea-b7d1-abbd4b8afeban%40googlegroups.com.