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

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

Issue 13613006: Add a new parameter dest_type to the GL_CHROMIUM_copy_texture extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
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
(...skipping 20 matching lines...) Expand all
31 processing occurs. This is the equivalent of having neither flag set. 31 processing occurs. This is the equivalent of having neither flag set.
32 32
33 The extension also supports copying BGRA textures and copying 33 The extension also supports copying BGRA textures and copying
34 EXTERNAL_OES texture to BGRA texture, which is not explicitly 34 EXTERNAL_OES texture to BGRA texture, which is not explicitly
35 granted by EXT_texture_format_BGRA8888. 35 granted by EXT_texture_format_BGRA8888.
36 36
37 New Procedures and Functions 37 New Procedures and Functions
38 38
39 void glCopyTextureCHROMIUM (GLenum target, GLenum source_id, 39 void glCopyTextureCHROMIUM (GLenum target, GLenum source_id,
40 GLenum dest_id, GLint level, 40 GLenum dest_id, GLint level,
41 GLint internal_format) 41 GLint internal_format, GLint dest_type)
42 42
43 Copies the contents of texture referred to by <source_id> to texture 43 Copies the contents of texture referred to by <source_id> to texture
44 <dest_id>. 44 <dest_id>.
45 45
46 Texture level 0 is copied from the source image to level <level> of the 46 Texture level 0 is copied from the source image to level <level> of the
47 destination texture. 47 destination texture. The level parameter must be 0 at present.
48 48
49 The internal format of the destination texture is converted to that 49 The internal format of the destination texture is converted to that
50 specified by <internal_format> 50 specified by <internal_format>.
51
52 The format type of the destination texture is converted to that specified
53 by <dest_type>.
51 54
52 <target> uses the same parameters as TexImage2D. 55 <target> uses the same parameters as TexImage2D.
53 56
54 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D. 57 INVALID_VALUE is generated if <target> is not GL_TEXTURE_2D.
55 58
56 INVALID_VALUE is generated if <source_id> or <dest_id> are not valid texture 59 INVALID_VALUE is generated if <source_id> or <dest_id> are not valid texture
57 objects. 60 objects.
58 61
59 INVALID_VALUE is generated if textures corresponding to <dest_id> have not 62 INVALID_VALUE is generated if textures corresponding to <dest_id> have not
60 been bound as GL_TEXTURE_2D object. 63 been bound as GL_TEXTURE_2D object.
(...skipping 11 matching lines...) Expand all
72 New Tokens 75 New Tokens
73 76
74 None. 77 None.
75 78
76 New State 79 New State
77 80
78 None. 81 None.
79 82
80 Revision History 83 Revision History
81 84
82 8/1/2011 Documented the extension 85 8/1/2011 Documented the extension
Ken Russell (switch to Gerrit) 2013/04/04 19:58:28 Please describe this change in the revision histor
OLDNEW
« no previous file with comments | « content/renderer/media/renderer_gpu_video_decoder_factories.cc ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698