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

Side by Side Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Name 1 Name
2 2
3 CHROMIUM_copy_texture 3 CHROMIUM_copy_texture
4 4
5 Name Strings 5 Name Strings
6 6
7 GL_CHROMIUM_copy_texture 7 GL_CHROMIUM_copy_texture
8 8
9 Version 9 Version
10 10
11 Last Modifed Date: April 3, 2012 11 Last Modifed Date: April 3, 2012
12 12
13 Dependencies 13 Dependencies
14 14
15 OpenGL ES 2.0 is required. 15 OpenGL ES 2.0 is required.
16 16
17 CHROMIUM_flipy affects the definition of this extension. 17 CHROMIUM_flipy affects the definition of this extension.
18 EXT_texture_format_BGRA8888 affects the definition of this extension. 18 EXT_texture_format_BGRA8888 affects the definition of this extension.
19 19
20 Overview 20 Overview
21 21
22 This extension expands on the functionality provided by the 22 This extension expands on the functionality provided by the
23 glCopyTexImage2D command. A new function is exported, 23 glCopyTexImage2D command. A new function is exported,
24 glCopyTextureCHROMIUM, that performs the same copy operation as 24 glCopyTextureCHROMIUM, that performs the same copy operation as
25 glCopyTexImage2D, while respecting the pixel-storage modifiers 25 glCopyTexImage2D, while respecting the pixel-storage modifiers
26 UNPACK_FLIP_Y_CHROMIUM and GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM. 26 UNPACK_FLIP_Y_CHROMIUM, GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM and
27 GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM.
28
29 If GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM and
30 GL_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM are enabled. Then no alpha
31 processing occurs. This is the equivalent of having neither flag set.
27 32
28 The extension also supports copying BGRA textures, which is not explicitly 33 The extension also supports copying BGRA textures, which is not explicitly
29 granted by EXT_texture_format_BGRA8888. 34 granted by EXT_texture_format_BGRA8888.
30 35
31 New Procedures and Functions 36 New Procedures and Functions
32 37
33 void glCopyTextureCHROMIUM (GLenum target, GLenum source_id, 38 void glCopyTextureCHROMIUM (GLenum target, GLenum source_id,
34 GLenum dest_id, GLint level, 39 GLenum dest_id, GLint level,
35 GLint internal_format) 40 GLint internal_format)
36 41
(...skipping 27 matching lines...) Expand all
64 69
65 None. 70 None.
66 71
67 New State 72 New State
68 73
69 None. 74 None.
70 75
71 Revision History 76 Revision History
72 77
73 8/1/2011 Documented the extension 78 8/1/2011 Documented the extension
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698