| Index: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_consistent_uniform_locations.txt
|
| diff --git a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_consistent_uniform_locations.txt b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_consistent_uniform_locations.txt
|
| index 8a7d163ef0f71bb8137439158037f1f1f23d976a..e7e8907d4d5e20f93ac4021a87039616b56f96cd 100644
|
| --- a/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_consistent_uniform_locations.txt
|
| +++ b/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_consistent_uniform_locations.txt
|
| @@ -19,14 +19,13 @@ Overview
|
| This extension guarantees uniforms always have the same locations.
|
|
|
| This allows the client program to know the locations of uniforms
|
| - without having to compile the shaders, link the program and query
|
| - the locations and therefore have no blocking calls when initializing
|
| - programs.
|
| + without having to wait for shaders to compile or GLSL programs to
|
| + link to query the locations and therefore have no blocking calls
|
| + when initializing programs.
|
|
|
| To be forward compatible the locations are provided through the
|
| - function GetUniformLocationsCHROMIUM but they can be provided
|
| - even before linking a program and therefore do not have to wait
|
| - for compile or link completion to return results.
|
| + function GetUniformLocationsCHROMIUM. LinkProgram must be called
|
| + before calling GetUniformLocationsCHROMIUM.
|
|
|
| Issues
|
|
|
| @@ -40,7 +39,8 @@ New Tokens
|
|
|
| New Procedures and Functions
|
|
|
| - void GetUniformLocationsCHROMIUM (const GLUniformDefinitionCHROMIUM* uniforms,
|
| + void GetUniformLocationsCHROMIUM (GLuint program,
|
| + const GLUniformDefinitionCHROMIUM* uniforms,
|
| GLsizei count, GLsizei max_locations,
|
| GLint* locations);
|
|
|
| @@ -84,3 +84,5 @@ New State
|
| Revision History
|
|
|
| 7/17/2012 Documented the extension
|
| + 7/19/2012 Added <program> argument.
|
| +
|
|
|