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

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

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 years, 1 month 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
« no previous file with comments | « components/exo/buffer.cc ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Name
2
3 CHROMIUM_texture_from_image
4
5 Name Strings
6
7 GL_CHROMIUM_texture_from_image
8
9 Version
10
11 Last Modified Date: October 2, 2016
12
13 Dependencies
14
15 OpenGL ES 2.0 is required.
16
17 Requires the CHROMIUM_image extension.
18
19 Overview
20
21 This extension provides a mechanism for creating image texture targets
22 from GL images.
23
24 Issues
25
26 None
27
28 New Tokens
29
30 None
31
32 New Procedures and Functions
33
34 The command
35
36 void BindTexImage2DCHROMIUM(GLenum target,
37 GLint image_id,
38 GLint fence_id)
39
40 defines a two-dimensional texture image. The texture image is taken
41 from <image_id> and need not be copied. If <fence_id> is non-zero then
42 the bind operation is deferred until the condition of the sync object
43 referenced by <fence_id> is satisfied.
44
45 INVALID_OPERATION is generated if no texture is bound to <target>.
46
47 INVALID_OPERATION is generated if <image_id> is not a valid image id.
48
49 To release an image that is being used as a texture, call
50
51 void ReleaseTexImage2DCHROMIUM(GLenum target,
52 GLint image_id)
53
54 INVALID_OPERATION is generated if no texture is bound to <target>.
55
56 INVALID_OPERATION is generated if <image_id> is not a valid image id.
57
58 Errors
59
60 None.
61
62 New State
63
64 None.
65
66 Revision History
67
68 10/2/2016 Documented the extension
OLDNEW
« no previous file with comments | « components/exo/buffer.cc ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698