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

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

Issue 2556623002: Implement GetIntegerv(SAMPLER_BINDING/TRANSFORM_FEEDBACK_BINDING) in command buffer. (Closed)
Patch Set: fix Created 4 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 ffb4dde783ddd0a7b1c3d728cdccb8e493a24973..d7f71fa8f8e9e5cc982325c33c5aafaa8753be35 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
@@ -168,6 +168,8 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> {
void DoCreateProgram(GLuint client_id, GLuint service_id);
void DoCreateShader(GLenum shader_type, GLuint client_id, GLuint service_id);
void DoFenceSync(GLuint client_id, GLuint service_id);
+ void DoCreateSampler(GLuint client_id, GLuint service_id);
+ void DoCreateTransformFeedback(GLuint client_id, GLuint service_id);
void SetBucketData(uint32_t bucket_id, const void* data, uint32_t data_size);
void SetBucketAsCString(uint32_t bucket_id, const char* str);
@@ -269,6 +271,9 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> {
void EnsureRenderbufferBound(bool expect_bind);
void DoBindTexture(GLenum target, GLuint client_id, GLuint service_id);
void DoBindVertexArrayOES(GLuint client_id, GLuint service_id);
+ void DoBindSampler(GLuint unit, GLuint client_id, GLuint service_id);
+ void DoBindTransformFeedback(
+ GLenum target, GLuint client_id, GLuint service_id);
bool DoIsBuffer(GLuint client_id);
bool DoIsFramebuffer(GLuint client_id);
@@ -286,6 +291,8 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> {
void DoDeleteRenderbuffer(GLuint client_id, GLuint service_id);
void DoDeleteShader(GLuint client_id, GLuint service_id);
void DoDeleteTexture(GLuint client_id, GLuint service_id);
+ void DoDeleteSampler(GLuint client_id, GLuint service_id);
+ void DoDeleteTransformFeedback(GLuint client_id, GLuint service_id);
void DoCompressedTexImage2D(GLenum target,
GLint level,

Powered by Google App Engine
This is Rietveld 408576698