Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h

Issue 10078006: Revert 132934 - this change seems to break many webgl related layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
===================================================================
--- gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h (revision 132957)
+++ gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h (working copy)
@@ -300,9 +300,7 @@
bool depth_enabled,
GLuint front_stencil_mask,
GLuint back_stencil_mask,
- bool stencil_enabled,
- bool cull_face_enabled,
- bool scissor_test_enabled);
+ bool stencil_enabled);
void SetupExpectationsForApplyingDefaultDirtyState();
@@ -328,9 +326,6 @@
}
protected:
- static const int kBackBufferWidth = 128;
- static const int kBackBufferHeight = 64;
-
static const GLint kMaxTextureSize = 2048;
static const GLint kMaxCubeMapTextureSize = 256;
static const GLint kNumVertexAttribs = 16;
@@ -340,14 +335,7 @@
static const GLint kMaxFragmentUniformVectors = 16;
static const GLint kMaxVaryingVectors = 8;
static const GLint kMaxVertexUniformVectors = 128;
- static const GLint kMaxViewportWidth = 8192;
- static const GLint kMaxViewportHeight = 8192;
- static const GLint kViewportX = 0;
- static const GLint kViewportY = 0;
- static const GLint kViewportWidth = kBackBufferWidth;
- static const GLint kViewportHeight = kBackBufferHeight;
-
static const GLuint kServiceAttrib0BufferId = 801;
static const GLuint kServiceFixedAttribBufferId = 802;
@@ -372,19 +360,12 @@
static const uint32 kNewServiceId = 502;
static const uint32 kInvalidClientId = 601;
+ static const int kBackBufferWidth = 128;
+ static const int kBackBufferHeight = 64;
+
static const GLuint kServiceVertexShaderId = 321;
static const GLuint kServiceFragmentShaderId = 322;
- static const GLuint kServiceCopyTextureChromiumShaderId = 701;
- static const GLuint kServiceCopyTextureChromiumProgramId = 721;
-
- static const GLuint kServiceCopyTextureChromiumTextureBufferId = 751;
- static const GLuint kServiceCopyTextureChromiumVertexBufferId = 752;
- static const GLuint kServiceCopyTextureChromiumFBOId = 753;
- static const GLuint kServiceCopyTextureChromiumPositionAttrib = 761;
- static const GLuint kServiceCopyTextureChromiumTexAttrib = 762;
- static const GLuint kServiceCopyTextureChromiumSamplerLocation = 763;
-
static const GLsizei kNumVertices = 100;
static const GLsizei kNumIndices = 10;
static const int kValidIndexRangeStart = 1;
@@ -504,8 +485,6 @@
Buffer invalid_buffer_;
};
- void AddExpectationsForCopyTextureCHROMIUM();
-
scoped_ptr< ::testing::StrictMock<MockCommandBufferEngine> > engine_;
ContextGroup::Ref group_;
};

Powered by Google App Engine
This is Rietveld 408576698