Index: gpu/command_buffer/common/gles2_cmd_format.h |
diff --git a/gpu/command_buffer/common/gles2_cmd_format.h b/gpu/command_buffer/common/gles2_cmd_format.h |
index 365d34a184418635b2e2625d096a1291db3adc75..944edfd5d0c639a497b95107e9a8ff4f197da49a 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_format.h |
+++ b/gpu/command_buffer/common/gles2_cmd_format.h |
@@ -186,6 +186,22 @@ struct TransformFeedbackVaryingsHeader { |
// TransformFeedbackVaryingInfo varyings[num_transform_feedback_varyings]; |
}; |
+// Parameters of a uniform that can be queried through glGetActiveUniformsiv, |
+// but not through glGetActiveUniform. |
+struct UniformES3Info { |
+ int32_t block_index; |
+ int32_t offset; |
+ int32_t array_stride; |
+ int32_t matrix_stride; |
+ int32_t is_row_major; |
+}; |
+ |
+// The format of the bucket filled out by GetUniformsivES3CHROMIUM |
+struct UniformsES3Header { |
+ uint32_t num_uniforms; |
+ // UniformES3Info uniforms[num_uniforms]; |
+}; |
+ |
// The format of QuerySync used by EXT_occlusion_query_boolean |
struct QuerySync { |
void Reset() { |