summaryrefslogtreecommitdiffstats
path: root/gpu/gpu.gyp
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-08 17:51:46 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-08 17:51:46 +0000
commit9a14ae6185d3f43c6fc30239f16c647abc44b366 (patch)
tree668c2224231e0ba3d5ec41b64479fba5e4d10962 /gpu/gpu.gyp
parent4e601fcf25223ca20444bcc22c252d84d5a1621e (diff)
downloadchromium_src-9a14ae6185d3f43c6fc30239f16c647abc44b366.zip
chromium_src-9a14ae6185d3f43c6fc30239f16c647abc44b366.tar.gz
chromium_src-9a14ae6185d3f43c6fc30239f16c647abc44b366.tar.bz2
Cache OpenGL program info on the client side of the command buffer.
For contexts not sharing resources this means the 3 to 30 calls to get link status and attrib/uniform locations will go from 3-30 sync calls to 1 sync call. TEST=unit tests and ran OpenGL ES 2.0 conformance tests BUG=85966 Review URL: http://codereview.chromium.org/7358006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95836 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gpu.gyp')
-rw-r--r--gpu/gpu.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp
index 2c4bbfd..6acbc8a 100644
--- a/gpu/gpu.gyp
+++ b/gpu/gpu.gyp
@@ -21,6 +21,8 @@
'command_buffer/client/gles2_implementation_autogen.h',
'command_buffer/client/gles2_implementation.cc',
'command_buffer/client/gles2_implementation.h',
+ 'command_buffer/client/program_info_manager.cc',
+ 'command_buffer/client/program_info_manager.h',
]
},
'targets': [
@@ -271,6 +273,7 @@
'command_buffer/client/fenced_allocator_test.cc',
'command_buffer/client/gles2_implementation_unittest.cc',
'command_buffer/client/mapped_memory_unittest.cc',
+ 'command_buffer/client/program_info_manager_unittest.cc',
'command_buffer/client/ring_buffer_test.cc',
'command_buffer/common/bitfield_helpers_test.cc',
'command_buffer/common/command_buffer_mock.cc',