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 459f1e0ec35845698703bb152da96584316958de..6d6ddd26d453f1a9393adf69ef0546b0b7f26b90 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h |
@@ -131,6 +131,15 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> { |
return decoder_->GetQueryManager()->GetQuery(client_id); |
} |
+ bool GetSamplerServiceId(GLuint client_id, GLuint* service_id) const { |
+ return group_->GetSamplerServiceId(client_id, service_id); |
+ } |
+ |
+ bool GetTransformFeedbackServiceId( |
+ GLuint client_id, GLuint* service_id) const { |
+ return group_->GetTransformFeedbackServiceId(client_id, service_id); |
+ } |
+ |
// This name doesn't match the underlying function, but doing it this way |
// prevents the need to special-case the unit test generation |
VertexAttribManager* GetVertexArrayInfo(GLuint client_id) { |
@@ -427,10 +436,12 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> { |
static const GLuint kServiceRenderbufferId = 303; |
static const GLuint kServiceTextureId = 304; |
static const GLuint kServiceProgramId = 305; |
- static const GLuint kServiceShaderId = 306; |
+ static const GLuint kServiceSamplerId = 306; |
+ static const GLuint kServiceShaderId = 307; |
static const GLuint kServiceElementBufferId = 308; |
static const GLuint kServiceQueryId = 309; |
static const GLuint kServiceVertexArrayId = 310; |
+ static const GLuint kServiceTransformFeedbackId = 311; |
static const int32 kSharedMemoryId = 401; |
static const size_t kSharedBufferSize = 2048; |
@@ -520,6 +531,7 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> { |
GLuint client_framebuffer_id_; |
GLuint client_program_id_; |
GLuint client_renderbuffer_id_; |
+ GLuint client_sampler_id_; |
GLuint client_shader_id_; |
GLuint client_texture_id_; |
GLuint client_element_buffer_id_; |
@@ -528,6 +540,7 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> { |
GLuint client_query_id_; |
GLuint client_vertexarray_id_; |
GLuint client_valuebuffer_id_; |
+ GLuint client_transformfeedback_id_; |
uint32 shared_memory_id_; |
uint32 shared_memory_offset_; |