Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 automatically populated in their Shaders by the GPU Service. | |
|
piman
2014/10/16 02:39:18
automatically populated when?
orglofch
2014/10/21 04:19:38
Updated to reflect new API.
| |
| 21 Decreases percieved latency for operations performed against these | |
| 22 uniforms. | |
| 23 | |
| 24 New Tokens | |
| 25 | |
| 26 Accepted by the <target> parameter of SubscribeUniformChromium: | |
| 27 | |
| 28 MOUSE_POSITION 0x924B | |
| 29 MOUSE_DELTA 0x924C | |
| 30 | |
| 31 New Procedures and Functions | |
| 32 | |
| 33 The command | |
| 34 | |
| 35 void glSubscribeUniformCHROMIUM (GLenum target, const GLchar* name) | |
| 36 | |
| 37 Associates an internal uniform with a supplied name. The name will be | |
| 38 the name given to the uniform and used to populate it internally. | |
| 39 <target> Is the uniform the client wants to have populated. | |
| 40 <name> Is the name the client wants to use for the uniform. | |
|
piman
2014/10/16 02:39:17
Uniform of which shader/program? The current one?
orglofch
2014/10/21 04:19:38
Updated to reflect new API.
| |
| 41 | |
| 42 Errors | |
| 43 | |
| 44 None. | |
| 45 | |
| 46 New State | |
| 47 | |
| 48 None. | |
| 49 | |
| 50 Revision History | |
| 51 | |
| 52 10/15/2014 Documented the extension | |
| OLD | NEW |