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

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

Issue 1144103006: gpu: Avoid scissor test for glCopyTextureCHROMIUM if possible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
diff --git a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
index 8cba517052abd4749c1198fc7545bab66fd1b942..1910d3b1b35b72e71897629ee2d0f5434e390850 100644
--- a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
+++ b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
@@ -98,6 +98,10 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager {
GLuint dest_id,
GLint xoffset,
GLint yoffset,
+ GLint x,
+ GLint y,
+ GLsizei width,
+ GLsizei height,
GLsizei dest_width,
GLsizei dest_height,
GLsizei source_width,
@@ -105,11 +109,7 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager {
bool flip_y,
bool premultiply_alpha,
bool unpremultiply_alpha,
- const GLfloat transform_matrix[16],
- GLint scissor_x,
- GLint scissor_y,
- GLsizei scissor_width,
- GLsizei scissor_height);
+ const GLfloat transform_matrix[16]);
bool initialized_;
typedef std::vector<GLuint> ShaderVector;
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698