summaryrefslogtreecommitdiff
path: root/chromium/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt')
-rw-r--r--chromium/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/chromium/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt b/chromium/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt
index 1744f89588c..62626cf8359 100644
--- a/chromium/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt
+++ b/chromium/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt
@@ -23,6 +23,8 @@ Overview
of a stream texture. Intended for use with Android SurfaceTexture, which
doesn't provide the value until the front buffer is latched.
+ Also allows hints about whether an image could be promoted to an overlay.
+
New Procedures and Functions
The command
@@ -44,6 +46,29 @@ New Procedures and Functions
<transform> Provides an additional transform matrix that is applied
prior to the the stream texture transformation matrix.
+ The command
+
+ void OverlayPromotionHintCHROMIUM(
+ GLuint texture,
+ GLboolean promotion_hint,
+ GLint display_x,
+ GLint display_y)
+
+ Provides a hint about whether the GLImage bound to texture could be promoted
+ to an overlay or not.
+
+ <texture> is the texture id, which should have a stream texture image bound
+ to it.
+ <promotion_hint> indicates whether the GLImage could be promoted.
+ <display_x> is the x coordinate of the origin of the overlay if the image
+ could be promoted. Otherwise, it is 0.
+ <display_y> is the y coordinate of the origin of the overlay if the image
+ could be promoted. Otherwise, it is 0.
+
+
+ If <texture> is not a valid texture, or if it doesn't have a stream texture
+ image bound to it, then no action is taken.
+
Errors
None.