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

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

Issue 9968113: Addition of GL_CHROMIUM_copy_texture extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove unnecessary white-space. Created 8 years, 8 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')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 Name
2
3 CHROMIUM_copy_texture
4
5 Name Strings
6
7 GL_CHROMIUM_copy_texture
8
9 Version
10
11 Last Modifed Date: April 3, 2012
12
13 Dependencies
14
15 OpenGL ES 2.0 is required.
16
17 CHROMIUM_flipy affects the definition of this extension.
18 EXT_texture_format_BGRA8888 affects the definition of this extension.
19
20 Overview
21
22 This extension expands on the functionality provided by the
23 glCopyTexImage2D command. A new function is exported,
24 glCopyTextureCHROMIUM, that performs the same copy operation as
25 glCopyTexImage2D, while respecting the pixel-storage modifiers
26 UNPACK_FLIP_Y_CHROMIUM and GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM.
27
28 The extension also supports copying BGRA textures, which is not explicitly
29 granted by EXT_texture_format_BGRA8888.
30
31 New Procedures and Functions
32
33 void glCopyTextureCHROMIUM (GLenum target, GLenum source_id,
34 GLenum dest_id, GLint level)
35
36 Copies the contents of texture referred to by <source_id> to texture
37 <dest_id>.
38
39 Texture level 0 is copied from the source image to level <level> of the
40 destination texture.
41
42 <target> uses the same parameters as TexImage2D.
43
44 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D.
45
46 INVALID_VALUE is generated if <source_id> or <dest_id> are not valid texture
47 objects.
48
49 INVALID_VALUE is generated if <level> is not a valid level of the
50 destination texture, or if level 0 of the source texture is not defined.
51
52 Errors
53
54 None.
55
56 New Tokens
57
58 None.
59
60 New State
61
62 None.
63
64 Revision History
65
66 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