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

Unified Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt

Issue 2207253002: Unbind video texture from mailbox after copying to WebGL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt
index 9cc8c8691ebc3b36575884fac99b92ad5ceda532..d5bbff8ab118dd06d1e48952cc08caa72a1ad34f 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt
@@ -8,7 +8,7 @@ Name Strings
Version
- Last Modifed Date: June 2, 2014
+ Last Modifed Date: August 3, 2016
Dependencies
@@ -69,7 +69,9 @@ New Procedures and Functions
Associates the specified texture object with the mailbox name. Performs
identically to glProduceTextureCHROMIUM except that the texture specified by
<texture> is used instead of the currently bound texture. This operation
- does not change the texture bindings or alter the bound texture in any way.
+ does not change the texture bindings or alter the bound texture in any
+ way. If <texture> is 0 then any previous association of the mailbox with a
+ texture object is broken and no new association is created.
<texture> Specifies the name of a texture.
@@ -141,3 +143,4 @@ Revision History
sharing.
6/02/2014 Added glProduceTextureDirectCHROMIUM and
glCreateAndConsumeTextureCHROMIUM definitions.
+ 8/03/2016 Allow unbinding mailbox using glProduceTextureDirectCHROMIUM.
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698