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 30, 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 can | |
| 20 be populated within buffers and used to modify uniform variables within | |
| 21 their programs. | |
| 22 | |
| 23 Decreases percieved latency for operations performed against these | |
| 24 uniforms. | |
| 25 | |
| 26 New Tokens | |
| 27 | |
| 28 Accepted by the <target> parameter of glBindValueBufferCHROMIUM, | |
| 29 glSubscribeValueCHROMIUM, glPopulateSubscribedValuesCHROMIUM and | |
| 30 glUniformValueBufferCHROMIUM | |
| 31 | |
| 32 SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B | |
| 33 | |
| 34 Accepted by the <subscription> parameter of glSubscribeValueCHROMIUM and | |
| 35 glUniformValueBufferCHROMIUM: | |
| 36 | |
| 37 MOUSE_POSITION_CHROMIUM 0x924C | |
| 38 | |
| 39 New Procedures and Functions | |
| 40 | |
| 41 The command | |
| 42 | |
| 43 void glCreateValuebufferCHROMIUM() | |
|
piman
2014/11/04 02:38:22
update to current implemenation? glGenValuebuffers
orglofch
2014/11/04 19:53:28
This reflects the current implementation of the us
piman
2014/11/04 21:10:06
Why do we have a different API? Let's pick one way
orglofch
2014/11/04 21:28:33
Oh I see. This is currently reflecting a WebGraphi
| |
| 44 | |
| 45 Returns a value buffer object. | |
| 46 | |
| 47 The command | |
| 48 | |
| 49 void glDeleteValuebufferCHROMIUM(GLuint buffer) | |
|
piman
2014/11/04 02:38:22
glDeleteValuebuffers, update prototype & doc
orglofch
2014/11/04 19:53:28
Same as above
| |
| 50 | |
| 51 Deletes a value buffer object. | |
| 52 <buffer> Specifies the name of a buffer object. | |
| 53 | |
| 54 The command | |
| 55 | |
| 56 boolean glIsValuebufferCHROMIUM(GLuint buffer); | |
| 57 | |
| 58 Returns whether an object is a value buffer object. | |
| 59 <buffer> Specifies the name of a buffer object. | |
| 60 | |
| 61 The command | |
| 62 | |
| 63 void glBindValuebufferCHROMIUM(GLenum target, GLuint buffer); | |
| 64 | |
| 65 Lets you use a named value buffer object. | |
| 66 <target> Specifies the target to which the buffer object is bound. | |
| 67 <buffer> Specifies the name of a buffer object. | |
| 68 | |
| 69 The command | |
| 70 | |
| 71 void glSubscribeValueCHROMIUM(GLenum target, GLenum subscription) | |
| 72 | |
| 73 Subscribes the currently bound buffer object to a subscription target. | |
| 74 <target> Specifies the target to which the buffer object is bound. | |
| 75 <subscription> Specifies the subscription to which the currently bound | |
| 76 buffer object should be subscribed. | |
| 77 | |
| 78 The command | |
| 79 | |
| 80 void glPopulateSubscribedValuesCHROMIUM(GLenum target) | |
| 81 | |
| 82 Populates the currently bound buffer object with all subscription states | |
| 83 to which it is subscribed. | |
| 84 <target> Specifies the target to which the buffer object is bound. | |
| 85 | |
| 86 The command | |
| 87 | |
| 88 void glUniformValueBufferCHROMIUM(GLint location, GLenum target, | |
| 89 GLenum subscription) | |
| 90 | |
| 91 Populates the uniform specified by location within the currently bound | |
| 92 program with the value in the currently bound buffer for the subscription | |
| 93 target. | |
| 94 <location> Specifies the location of the uniform variable to by modified. | |
| 95 <target> Specifies the target to which the buffer object is bound. | |
| 96 <subscription> Specifies the subscription in the currently bound buffer | |
| 97 whose value should be used to populate the uniform. | |
| 98 | |
| 99 Errors | |
| 100 | |
| 101 None. | |
| 102 | |
| 103 New State | |
| 104 | |
| 105 None. | |
| 106 | |
| 107 Revision History | |
| 108 | |
| 109 10/30/2014 Documented the extension | |
| OLD | NEW |