Hi, Every now and then while working on the Clutter toolkit we end up with glGet{Integer,Float}v in our profiles. Our typical response is to simply cache the offending state so as to avoid querying OpenGL, but it feels like this is papering over the problem.
I've attached a patch that instead tries to address the performance problem in Mesa and hoping something like this could be accepted upstream? kind regards, - Robert -- Robert Bragg, Intel Open Source Technology Center
0001-glGet-Optimize-glGet-calls-by-avoiding-redundant-st.patch
Description: Binary data
------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev