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

Unified Diff: gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h

Issue 2639973002: Add target argument to Copy{Sub}TextureCHROMIUM entry point (Closed)
Patch Set: use dest_target instead of target Created 3 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/client/gles2_trace_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
index f09bc335668ada43fa361a440f82e0016aedd72b..d067fc9b9f5969b111349da90586b54fc0bf9919 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -1950,6 +1950,7 @@ void GLES2TraceImplementation::PostSubBufferCHROMIUM(GLint x,
void GLES2TraceImplementation::CopyTextureCHROMIUM(
GLenum source_id,
GLint source_level,
+ GLenum dest_target,
GLenum dest_id,
GLint dest_level,
GLint internalformat,
@@ -1958,14 +1959,15 @@ void GLES2TraceImplementation::CopyTextureCHROMIUM(
GLboolean unpack_premultiply_alpha,
GLboolean unpack_unmultiply_alpha) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopyTextureCHROMIUM");
- gl_->CopyTextureCHROMIUM(source_id, source_level, dest_id, dest_level,
- internalformat, dest_type, unpack_flip_y,
+ gl_->CopyTextureCHROMIUM(source_id, source_level, dest_target, dest_id,
+ dest_level, internalformat, dest_type, unpack_flip_y,
unpack_premultiply_alpha, unpack_unmultiply_alpha);
}
void GLES2TraceImplementation::CopySubTextureCHROMIUM(
GLenum source_id,
GLint source_level,
+ GLenum dest_target,
GLenum dest_id,
GLint dest_level,
GLint xoffset,
@@ -1978,8 +1980,8 @@ void GLES2TraceImplementation::CopySubTextureCHROMIUM(
GLboolean unpack_premultiply_alpha,
GLboolean unpack_unmultiply_alpha) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CopySubTextureCHROMIUM");
- gl_->CopySubTextureCHROMIUM(source_id, source_level, dest_id, dest_level,
- xoffset, yoffset, x, y, width, height,
+ gl_->CopySubTextureCHROMIUM(source_id, source_level, dest_target, dest_id,
+ dest_level, xoffset, yoffset, x, y, width, height,
unpack_flip_y, unpack_premultiply_alpha,
unpack_unmultiply_alpha);
}

Powered by Google App Engine
This is Rietveld 408576698