summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/test_helper.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/service/test_helper.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/service/test_helper.h')
-rw-r--r--gpu/command_buffer/service/test_helper.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gpu/command_buffer/service/test_helper.h b/gpu/command_buffer/service/test_helper.h
index a97cf74..86354c6 100644
--- a/gpu/command_buffer/service/test_helper.h
+++ b/gpu/command_buffer/service/test_helper.h
@@ -11,9 +11,6 @@ namespace gpu {
namespace gles2 {
struct DisallowedFeatures;
-class Buffer;
-class BufferManager;
-class MockGLES2Decoder;
class TestHelper {
public:
@@ -89,11 +86,6 @@ class TestHelper {
UniformInfo* uniforms, size_t num_uniforms,
GLuint service_id);
- static void DoBufferData(
- ::gfx::MockGLInterface* gl, MockGLES2Decoder* decoder,
- BufferManager* manager, Buffer* buffer, GLsizeiptr size, GLenum usage,
- const GLvoid* data, GLenum error);
-
private:
static void SetupTextureInitializationExpectations(
::gfx::MockGLInterface* gl, GLenum target);