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

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

Issue 10535174: Addition of unpremultiply setting to GL_CHROMIUM_copy_texture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Addressing review comments. Created 8 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
Index: gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
===================================================================
--- gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h (revision 141671)
+++ gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h (working copy)
@@ -18,7 +18,8 @@
void Destroy();
void DoCopyTexture(GLenum target, GLuint source_id, GLuint dest_id,
- GLint level, bool flip_y, bool premultiply_alpha);
+ GLint level, bool flip_y, bool premultiply_alpha,
+ bool unpremultiply_alpha);
// The attributes used during invocation of the extension.
static const GLuint kVertexPositionAttrib = 0;
@@ -27,7 +28,7 @@
private:
bool initialized_;
- static const int kNumPrograms = 4;
+ static const int kNumPrograms = 6;
GLuint programs_[kNumPrograms];
GLuint buffer_ids_[2];
GLuint framebuffer_;
« no previous file with comments | « gpu/command_buffer/service/gl_utils.h ('k') | 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