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

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

Issue 659903002: Add subscribeUniform extension pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: V2 API Created 6 years, 2 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 | « no previous file | gpu/GLES2/gl2chromium_autogen.h » ('j') | gpu/GLES2/gl2extchromium.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Name
2
3 CHROMIUM_subscribe_uniform
4
5 Name Strings
6
7 CHROMIUM_subscribe_uniform
8
9 Version
10
11 Last Modifed Date: October 15, 2014
12
13 Dependencies
14
15 OpenGL ES 2.0 is required.
16
17 Overview
18
19 Allows clients to subscribe to a set of input uniforms which will be
20 populated in their shaders any time they bind a program or call
21 glPopulateUniformSubscriptionCHROMIUM.
22 Decreases percieved latency for operations performed against these
23 uniforms.
24
25 New Tokens
26
27 Accepted by the <target> parameter of SubscribeUniformChromium:
28
29 MOUSE_POSITION 0x924B
piman 2014/10/21 20:00:40 nit: MOUSE_POSITION_CHROMIUM
orglofch 2014/10/22 23:10:21 Done.
30
31 New Procedures and Functions
32
33 The command
34
35 void glSubscribeUniformCHROMIUM (GLint location, GLenum target)
36
37 Associates an internal uniform with the uniform specified be location
38 in the current bound program.
39 <location> Is the location of the uniform they wish to have populated
40 in the currently bound program.
41 <target> Is the uniform the client wants to have populated.
42
43 The command
44
45 void glPopulateUniformSubscriptionCHROMIUM ()
46
47 Activates the pending uniform state and updates the current program.
48 Subsequent calls to glUseProgram will use the updated uniform
49 state to populate their subscribed uniforms.
50 Clients should populate the uniform once per frame to maintain per
51 frame uniform consistency.
52
53 Errors
54
55 None.
56
57 New State
58
59 None.
60
61 Revision History
62
63 10/17/2014 Documented the extension
OLDNEW
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium_autogen.h » ('j') | gpu/GLES2/gl2extchromium.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698