| Index: gpu/command_buffer/service/context_state.h
|
| diff --git a/gpu/command_buffer/service/context_state.h b/gpu/command_buffer/service/context_state.h
|
| index b011ab2b2a445afee26039298fa3dfb64e42ff85..a9fc5d0c434378626618effc59e983a97af7b9b7 100644
|
| --- a/gpu/command_buffer/service/context_state.h
|
| +++ b/gpu/command_buffer/service/context_state.h
|
| @@ -88,6 +88,13 @@ struct GPU_EXPORT ContextState {
|
| void InitCapabilities() const;
|
| void InitState() const;
|
|
|
| + // Helper for getting cached state.
|
| + bool GetStateAsGLint(
|
| + GLenum pname, GLint* params, GLsizei* num_written) const;
|
| + bool GetStateAsGLfloat(
|
| + GLenum pname, GLfloat* params, GLsizei* num_written) const;
|
| + bool GetEnabled(GLenum cap) const;
|
| +
|
| #include "gpu/command_buffer/service/context_state_autogen.h"
|
|
|
| EnableFlags enable_flags;
|
|
|