summaryrefslogtreecommitdiffstats
path: root/gpu/gpu.gyp
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-06 13:06:50 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-06 13:06:50 +0000
commit790aae08d87e585e3efe036f9e2e1fe7a5e501e4 (patch)
tree22d2be6f6f0813c8844e16c381ed4bf87bfc8666 /gpu/gpu.gyp
parent80d88e55fda2fe9546bc1b0d135f3c989afb91f4 (diff)
downloadchromium_src-790aae08d87e585e3efe036f9e2e1fe7a5e501e4.zip
chromium_src-790aae08d87e585e3efe036f9e2e1fe7a5e501e4.tar.gz
chromium_src-790aae08d87e585e3efe036f9e2e1fe7a5e501e4.tar.bz2
Use client side arrays for GL_STREAM_DRAW attributes
Certain GPU/drivers are slow when using constantly changing vertex buffers. They also run out of memory as the pipeline the buffers so while a buffer is in used being drawn to they can't delete it immediately when you upload new data to the buffer. This is an attempt to work around that issue seemlessly by using client side arrays for buffers marked as GL_STREAM_DRAW BUG=178093 Review URL: https://chromiumcodereview.appspot.com/12494005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gpu.gyp')
-rw-r--r--gpu/gpu.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp
index e6e9868..005573d 100644
--- a/gpu/gpu.gyp
+++ b/gpu/gpu.gyp
@@ -261,6 +261,7 @@
'command_buffer/tests/gl_texture_storage_unittests.cc',
'command_buffer/tests/gl_unittests.cc',
'command_buffer/tests/gl_virtual_contexts_unittests.cc',
+ 'command_buffer/tests/gl_stream_draw_unittests.cc',
'command_buffer/tests/occlusion_query_unittests.cc',
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.