OLD | NEW |
1 Name | 1 Name |
2 | 2 |
3 CHROMIUM_stream_texture_matrix | 3 CHROMIUM_stream_texture_matrix |
4 | 4 |
5 Name Strings | 5 Name Strings |
6 | 6 |
7 CHROMIUM_stream_texture_matrix | 7 CHROMIUM_stream_texture_matrix |
8 | 8 |
9 Version | 9 Version |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 of a stream texture. Intended for use with Android SurfaceTexture, which | 23 of a stream texture. Intended for use with Android SurfaceTexture, which |
24 doesn't provide the value until the front buffer is latched. | 24 doesn't provide the value until the front buffer is latched. |
25 | 25 |
26 New Procedures and Functions | 26 New Procedures and Functions |
27 | 27 |
28 The command | 28 The command |
29 | 29 |
30 void UniformMatrix4fvStreamTextureMatrixCHROMIUM( | 30 void UniformMatrix4fvStreamTextureMatrixCHROMIUM( |
31 GLintUniformLocation location, | 31 GLintUniformLocation location, |
32 GLbooleanFalseOnly transpose, | 32 GLbooleanFalseOnly transpose, |
33 const GLfloat* transform) | 33 const GLfloat* default_value) |
34 | 34 |
35 Updates a uniform to match the current stream texture's texture matrix | 35 Updates a uniform to match the current stream texture's texture matrix. |
36 multiplied by transform. The stream texture must be bound to the | 36 The stream texture must be bound to the GL_TEXTURE_EXTERNAL_OES target on |
37 GL_TEXTURE_EXTERNAL_OES target on the active texture unit. | 37 the active texture unit. |
38 | 38 |
39 If the bound texture is not a stream texture, then the identity matrix is | 39 If the bound texture is not a stream texture, then the default value is |
40 used instead. | 40 used instead. |
41 | 41 |
42 <location> Specifies the 4x4f uniform location to be modified. | 42 <location> Specifies the 4x4f uniform location to be modified. |
43 <transpose> Specifies whether the matrix should be transposed. | 43 <transpose> Specifies whether the matrix should be transposed. |
44 <transform> Provides an additional transform matrix that is applied | 44 <default_value> Provides the default matrix. |
45 prior to the the stream texture transformation matrix. | 45 |
| 46 The default value is a transitionary step. It will be removed. |
46 | 47 |
47 Errors | 48 Errors |
48 | 49 |
49 None. | 50 None. |
50 | 51 |
51 New State | 52 New State |
52 | 53 |
53 None. | 54 None. |
54 | 55 |
55 Revision History | 56 Revision History |
56 | 57 |
57 02/16/2016 Documented the extension | 58 02/16/2016 Documented the extension |
58 03/21/2016 Amended the interpretation of the matrix argument. | |
OLD | NEW |