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..c832919d1cb3f76cad2aea85eabe467d7b25f39b 100644 |
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
@@ -3218,6 +3218,31 @@ void GLES2Implementation::CopySubTextureCHROMIUM(GLenum target, |
CheckGLError(); |
} |
+void GLES2Implementation::CopyCompressedTextureCHROMIUM(GLenum target, |
+ GLenum source_id, |
+ GLenum dest_id, |
+ GLenum internalformat, |
+ GLenum dest_type, |
+ GLsizei source_size) { |
+ GPU_CLIENT_SINGLE_THREAD_CHECK(); |
+ GPU_CLIENT_LOG( |
+ "[" << GetLogPrefix() << "] glCopyCompressedTextureCHROMIUM(" |
+ << GLES2Util::GetStringEnum(target) << ", " |
+ << GLES2Util::GetStringEnum(source_id) << ", " |
+ << GLES2Util::GetStringEnum(dest_id) << ", " |
+ << GLES2Util::GetStringCompressedTextureFormat(internalformat) << ", " |
+ << GLES2Util::GetStringPixelType(dest_type) << ", " << source_size |
+ << ")"); |
+ if (source_size < 0) { |
+ SetGLError(GL_INVALID_VALUE, "glCopyCompressedTextureCHROMIUM", |
+ "source_size < 0"); |
+ return; |
+ } |
+ helper_->CopyCompressedTextureCHROMIUM( |
+ target, source_id, dest_id, internalformat, dest_type, source_size); |
+ CheckGLError(); |
+} |
+ |
void GLES2Implementation::GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) { |
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glGenValuebuffersCHROMIUM(" << n |
<< ", " << static_cast<const void*>(buffers) << ")"); |