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

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

Issue 1565953002: Remove glCompressedCopySubTextureCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 months 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_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
index c6da4ef7b4e758bb7860793ab27a66f23e6daa4a..b751b2aad12d353e84678624f0543a1089ca0cb0 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h
@@ -4478,37 +4478,6 @@ error::Error GLES2DecoderImpl::HandleCompressedCopyTextureCHROMIUM(
return error::kNoError;
}
-error::Error GLES2DecoderImpl::HandleCompressedCopySubTextureCHROMIUM(
- uint32_t immediate_data_size,
- const void* cmd_data) {
- const gles2::cmds::CompressedCopySubTextureCHROMIUM& c =
- *static_cast<const gles2::cmds::CompressedCopySubTextureCHROMIUM*>(
- cmd_data);
- (void)c;
- GLenum target = static_cast<GLenum>(c.target);
- GLenum source_id = static_cast<GLenum>(c.source_id);
- GLenum dest_id = static_cast<GLenum>(c.dest_id);
- GLint xoffset = static_cast<GLint>(c.xoffset);
- GLint yoffset = static_cast<GLint>(c.yoffset);
- GLint x = static_cast<GLint>(c.x);
- GLint y = static_cast<GLint>(c.y);
- GLsizei width = static_cast<GLsizei>(c.width);
- GLsizei height = static_cast<GLsizei>(c.height);
- if (width < 0) {
- LOCAL_SET_GL_ERROR(GL_INVALID_VALUE, "glCompressedCopySubTextureCHROMIUM",
- "width < 0");
- return error::kNoError;
- }
- if (height < 0) {
- LOCAL_SET_GL_ERROR(GL_INVALID_VALUE, "glCompressedCopySubTextureCHROMIUM",
- "height < 0");
- return error::kNoError;
- }
- DoCompressedCopySubTextureCHROMIUM(target, source_id, dest_id, xoffset,
- yoffset, x, y, width, height);
- return error::kNoError;
-}
-
error::Error GLES2DecoderImpl::HandleProduceTextureCHROMIUMImmediate(
uint32_t immediate_data_size,
const void* cmd_data) {
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698