[webkit-efl] About usage of state caching variables to reduce redundant OpenGL state changes
brunoabinader at gmail.com
Thu Mar 21 09:42:07 PDT 2013
I've been profiling OpenGL calls from the UIProcess and found out we are
doing quite some redundant state changes and getter/setter calls. This
might affect performance on platforms where the OpenGL client communicates
directly with server, without using a GPU proxy to detect such redundancies
(like Chromium does). Based on this, I've implemented a
GraphicsContext3DState class, which would cache and thus, reduce the amount
of OpenGL calls during runtime. Details are covered in bug 110883  and
the state cache is disabled by default, but it can be enabled on a
per-platform basis as necessary.
Please let me know your opinion on this matter, and I could also clarify
some missing information if necessary.
Bruno de Oliveira Abinader
Software Engineer @ basysKom GmbH
WebKit committer / Nokia Certified Qt Specialist
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-efl