Index: gpu/command_buffer/client/gles2_implementation_autogen.h |
diff --git a/gpu/command_buffer/client/gles2_implementation_autogen.h b/gpu/command_buffer/client/gles2_implementation_autogen.h |
index 7ecd17dc2a95368e4d0a53705f903f4298618987..57835fbc7ebc75dce704c62497f2e161e3e2cb23 100644 |
--- a/gpu/command_buffer/client/gles2_implementation_autogen.h |
+++ b/gpu/command_buffer/client/gles2_implementation_autogen.h |
@@ -498,5 +498,17 @@ virtual void ConsumeTextureCHROMIUM( |
virtual void BindUniformLocationCHROMIUM( |
GLuint program, GLint location, const char* name) OVERRIDE; |
+void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
+ GPU_CLIENT_SINGLE_THREAD_CHECK(); |
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glBindTexImage2DCHROMIUM(" << GLES2Util::GetStringTextureBindTarget(target) << ", " << imageId << ")"); // NOLINT |
+ helper_->BindTexImage2DCHROMIUM(target, imageId); |
+} |
+ |
+void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { |
+ GPU_CLIENT_SINGLE_THREAD_CHECK(); |
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glReleaseTexImage2DCHROMIUM(" << GLES2Util::GetStringTextureBindTarget(target) << ", " << imageId << ")"); // NOLINT |
+ helper_->ReleaseTexImage2DCHROMIUM(target, imageId); |
+} |
+ |
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ |