+class OpenGLBuffer;
+class OpenGLPipelineState;
+class OpenGLTexture;
+
+struct OpenGLDeviceState
+{
+ const OpenGLPipelineState *last_pipeline = 0;
+ std::vector<int> bound_tex_targets;
+ std::vector<char> bound_uniform_blocks;
+ unsigned restart_index = 0;
+ unsigned n_clip_distances = 0;
+ const OpenGLBuffer *scratch_buffer = 0;
+ const OpenGLTexture *scratch_texture = 0;
+};
+