3 CHROMIUM_subscribe_uniform
7 CHROMIUM_subscribe_uniform
11 Last Modifed Date: October 30, 2014
15 OpenGL ES 2.0 is required.
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
23 Decreases percieved latency for operations performed against these
28 Accepted by the <target> parameter of glBindValueBufferCHROMIUM,
29 glSubscribeValueCHROMIUM, glPopulateSubscribedValuesCHROMIUM and
30 glUniformValueBufferCHROMIUM
32 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B
34 Accepted by the <subscription> parameter of glSubscribeValueCHROMIUM and
35 glUniformValueBufferCHROMIUM:
37 GL_MOUSE_POSITION_CHROMIUM 0x924C
39 New Procedures and Functions
43 void glGenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers)
45 Generates value buffer object names.
46 <n> Specifies the number of value buffer object names to be generated.
47 <buffers> Specifies an array in which the generated value buffer object
52 void glDeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers)
54 Deletes named value buffer objects.
55 <n> Specifies the number of value buffer objects to be deleted.
56 <buffers> Specifies an array of value buffer objects to be deleted.
60 boolean glIsValuebufferCHROMIUM(GLuint buffer);
62 Returns whether an object is a value buffer object.
63 <buffer> Specifies the name of a buffer object.
67 void glBindValuebufferCHROMIUM(GLenum target, GLuint buffer);
69 Lets you use a named value buffer object.
70 <target> Specifies the target to which the buffer object is bound.
71 <buffer> Specifies the name of a buffer object.
75 void glSubscribeValueCHROMIUM(GLenum target, GLenum subscription)
77 Subscribes the currently bound buffer object to a subscription target.
78 <target> Specifies the target to which the buffer object is bound.
79 <subscription> Specifies the subscription to which the currently bound
80 buffer object should be subscribed.
84 void glPopulateSubscribedValuesCHROMIUM(GLenum target)
86 Populates the currently bound buffer object with all subscription states
87 to which it is subscribed.
88 <target> Specifies the target to which the buffer object is bound.
92 void glUniformValueBufferCHROMIUM(GLint location, GLenum target,
95 Populates the uniform specified by location within the currently bound
96 program with the value in the currently bound buffer for the subscription
98 <location> Specifies the location of the uniform variable to by modified.
99 <target> Specifies the target to which the buffer object is bound.
100 <subscription> Specifies the subscription in the currently bound buffer
101 whose value should be used to populate the uniform.
113 10/30/2014 Documented the extension