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

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

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 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_;

Powered by Google App Engine
This is Rietveld 408576698