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

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

Issue 11414091: gpu: also move tex parameters into mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | « no previous file | gpu/command_buffer/service/texture_definition.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_mailbox.txt
diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt
index 5a0a3580d1557f589995c63f388c48527c5d6c40..7159e645a22001e22bd076f7db82a67417ac5c0f 100644
--- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt
+++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_texture_mailbox.txt
@@ -38,13 +38,13 @@ New Procedures and Functions
void glProduceTextureCHROMIUM (GLenum target, const GLbyte *mailbox)
- Moves the image data of the currently bound texture object into the mailbox.
- The texture object is redefined as though all its levels had been resized to
- 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, as well as the immutable state. The texture object is no longer
- immutable.
+ Moves the image data and parameters of the currently bound texture object
+ into the mailbox. The texture object is redefined as though all its levels
+ had been resized to 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, 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.
@@ -73,11 +73,10 @@ New Procedures and Functions
<mailbox> identifies a GL_MAILBOX_SIZE_CHROMIUM byte sized name returned by
glGenMailboxCHROMIUM.
- 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, and the immutable state is set according to the
- contents of the mailbox.
+ Redefines the image data and parameters of the currently bound texture
+ object with the image data and parameters in the mailbox and empties the
+ mailbox. All 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.
« no previous file with comments | « no previous file | gpu/command_buffer/service/texture_definition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698