| 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 eed99df1622e0dccd67b568e24f07d73b4b3d1e7..9a584aeead47022a4105d519712e3a188954e277 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
| @@ -3111,6 +3111,7 @@ void GLES2Implementation::GetTranslatedShaderSourceANGLE(GLuint shader,
|
| CheckGLError();
|
| }
|
| void GLES2Implementation::CopyTextureCHROMIUM(
|
| + GLenum target,
|
| GLenum source_id,
|
| GLint source_level,
|
| GLenum dest_id,
|
| @@ -3123,19 +3124,22 @@ void GLES2Implementation::CopyTextureCHROMIUM(
|
| GPU_CLIENT_SINGLE_THREAD_CHECK();
|
| GPU_CLIENT_LOG(
|
| "[" << GetLogPrefix() << "] glCopyTextureCHROMIUM("
|
| + << GLES2Util::GetStringEnum(target) << ", "
|
| << GLES2Util::GetStringEnum(source_id) << ", " << source_level << ", "
|
| << GLES2Util::GetStringEnum(dest_id) << ", " << dest_level << ", "
|
| << internalformat << ", " << GLES2Util::GetStringPixelType(dest_type)
|
| << ", " << GLES2Util::GetStringBool(unpack_flip_y) << ", "
|
| << GLES2Util::GetStringBool(unpack_premultiply_alpha) << ", "
|
| << GLES2Util::GetStringBool(unpack_unmultiply_alpha) << ")");
|
| - helper_->CopyTextureCHROMIUM(
|
| - source_id, source_level, dest_id, dest_level, internalformat, dest_type,
|
| - unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha);
|
| + helper_->CopyTextureCHROMIUM(target, source_id, source_level, dest_id,
|
| + dest_level, internalformat, dest_type,
|
| + unpack_flip_y, unpack_premultiply_alpha,
|
| + unpack_unmultiply_alpha);
|
| CheckGLError();
|
| }
|
|
|
| void GLES2Implementation::CopySubTextureCHROMIUM(
|
| + GLenum target,
|
| GLenum source_id,
|
| GLint source_level,
|
| GLenum dest_id,
|
| @@ -3152,6 +3156,7 @@ void GLES2Implementation::CopySubTextureCHROMIUM(
|
| GPU_CLIENT_SINGLE_THREAD_CHECK();
|
| GPU_CLIENT_LOG(
|
| "[" << GetLogPrefix() << "] glCopySubTextureCHROMIUM("
|
| + << GLES2Util::GetStringEnum(target) << ", "
|
| << GLES2Util::GetStringEnum(source_id) << ", " << source_level << ", "
|
| << GLES2Util::GetStringEnum(dest_id) << ", " << dest_level << ", "
|
| << xoffset << ", " << yoffset << ", " << x << ", " << y << ", "
|
| @@ -3167,10 +3172,10 @@ void GLES2Implementation::CopySubTextureCHROMIUM(
|
| SetGLError(GL_INVALID_VALUE, "glCopySubTextureCHROMIUM", "height < 0");
|
| return;
|
| }
|
| - helper_->CopySubTextureCHROMIUM(source_id, source_level, dest_id, dest_level,
|
| - xoffset, yoffset, x, y, width, height,
|
| - unpack_flip_y, unpack_premultiply_alpha,
|
| - unpack_unmultiply_alpha);
|
| + helper_->CopySubTextureCHROMIUM(
|
| + target, source_id, source_level, dest_id, dest_level, xoffset, yoffset, x,
|
| + y, width, height, unpack_flip_y, unpack_premultiply_alpha,
|
| + unpack_unmultiply_alpha);
|
| CheckGLError();
|
| }
|
|
|
|
|