Public Member Functions

  • ~Context ()
  • bindGlslProg (GlslProgRef &prog)
  • pushGlslProg (GlslProgRef &prog)
  • sanityCheck ()
  • printState (std::ostream &os) const
  • setCurrentColor (const ColorAf &color)
  • getStockShader (const ShaderDef &shaderDef)
  • setDefaultShaderVars ()

Static Public Member Functions


Protected Member Functions

  • allocateDefaultVboAndVao ()

Protected Attributes

  • std::map< ShaderDef, GlslProgRef >
    mStockShaders
  • std::map< GLenum, std::vector< int > >
    mBufferBindingStack
  • std::map< GLenum, std::vector< int > >
    mRenderbufferBindingStack
  • std::vector< const GlslProg * >
    mGlslProgStack
  • std::vector< Vao * >
    mVaoStack
  • std::vector< GLint >
    mBlendSrcRgbStack
  • std::vector< GLint >
    mBlendDstRgbStack
  • std::vector< GLint >
    mBlendSrcAlphaStack
  • std::vector< GLint >
    mBlendDstAlphaStack
  • std::vector< GLint >
    mFramebufferStack
  • std::vector< GLenum >
    mCullFaceStack
  • std::vector< GLenum >
    mFrontFaceStack
  • std::vector< GLenum >
    mLogicOpStack
  • std::vector< GLenum >
    mPolygonModeStack
  • std::vector< GLboolean >
    mDepthMaskStack
  • std::vector< GLenum >
    mDepthFuncStack
  • std::map< GLenum, std::vector< GLboolean > >
    mBoolStateStack
  • std::map< uint8_t, std::map< GLenum, std::vector< GLint > > >
    mTextureBindingStack
  • std::vector< uint8_t >
    mActiveTextureStack
  • mDefaultVao
  • mDefaultArrayVbo [4]
  • mDefaultElementVbo
  • uint8_t
    mDefaultArrayVboIdx
  • mImmediateMode
  • mDrawTextureVao
  • mDrawTextureVbo

Friends