Index: gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
index 652855463872b846b567cfd56d696e1277866795..14fb25db06df0bd5a676de208354e54baff3611a 100644 |
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
@@ -3218,6 +3218,28 @@ void GLES2Implementation::CopySubTextureCHROMIUM(GLenum target, |
CheckGLError(); |
} |
+void GLES2Implementation::CompressedCopyTextureCHROMIUM(GLenum target, |
+ GLenum source_id, |
+ GLenum dest_id, |
+ GLenum internalformat, |
+ GLsizei source_size) { |
+ GPU_CLIENT_SINGLE_THREAD_CHECK(); |
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glCompressedCopyTextureCHROMIUM(" |
+ << GLES2Util::GetStringEnum(target) << ", " |
+ << GLES2Util::GetStringEnum(source_id) << ", " |
+ << GLES2Util::GetStringEnum(dest_id) << ", " |
+ << GLES2Util::GetStringCompressedTextureFormat( |
+ internalformat) << ", " << source_size << ")"); |
+ if (source_size < 0) { |
+ SetGLError(GL_INVALID_VALUE, "glCompressedCopyTextureCHROMIUM", |
+ "source_size < 0"); |
+ return; |
+ } |
+ helper_->CompressedCopyTextureCHROMIUM(target, source_id, dest_id, |
+ internalformat, source_size); |
+ CheckGLError(); |
+} |
+ |
void GLES2Implementation::GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) { |
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glGenValuebuffersCHROMIUM(" << n |
<< ", " << static_cast<const void*>(buffers) << ")"); |