Public Member Functions

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

Static Public Member Functions


Protected Member Functions

  • void
    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