webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Attributes | List of all members
gl::ValidationContext Class Referenceabstract

#include <ContextState.h>

Inheritance diagram for gl::ValidationContext:
angle::NonCopyable gl::Context

Public Member Functions

 ValidationContext (GLint clientMajorVersion, GLint clientMinorVersion, State *state, const Caps &caps, const TextureCapsMap &textureCaps, const Extensions &extensions, const ResourceManager *resourceManager, const Limitations &limitations, bool skipValidation)
 
virtual ~ValidationContext ()
 
virtual void handleError (const Error &error)=0
 
const ContextState & getContextState () const
 
int getClientMajorVersion () const
 
int getClientMinorVersion () const
 
const GLVersion & getGLVersion () const
 
const State & getGLState () const
 
const Caps & getCaps () const
 
const TextureCapsMap & getTextureCaps () const
 
const Extensions & getExtensions () const
 
const Limitations & getLimitations () const
 
bool skipValidation () const
 
bool getQueryParameterInfo (GLenum pname, GLenum *type, unsigned int *numParams)
 
bool getIndexedQueryParameterInfo (GLenum target, GLenum *type, unsigned int *numParams)
 
Program * getProgram (GLuint handle) const
 
Shader * getShader (GLuint handle) const
 

Protected Attributes

ContextState mState
 
bool mSkipValidation
 

Constructor & Destructor Documentation

◆ ValidationContext()

gl::ValidationContext::ValidationContext ( GLint  clientMajorVersion,
GLint  clientMinorVersion,
State *  state,
const Caps &  caps,
const TextureCapsMap &  textureCaps,
const Extensions &  extensions,
const ResourceManager *  resourceManager,
const Limitations &  limitations,
bool  skipValidation 
)

◆ ~ValidationContext()

virtual gl::ValidationContext::~ValidationContext ( )
inlinevirtual

Member Function Documentation

◆ getCaps()

const Caps& gl::ValidationContext::getCaps ( ) const
inline

◆ getClientMajorVersion()

int gl::ValidationContext::getClientMajorVersion ( ) const
inline

◆ getClientMinorVersion()

int gl::ValidationContext::getClientMinorVersion ( ) const
inline

◆ getContextState()

const ContextState& gl::ValidationContext::getContextState ( ) const
inline

◆ getExtensions()

const Extensions& gl::ValidationContext::getExtensions ( ) const
inline

◆ getGLState()

const State& gl::ValidationContext::getGLState ( ) const
inline

◆ getGLVersion()

const GLVersion& gl::ValidationContext::getGLVersion ( ) const
inline

◆ getIndexedQueryParameterInfo()

bool gl::ValidationContext::getIndexedQueryParameterInfo ( GLenum  target,
GLenum *  type,
unsigned int *  numParams 
)

◆ getLimitations()

const Limitations& gl::ValidationContext::getLimitations ( ) const
inline

◆ getProgram()

Program * gl::ValidationContext::getProgram ( GLuint  handle) const

◆ getQueryParameterInfo()

bool gl::ValidationContext::getQueryParameterInfo ( GLenum  pname,
GLenum *  type,
unsigned int *  numParams 
)

◆ getShader()

Shader * gl::ValidationContext::getShader ( GLuint  handle) const

◆ getTextureCaps()

const TextureCapsMap& gl::ValidationContext::getTextureCaps ( ) const
inline

◆ handleError()

virtual void gl::ValidationContext::handleError ( const Error &  error)
pure virtual

Implemented in gl::Context.

◆ skipValidation()

bool gl::ValidationContext::skipValidation ( ) const
inline

Member Data Documentation

◆ mSkipValidation

bool gl::ValidationContext::mSkipValidation
protected

◆ mState

ContextState gl::ValidationContext::mState
protected

The documentation for this class was generated from the following files: