summaryrefslogtreecommitdiffstats
path: root/gpu/GLES2
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-25 02:04:33 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-25 02:04:33 +0000
commit6d04d282ddbf9f69ade8c124459e6877fe085e38 (patch)
treefddc2a63627f9c7eeda538ca50f9beb2f5aadb8c /gpu/GLES2
parent845260ab832a2f719972be9acc97f73bfce522ce (diff)
downloadchromium_src-6d04d282ddbf9f69ade8c124459e6877fe085e38.zip
chromium_src-6d04d282ddbf9f69ade8c124459e6877fe085e38.tar.gz
chromium_src-6d04d282ddbf9f69ade8c124459e6877fe085e38.tar.bz2
Allow immutable textures into mailboxes
BUG=None Review URL: https://chromiumcodereview.appspot.com/10984009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158496 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/GLES2')
-rw-r--r--gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt
index 01b3edc..5a0a358 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt
@@ -43,7 +43,8 @@ New Procedures and Functions
zero by zero and the texture object is therefore incomplete. If the mailbox
previously contained image data, the old image data is deleted. The state
of the bound texture object is not saved in the mailbox, only the image
- data.
+ data, as well as the immutable state. The texture object is no longer
+ immutable.
If glProduceTextureCHROMIUM generates an error, the associated image data
is preserved in the texture object.
@@ -75,7 +76,8 @@ New Procedures and Functions
Redefines the image data of the currently bound texture object with the
image data in the mailbox and empties the mailbox. The state of the
currently bound texture object is not modified, only the image data. All
- levels are redefined.
+ levels are redefined, and the immutable state is set according to the
+ contents of the mailbox.
If glConsumeTextureCHROMIUM generates an error, the associated image data
is preserved in the texture object.