| Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc
|
| index 017402f43f91dcb60da2d93a6f2bfd908def27e3..f6e723d54e2bec72412c79a5bcc88c45bbf297e2 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc
|
| @@ -3249,10 +3249,10 @@ error::Error GLES2DecoderPassthroughImpl::DoPostSubBufferCHROMIUM(
|
| }
|
|
|
| error::Error GLES2DecoderPassthroughImpl::DoCopyTextureCHROMIUM(
|
| - GLenum source_id,
|
| + GLuint source_id,
|
| GLint source_level,
|
| GLenum dest_target,
|
| - GLenum dest_id,
|
| + GLuint dest_id,
|
| GLint dest_level,
|
| GLint internalformat,
|
| GLenum dest_type,
|
| @@ -3264,17 +3264,18 @@ error::Error GLES2DecoderPassthroughImpl::DoCopyTextureCHROMIUM(
|
| }
|
|
|
| glCopyTextureCHROMIUM(GetTextureServiceID(source_id, resources_, false),
|
| + source_level, dest_target,
|
| GetTextureServiceID(dest_id, resources_, false),
|
| - internalformat, dest_type, unpack_flip_y,
|
| + dest_level, internalformat, dest_type, unpack_flip_y,
|
| unpack_premultiply_alpha, unpack_unmultiply_alpha);
|
| return error::kNoError;
|
| }
|
|
|
| error::Error GLES2DecoderPassthroughImpl::DoCopySubTextureCHROMIUM(
|
| - GLenum source_id,
|
| + GLuint source_id,
|
| GLint source_level,
|
| GLenum dest_target,
|
| - GLenum dest_id,
|
| + GLuint dest_id,
|
| GLint dest_level,
|
| GLint xoffset,
|
| GLint yoffset,
|
| @@ -3289,16 +3290,17 @@ error::Error GLES2DecoderPassthroughImpl::DoCopySubTextureCHROMIUM(
|
| return error::kUnknownCommand;
|
| }
|
|
|
| - glCopySubTextureCHROMIUM(GetTextureServiceID(source_id, resources_, false),
|
| - GetTextureServiceID(dest_id, resources_, false),
|
| - xoffset, yoffset, x, y, width, height, unpack_flip_y,
|
| - unpack_premultiply_alpha, unpack_unmultiply_alpha);
|
| + glCopySubTextureCHROMIUM(
|
| + GetTextureServiceID(source_id, resources_, false), source_level,
|
| + dest_target, GetTextureServiceID(dest_id, resources_, false), dest_level,
|
| + xoffset, yoffset, x, y, width, height, unpack_flip_y,
|
| + unpack_premultiply_alpha, unpack_unmultiply_alpha);
|
| return error::kNoError;
|
| }
|
|
|
| error::Error GLES2DecoderPassthroughImpl::DoCompressedCopyTextureCHROMIUM(
|
| - GLenum source_id,
|
| - GLenum dest_id) {
|
| + GLuint source_id,
|
| + GLuint dest_id) {
|
| if (!feature_info_->feature_flags().chromium_copy_compressed_texture) {
|
| return error::kUnknownCommand;
|
| }
|
|
|