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* default_value) | 33 const GLfloat* transform) |
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 The stream texture must be bound to the GL_TEXTURE_EXTERNAL_OES target on | 36 multiplied by transform. The stream texture must be bound to the |
37 the active texture unit. | 37 GL_TEXTURE_EXTERNAL_OES target on the active texture unit. |
38 | 38 |
39 If the bound texture is not a stream texture, then the default value is | 39 If the bound texture is not a stream texture, then the identity matrix 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 <default_value> Provides the default matrix. | 44 <transform> Provides an additional transform matrix that is applied |
45 | 45 prior to the the stream texture transformation matrix. |
46 The default value is a transitionary step. It will be removed. | |
47 | 46 |
48 Errors | 47 Errors |
49 | 48 |
50 None. | 49 None. |
51 | 50 |
52 New State | 51 New State |
53 | 52 |
54 None. | 53 None. |
55 | 54 |
56 Revision History | 55 Revision History |
57 | 56 |
58 02/16/2016 Documented the extension | 57 02/16/2016 Documented the extension |
| 58 03/21/2016 Amended the interpretation of the matrix argument. |
OLD | NEW |