webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
IndexedPointsTest< IndexType, IndexTypeName > Class Template Reference
Inheritance diagram for IndexedPointsTest< IndexType, IndexTypeName >:
ANGLETest

Protected Member Functions

 IndexedPointsTest ()
 
float getIndexPositionX (size_t idx)
 
float getIndexPositionY (size_t idx)
 
virtual void SetUp ()
 
virtual void TearDown ()
 
void runTest (GLuint firstIndex, bool useVertexBufferWithColor=false)
 
- Protected Member Functions inherited from ANGLETest
 ANGLETest ()
 
 ~ANGLETest ()
 
virtual void swapBuffers ()
 
void setupQuadVertexBuffer (GLfloat positionAttribZ, GLfloat positionAttribXYScale)
 
void setupIndexedQuadVertexBuffer (GLfloat positionAttribZ, GLfloat positionAttribXYScale)
 
void drawQuad (GLuint program, const std::string &positionAttribName, GLfloat positionAttribZ)
 
void drawQuad (GLuint program, const std::string &positionAttribName, GLfloat positionAttribZ, GLfloat positionAttribXYScale)
 
void drawQuad (GLuint program, const std::string &positionAttribName, GLfloat positionAttribZ, GLfloat positionAttribXYScale, bool useVertexBuffer)
 
void drawIndexedQuad (GLuint program, const std::string &positionAttribName, GLfloat positionAttribZ)
 
void drawIndexedQuad (GLuint program, const std::string &positionAttribName, GLfloat positionAttribZ, GLfloat positionAttribXYScale)
 
void setWindowWidth (int width)
 
void setWindowHeight (int height)
 
void setConfigRedBits (int bits)
 
void setConfigGreenBits (int bits)
 
void setConfigBlueBits (int bits)
 
void setConfigAlphaBits (int bits)
 
void setConfigDepthBits (int bits)
 
void setConfigStencilBits (int bits)
 
void setMultisampleEnabled (bool enabled)
 
void setDebugEnabled (bool enabled)
 
void setNoErrorEnabled (bool enabled)
 
void setWebGLCompatibilityEnabled (bool webglCompatibility)
 
void setBindGeneratesResource (bool bindGeneratesResource)
 
int getClientMajorVersion () const
 
int getClientMinorVersion () const
 
EGLWindowgetEGLWindow () const
 
int getWindowWidth () const
 
int getWindowHeight () const
 
bool isMultisampleEnabled () const
 
EGLint getPlatformRenderer () const
 
void ignoreD3D11SDKLayersWarnings ()
 

Protected Attributes

GLuint mProgram
 
GLuint mVertexBuffer
 
GLuint mIndexBuffer
 
GLuint mVertexWithColorBufferProgram
 
GLuint mVertexWithColorBuffer
 

Static Protected Attributes

static const GLuint mPointCount = 4
 

Additional Inherited Members

- Static Public Member Functions inherited from ANGLETest
static bool InitTestWindow ()
 
static bool DestroyTestWindow ()
 
static void SetWindowVisible (bool isVisible)
 
static bool eglDisplayExtensionEnabled (EGLDisplay display, const std::string &extName)
 
- Static Protected Member Functions inherited from ANGLETest
static std::array< Vector3, 6 > GetQuadVertices ()
 
static GLuint compileShader (GLenum type, const std::string &source)
 
static bool extensionEnabled (const std::string &extName)
 
static bool eglClientExtensionEnabled (const std::string &extName)
 

Constructor & Destructor Documentation

◆ IndexedPointsTest()

template<typename IndexType , GLenum IndexTypeName>
IndexedPointsTest< IndexType, IndexTypeName >::IndexedPointsTest ( )
inlineprotected

Member Function Documentation

◆ getIndexPositionX()

template<typename IndexType , GLenum IndexTypeName>
float IndexedPointsTest< IndexType, IndexTypeName >::getIndexPositionX ( size_t  idx)
inlineprotected

◆ getIndexPositionY()

template<typename IndexType , GLenum IndexTypeName>
float IndexedPointsTest< IndexType, IndexTypeName >::getIndexPositionY ( size_t  idx)
inlineprotected

◆ runTest()

template<typename IndexType , GLenum IndexTypeName>
void IndexedPointsTest< IndexType, IndexTypeName >::runTest ( GLuint  firstIndex,
bool  useVertexBufferWithColor = false 
)
inlineprotected

◆ SetUp()

template<typename IndexType , GLenum IndexTypeName>
virtual void IndexedPointsTest< IndexType, IndexTypeName >::SetUp ( )
inlineprotectedvirtual

Reimplemented from ANGLETest.

◆ TearDown()

template<typename IndexType , GLenum IndexTypeName>
virtual void IndexedPointsTest< IndexType, IndexTypeName >::TearDown ( )
inlineprotectedvirtual

Reimplemented from ANGLETest.

Member Data Documentation

◆ mIndexBuffer

template<typename IndexType , GLenum IndexTypeName>
GLuint IndexedPointsTest< IndexType, IndexTypeName >::mIndexBuffer
protected

◆ mPointCount

template<typename IndexType , GLenum IndexTypeName>
const GLuint IndexedPointsTest< IndexType, IndexTypeName >::mPointCount = 4
staticprotected

◆ mProgram

template<typename IndexType , GLenum IndexTypeName>
GLuint IndexedPointsTest< IndexType, IndexTypeName >::mProgram
protected

◆ mVertexBuffer

template<typename IndexType , GLenum IndexTypeName>
GLuint IndexedPointsTest< IndexType, IndexTypeName >::mVertexBuffer
protected

◆ mVertexWithColorBuffer

template<typename IndexType , GLenum IndexTypeName>
GLuint IndexedPointsTest< IndexType, IndexTypeName >::mVertexWithColorBuffer
protected

◆ mVertexWithColorBufferProgram

template<typename IndexType , GLenum IndexTypeName>
GLuint IndexedPointsTest< IndexType, IndexTypeName >::mVertexWithColorBufferProgram
protected

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