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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/exo/buffer.cc ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_from_image.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_from_image.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_from_image.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35346bbf3e7b6d5f556a1943efbb8359ae361b56
--- /dev/null
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_from_image.txt
@@ -0,0 +1,68 @@
+Name
+
+ CHROMIUM_texture_from_image
+
+Name Strings
+
+ GL_CHROMIUM_texture_from_image
+
+Version
+
+ Last Modified Date: October 2, 2016
+
+Dependencies
+
+ OpenGL ES 2.0 is required.
+
+ Requires the CHROMIUM_image extension.
+
+Overview
+
+ This extension provides a mechanism for creating image texture targets
+ from GL images.
+
+Issues
+
+ None
+
+New Tokens
+
+ None
+
+New Procedures and Functions
+
+ The command
+
+ void BindTexImage2DCHROMIUM(GLenum target,
+ GLint image_id,
+ GLint fence_id)
+
+ defines a two-dimensional texture image. The texture image is taken
+ from <image_id> and need not be copied. If <fence_id> is non-zero then
+ the bind operation is deferred until the condition of the sync object
+ referenced by <fence_id> is satisfied.
+
+ INVALID_OPERATION is generated if no texture is bound to <target>.
+
+ INVALID_OPERATION is generated if <image_id> is not a valid image id.
+
+ To release an image that is being used as a texture, call
+
+ void ReleaseTexImage2DCHROMIUM(GLenum target,
+ GLint image_id)
+
+ INVALID_OPERATION is generated if no texture is bound to <target>.
+
+ INVALID_OPERATION is generated if <image_id> is not a valid image id.
+
+Errors
+
+ None.
+
+New State
+
+ None.
+
+Revision History
+
+ 10/2/2016 Documented the extension
« 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