-#ifndef PIPELINESTATE_H_
-#define PIPELINESTATE_H_
+#ifndef MSP_GL_PIPELINESTATE_H_
+#define MSP_GL_PIPELINESTATE_H_
#include <vector>
#include <msp/core/noncopyable.h>
class Texture;
class UniformBlock;
class VertexSetup;
-class WindingTest;
class PipelineState: public NonCopyable
{
static const PipelineState *last_applied;
static std::vector<int> bound_tex_targets;
+ static std::vector<char> bound_uniform_blocks;
+ static unsigned restart_index;
public:
PipelineState();
void set_stencil_test(const StencilTest *);
void set_blend(const Blend *);
+ const Framebuffer *get_framebuffer() const { return framebuffer; }
const Program *get_shader_program() const { return shprog; }
const VertexSetup *get_vertex_setup() const { return vertex_setup; }
FaceWinding get_front_face() const { return front_face; }