diff options
Diffstat (limited to 'gpu/command_buffer/service/test_helper.h')
-rw-r--r-- | gpu/command_buffer/service/test_helper.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gpu/command_buffer/service/test_helper.h b/gpu/command_buffer/service/test_helper.h index 6c6dcd0..ec563315 100644 --- a/gpu/command_buffer/service/test_helper.h +++ b/gpu/command_buffer/service/test_helper.h @@ -15,11 +15,13 @@ struct DisallowedFeatures; class TestHelper { public: static const GLuint kServiceBlackTexture2dId = 701; - static const GLuint kServiceBlackTextureCubemapId = 702; - static const GLuint kServiceDefaultTexture2dId = 703; + static const GLuint kServiceDefaultTexture2dId = 702; + static const GLuint kServiceBlackTextureCubemapId = 703; static const GLuint kServiceDefaultTextureCubemapId = 704; - static const GLuint kServiceDefaultExternalTextureId = 705; - static const GLuint kServiceBlackExternalTextureId = 706; + static const GLuint kServiceBlackExternalTextureId = 705; + static const GLuint kServiceDefaultExternalTextureId = 706; + static const GLuint kServiceBlackRectangleTextureId = 707; + static const GLuint kServiceDefaultRectangleTextureId = 708; static const GLint kMaxSamples = 4; static const GLint kMaxRenderbufferSize = 1024; @@ -45,6 +47,9 @@ class TestHelper { ::gfx::MockGLInterface* gl, const char* extensions); static void SetupTextureManagerInitExpectations(::gfx::MockGLInterface* gl, const char* extensions); + private: + static void SetupTextureInitializationExpectations(::gfx::MockGLInterface* gl, + GLenum target); }; } // namespace gles2 |