[webkit-efl] About usage of state caching variables to reduce redundant OpenGL state changes
Bruno Abinader
brunoabinader at gmail.com
Thu Mar 21 09:42:07 PDT 2013
Hi all,
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 [1] 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.
Best regards,
Links:
[1] https://bugs.webkit.org/show_bug.cgi?id=110883
--
Bruno de Oliveira Abinader
Software Engineer @ basysKom GmbH
WebKit committer / Nokia Certified Qt Specialist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-efl/attachments/20130321/2a09d370/attachment.html>
More information about the webkit-efl
mailing list