| Index: gpu/command_buffer/service/gl_utils.h
|
| diff --git a/gpu/command_buffer/service/gl_utils.h b/gpu/command_buffer/service/gl_utils.h
|
| index 9402ecaf3600dd24bdc69f16b2aead02f844113f..dcc5fe6257d45f354856151a60b9ac9d31a5a326 100644
|
| --- a/gpu/command_buffer/service/gl_utils.h
|
| +++ b/gpu/command_buffer/service/gl_utils.h
|
| @@ -24,11 +24,34 @@
|
| #define CHECK_GL_ERROR() void(0)
|
| #endif // GL_ERROR_DEBUGGING
|
|
|
| +namespace gl {
|
| +struct GLVersionInfo;
|
| +}
|
| +
|
| namespace gpu {
|
| +
|
| +struct Capabilities;
|
| +class FeatureInfo;
|
| +
|
| namespace gles2 {
|
|
|
| std::vector<int> GetAllGLErrors();
|
|
|
| +bool PrecisionMeetsSpecForHighpFloat(GLint rangeMin,
|
| + GLint rangeMax,
|
| + GLint precision);
|
| +void QueryShaderPrecisionFormat(const gl::GLVersionInfo& gl_version_info,
|
| + GLenum shader_type,
|
| + GLenum precision_type,
|
| + GLint* range,
|
| + GLint* precision);
|
| +
|
| +// Using the provided feature info, query the numeric limits of the underlying
|
| +// GL and fill in the members of the Capabilities struct. Does not perform any
|
| +// extension checks.
|
| +void PopulateNumericCapabilities(Capabilities* caps,
|
| + const FeatureInfo* feature_info);
|
| +
|
| } // gles2
|
| } // gpu
|
|
|
|
|