| OLD | NEW |
| 1 Name | 1 Name |
| 2 | 2 |
| 3 CHROMIUM_texture_mailbox | 3 CHROMIUM_texture_mailbox |
| 4 | 4 |
| 5 Name Strings | 5 Name Strings |
| 6 | 6 |
| 7 GL_CHROMIUM_texture_mailbox | 7 GL_CHROMIUM_texture_mailbox |
| 8 | 8 |
| 9 Version | 9 Version |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 <mailbox> returns a GL_MAILBOX_SIZE_CHROMIUM byte sized name | 36 <mailbox> returns a GL_MAILBOX_SIZE_CHROMIUM byte sized name |
| 37 | 37 |
| 38 | 38 |
| 39 void glProduceTextureCHROMIUM (GLenum target, const GLbyte *mailbox) | 39 void glProduceTextureCHROMIUM (GLenum target, const GLbyte *mailbox) |
| 40 | 40 |
| 41 Moves the image data of the currently bound texture object into the mailbox. | 41 Moves the image data of the currently bound texture object into the mailbox. |
| 42 The texture object is redefined as though all its levels had been resized to | 42 The texture object is redefined as though all its levels had been resized to |
| 43 zero by zero and the texture object is therefore incomplete. If the mailbox | 43 zero by zero and the texture object is therefore incomplete. If the mailbox |
| 44 previously contained image data, the old image data is deleted. The state | 44 previously contained image data, the old image data is deleted. The state |
| 45 of the bound texture object is not saved in the mailbox, only the image | 45 of the bound texture object is not saved in the mailbox, only the image |
| 46 data. | 46 data, as well as the immutable state. The texture object is no longer |
| 47 immutable. |
| 47 | 48 |
| 48 If glProduceTextureCHROMIUM generates an error, the associated image data | 49 If glProduceTextureCHROMIUM generates an error, the associated image data |
| 49 is preserved in the texture object. | 50 is preserved in the texture object. |
| 50 | 51 |
| 51 The mailbox is emptied and the texture image data deleted if the context | 52 The mailbox is emptied and the texture image data deleted if the context |
| 52 is destroyed before being consumed. See glConsumeTextureCHROMIUM. | 53 is destroyed before being consumed. See glConsumeTextureCHROMIUM. |
| 53 | 54 |
| 54 <target> uses the same parameters as TexImage2D. | 55 <target> uses the same parameters as TexImage2D. |
| 55 | 56 |
| 56 <mailbox> identifies a GL_MAILBOX_SIZE_CHROMIUM byte sized name returned by | 57 <mailbox> identifies a GL_MAILBOX_SIZE_CHROMIUM byte sized name returned by |
| (...skipping 11 matching lines...) Expand all Loading... |
| 68 void glConsumeTextureCHROMIUM (GLenum target, const GLbyte *mailbox) | 69 void glConsumeTextureCHROMIUM (GLenum target, const GLbyte *mailbox) |
| 69 | 70 |
| 70 <target> uses the same parameters as TexImage2D. | 71 <target> uses the same parameters as TexImage2D. |
| 71 | 72 |
| 72 <mailbox> identifies a GL_MAILBOX_SIZE_CHROMIUM byte sized name returned by | 73 <mailbox> identifies a GL_MAILBOX_SIZE_CHROMIUM byte sized name returned by |
| 73 glGenMailboxCHROMIUM. | 74 glGenMailboxCHROMIUM. |
| 74 | 75 |
| 75 Redefines the image data of the currently bound texture object with the | 76 Redefines the image data of the currently bound texture object with the |
| 76 image data in the mailbox and empties the mailbox. The state of the | 77 image data in the mailbox and empties the mailbox. The state of the |
| 77 currently bound texture object is not modified, only the image data. All | 78 currently bound texture object is not modified, only the image data. All |
| 78 levels are redefined. | 79 levels are redefined, and the immutable state is set according to the |
| 80 contents of the mailbox. |
| 79 | 81 |
| 80 If glConsumeTextureCHROMIUM generates an error, the associated image data | 82 If glConsumeTextureCHROMIUM generates an error, the associated image data |
| 81 is preserved in the texture object. | 83 is preserved in the texture object. |
| 82 | 84 |
| 83 INVALID_OPERATION is generated if <target> is not a valid target. | 85 INVALID_OPERATION is generated if <target> is not a valid target. |
| 84 | 86 |
| 85 INVALID_OPERATION is generated if <mailbox> is empty. | 87 INVALID_OPERATION is generated if <mailbox> is empty. |
| 86 | 88 |
| 87 INVALID_OPERATION is generated if <mailbox> is not in the scope of the | 89 INVALID_OPERATION is generated if <mailbox> is not in the scope of the |
| 88 context. | 90 context. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 110 | 112 |
| 111 None. | 113 None. |
| 112 | 114 |
| 113 New State | 115 New State |
| 114 | 116 |
| 115 None. | 117 None. |
| 116 | 118 |
| 117 Revision History | 119 Revision History |
| 118 | 120 |
| 119 4/25/2011 Documented the extension | 121 4/25/2011 Documented the extension |
| OLD | NEW |