Remove redundant GL calls in EGLX11ApplicationExample
authorRahul Singhal <rasinghal@nvidia.com>
Wed, 11 May 2011 10:11:21 +0000 (15:41 +0530)
committerMichael Schuldt <michael.schuldt@bmw-carit.de>
Mon, 4 Jul 2011 07:42:17 +0000 (09:42 +0200)
commit9e1cc74202e594aeb4539bfa15b05a2d66390e34
tree79851269296b2929386137659294bb5f800e9565
parent926ac4e67a2a71d9c1753857cc9e4b6b256f9f70
Remove redundant GL calls in EGLX11ApplicationExample

Redundant calls to glUseProgram, attachVertexBuffer & glUniformMatrix4fv
removed. Reduces GLES driver work and improves the app's per-frame time by 0.1ms.
LayerManagerExamples/EGLX11ApplicationExample/src/gles2application.cpp