summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/tests/gl_test_utils.h
diff options
context:
space:
mode:
authorzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-06 17:48:26 +0000
committerzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-06 17:48:26 +0000
commita8fb8f44bc56943c45bd06034fc004e22ef5da85 (patch)
tree0cf04d8183f36b63d56b3704176ea2d53b42f023 /gpu/command_buffer/tests/gl_test_utils.h
parentb375601e95723c66b63b567c80dfc69544c91c43 (diff)
downloadchromium_src-a8fb8f44bc56943c45bd06034fc004e22ef5da85.zip
chromium_src-a8fb8f44bc56943c45bd06034fc004e22ef5da85.tar.gz
chromium_src-a8fb8f44bc56943c45bd06034fc004e22ef5da85.tar.bz2
Revert 186416
> 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 TBR=gman@chromium.org Review URL: https://codereview.chromium.org/12544006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/tests/gl_test_utils.h')
-rw-r--r--gpu/command_buffer/tests/gl_test_utils.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gpu/command_buffer/tests/gl_test_utils.h b/gpu/command_buffer/tests/gl_test_utils.h
index 972ea0a..31de7cd 100644
--- a/gpu/command_buffer/tests/gl_test_utils.h
+++ b/gpu/command_buffer/tests/gl_test_utils.h
@@ -35,11 +35,6 @@ class GLTestHelper {
// Returns the created buffer.
static GLuint SetupUnitQuad(GLint position_location);
- // Make a 6 vertex colors.
- // Returns the created buffer.
- static GLuint SetupColorsForUnitQuad(
- GLint location, const GLfloat color[4], GLenum usage);
-
// Checks an area of pixels for a color.
static bool CheckPixels(
GLint x, GLint y, GLsizei width, GLsizei height, GLint tolerance,