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 23 matching lines...) Expand all Loading... |
34 might not span multiple displays. | 34 might not span multiple displays. |
35 | 35 |
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 and parameters of the currently bound texture object | 41 Moves the image data and parameters of the currently bound texture object |
42 into the mailbox. The texture object is redefined as though all its levels | 42 into the mailbox. The texture object is redefined as though all its levels |
43 had been resized to zero by zero and the texture object is therefore | 43 had been resized to zero by zero and the texture object is therefore |
44 incomplete. If the mailbox previously contained image data, the old image | 44 incomplete. The texture object parameters are undefined. The texture |
45 data is deleted. The state of the bound texture object is not saved in the | 45 object is no longer immutable. If the mailbox previously contained image |
46 mailbox, only the image data, as well as the immutable state. The texture | 46 data, the old image data is deleted. |
47 object is no longer immutable. | |
48 | 47 |
49 If glProduceTextureCHROMIUM generates an error, the associated image data | 48 If glProduceTextureCHROMIUM generates an error, the associated image data |
50 is preserved in the texture object. | 49 and state is preserved in the texture object. |
51 | 50 |
52 The mailbox is emptied and the texture image data deleted if the context | 51 The mailbox is emptied and the texture image data deleted if the context |
53 is destroyed before being consumed. See glConsumeTextureCHROMIUM. | 52 is destroyed before being consumed. See glConsumeTextureCHROMIUM. |
54 | 53 |
55 <target> uses the same parameters as TexImage2D. | 54 <target> uses the same parameters as TexImage2D. |
56 | 55 |
57 <mailbox> identifies a GL_MAILBOX_SIZE_CHROMIUM byte sized name returned by | 56 <mailbox> identifies a GL_MAILBOX_SIZE_CHROMIUM byte sized name returned by |
58 glGenMailboxCHROMIUM. | 57 glGenMailboxCHROMIUM. |
59 | 58 |
60 INVALID_OPERATION is generated if <target> is not a valid target. | 59 INVALID_OPERATION is generated if <target> is not a valid target. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 110 |
112 None. | 111 None. |
113 | 112 |
114 New State | 113 New State |
115 | 114 |
116 None. | 115 None. |
117 | 116 |
118 Revision History | 117 Revision History |
119 | 118 |
120 4/25/2011 Documented the extension | 119 4/25/2011 Documented the extension |
OLD | NEW |