webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
ANGLETest Class Reference

#include <ANGLETest.h>

Inheritance diagram for ANGLETest:
angle::BindGeneratesResourceTest angle::ColorMaskTest angle::CopyCompressedTextureTest angle::CopyTexImageTest angle::CopyTextureTest angle::DebugTest angle::ImageTest angle::RobustClientMemoryTest angle::SyncQueriesTest angle::WebGLCompatibilityTest BlendMinMaxTest BlitFramebufferANGLETest BlitFramebufferTest BufferDataTest BuiltinVariableVertexIdTest CubeMapTextureTest DepthStencilFormatsTestBase DiscardFramebufferEXTTest DrawBuffersTest DXT1CompressedTextureTest EGLContextCompatibilityTest EGLDeviceQueryTest FenceNVTest FenceSyncTest FramebufferFormatsTest FramebufferInvalidateTest FramebufferRenderMipmapTest IncompleteTextureTest IndexBufferOffsetTest IndexedBufferCopyTest IndexedPointsTest< IndexType, IndexTypeName > InstancingTest LineLoopTest MaxTextureSizeTest OcclusionQueriesTest PBOExtensionTest PbufferTest PointSpritesTest ProgramBinaryTest ProgramBinaryTransformFeedbackTest TimerQueriesTest

Static Public Member Functions

static bool InitTestWindow ()
 
static bool DestroyTestWindow ()
 
static void SetWindowVisible (bool isVisible)
 
static bool eglDisplayExtensionEnabled (EGLDisplay display, const std::string &extName)
 

Protected Member Functions

 ANGLETest ()
 
 ~ANGLETest ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
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 ()
 

Static Protected Member Functions

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

◆ ANGLETest()

ANGLETest::ANGLETest ( )
protected

◆ ~ANGLETest()

ANGLETest::~ANGLETest ( )
protected

Member Function Documentation

◆ compileShader()

GLuint ANGLETest::compileShader ( GLenum  type,
const std::string source 
)
staticprotected

◆ DestroyTestWindow()

bool ANGLETest::DestroyTestWindow ( )
static

◆ drawIndexedQuad() [1/2]

void ANGLETest::drawIndexedQuad ( GLuint  program,
const std::string positionAttribName,
GLfloat  positionAttribZ 
)
protected

◆ drawIndexedQuad() [2/2]

void ANGLETest::drawIndexedQuad ( GLuint  program,
const std::string positionAttribName,
GLfloat  positionAttribZ,
GLfloat  positionAttribXYScale 
)
protected

◆ drawQuad() [1/3]

void ANGLETest::drawQuad ( GLuint  program,
const std::string positionAttribName,
GLfloat  positionAttribZ 
)
protected

◆ drawQuad() [2/3]

void ANGLETest::drawQuad ( GLuint  program,
const std::string positionAttribName,
GLfloat  positionAttribZ,
GLfloat  positionAttribXYScale 
)
protected

◆ drawQuad() [3/3]

void ANGLETest::drawQuad ( GLuint  program,
const std::string positionAttribName,
GLfloat  positionAttribZ,
GLfloat  positionAttribXYScale,
bool  useVertexBuffer 
)
protected

◆ eglClientExtensionEnabled()

bool ANGLETest::eglClientExtensionEnabled ( const std::string extName)
staticprotected

◆ eglDisplayExtensionEnabled()

bool ANGLETest::eglDisplayExtensionEnabled ( EGLDisplay  display,
const std::string extName 
)
static

◆ extensionEnabled()

bool ANGLETest::extensionEnabled ( const std::string extName)
staticprotected

◆ getClientMajorVersion()

int ANGLETest::getClientMajorVersion ( ) const
protected

◆ getClientMinorVersion()

int ANGLETest::getClientMinorVersion ( ) const
protected

◆ getEGLWindow()

EGLWindow * ANGLETest::getEGLWindow ( ) const
protected

◆ getPlatformRenderer()

EGLint ANGLETest::getPlatformRenderer ( ) const
protected

◆ GetQuadVertices()

std::array< Vector3, 6 > ANGLETest::GetQuadVertices ( )
staticprotected

◆ getWindowHeight()

int ANGLETest::getWindowHeight ( ) const
protected

◆ getWindowWidth()

int ANGLETest::getWindowWidth ( ) const
protected

◆ ignoreD3D11SDKLayersWarnings()

void ANGLETest::ignoreD3D11SDKLayersWarnings ( )
protected

◆ InitTestWindow()

bool ANGLETest::InitTestWindow ( )
static

◆ isMultisampleEnabled()

bool ANGLETest::isMultisampleEnabled ( ) const
protected

◆ setBindGeneratesResource()

void ANGLETest::setBindGeneratesResource ( bool  bindGeneratesResource)
protected

◆ setConfigAlphaBits()

void ANGLETest::setConfigAlphaBits ( int  bits)
protected

◆ setConfigBlueBits()

void ANGLETest::setConfigBlueBits ( int  bits)
protected

◆ setConfigDepthBits()

void ANGLETest::setConfigDepthBits ( int  bits)
protected

◆ setConfigGreenBits()

void ANGLETest::setConfigGreenBits ( int  bits)
protected

◆ setConfigRedBits()

void ANGLETest::setConfigRedBits ( int  bits)
protected

◆ setConfigStencilBits()

void ANGLETest::setConfigStencilBits ( int  bits)
protected

◆ setDebugEnabled()

void ANGLETest::setDebugEnabled ( bool  enabled)
protected

◆ setMultisampleEnabled()

void ANGLETest::setMultisampleEnabled ( bool  enabled)
protected

◆ setNoErrorEnabled()

void ANGLETest::setNoErrorEnabled ( bool  enabled)
protected

◆ SetUp()

void ANGLETest::SetUp ( )
protectedvirtual

◆ setupIndexedQuadVertexBuffer()

void ANGLETest::setupIndexedQuadVertexBuffer ( GLfloat  positionAttribZ,
GLfloat  positionAttribXYScale 
)
protected

◆ setupQuadVertexBuffer()

void ANGLETest::setupQuadVertexBuffer ( GLfloat  positionAttribZ,
GLfloat  positionAttribXYScale 
)
protected

◆ setWebGLCompatibilityEnabled()

void ANGLETest::setWebGLCompatibilityEnabled ( bool  webglCompatibility)
protected

◆ setWindowHeight()

void ANGLETest::setWindowHeight ( int  height)
protected

◆ SetWindowVisible()

void ANGLETest::SetWindowVisible ( bool  isVisible)
static

◆ setWindowWidth()

void ANGLETest::setWindowWidth ( int  width)
protected

◆ swapBuffers()

void ANGLETest::swapBuffers ( )
protectedvirtual

◆ TearDown()

void ANGLETest::TearDown ( )
protectedvirtual

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