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

Side by Side Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt

Issue 2150993002: Revert of Always apply UniformMatrix4fvStreamTextureMatrixCHROMIUM matrix argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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 unified diff | Download patch
« no previous file with comments | « cc/output/shader.cc ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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.
OLDNEW
« no previous file with comments | « cc/output/shader.cc ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698