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

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

Issue 1309743005: command_buffer: Implement EXT_blend_func_extended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: address review comments Created 5 years, 3 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
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
index 4b9ce5107e14197ecbe3b3bc05dae8dcda6e472c..6ebc140aa5415a4fac331eeab807e242fa554aa7 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
@@ -580,6 +580,13 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> {
static const GLint kInvalidUniformLocation = 30;
static const GLint kBadUniformIndex = 1000;
+ static const GLint kOutputVariable1Size = 0;
+ static const GLenum kOutputVariable1Type = GL_FLOAT_VEC4;
+ static const GLuint kOutputVariable1ColorName = 7;
+ static const GLuint kOutputVariable1Index = 0;
+ static const char* kOutputVariable1Name;
+ static const char* kOutputVariable1NameESSL3;
+
// Use StrictMock to make 100% sure we know how GL will be called.
scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_;
scoped_refptr<gfx::GLSurfaceStub> surface_;
@@ -638,6 +645,8 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> {
EnableFlags enable_flags_;
+ int shader_language_version_;
+
private:
class MockCommandBufferEngine : public CommandBufferEngine {
public:

Powered by Google App Engine
This is Rietveld 408576698