webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Protected Member Functions | Protected Attributes | List of all members
angle::CopyTexImageTest Class Reference
Inheritance diagram for angle::CopyTexImageTest:
ANGLETest angle::CopyTexImageTestES3

Protected Member Functions

 CopyTexImageTest ()
 
GLuint createFramebuffer (GLenum format, GLenum type, GLfloat color[4]) const
 
GLuint createTexture (GLenum format, GLenum type) const
 
GLuint createTextureFromCopyTexImage (GLuint fbo, GLenum format) const
 
void copyTextureWithCopyTexSubImage (GLuint fbo, GLuint texture, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei w, GLsizei h) const
 
void SetUp () override
 
void TearDown () override
 
void verifyResults (GLuint texture, GLubyte data[4], GLint x, GLint y)
 
- 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 mTextureProgram
 
GLint mTextureUniformLocation
 

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

◆ CopyTexImageTest()

angle::CopyTexImageTest::CopyTexImageTest ( )
inlineprotected

Member Function Documentation

◆ copyTextureWithCopyTexSubImage()

void angle::CopyTexImageTest::copyTextureWithCopyTexSubImage ( GLuint  fbo,
GLuint  texture,
GLint  xoffset,
GLint  yoffset,
GLint  x,
GLint  y,
GLsizei  w,
GLsizei  h 
) const
inlineprotected

◆ createFramebuffer()

GLuint angle::CopyTexImageTest::createFramebuffer ( GLenum  format,
GLenum  type,
GLfloat  color[4] 
) const
inlineprotected

◆ createTexture()

GLuint angle::CopyTexImageTest::createTexture ( GLenum  format,
GLenum  type 
) const
inlineprotected

◆ createTextureFromCopyTexImage()

GLuint angle::CopyTexImageTest::createTextureFromCopyTexImage ( GLuint  fbo,
GLenum  format 
) const
inlineprotected

◆ SetUp()

void angle::CopyTexImageTest::SetUp ( )
inlineoverrideprotectedvirtual

Reimplemented from ANGLETest.

◆ TearDown()

void angle::CopyTexImageTest::TearDown ( )
inlineoverrideprotectedvirtual

Reimplemented from ANGLETest.

◆ verifyResults()

void angle::CopyTexImageTest::verifyResults ( GLuint  texture,
GLubyte  data[4],
GLint  x,
GLint  y 
)
inlineprotected

Member Data Documentation

◆ mTextureProgram

GLuint angle::CopyTexImageTest::mTextureProgram
protected

◆ mTextureUniformLocation

GLint angle::CopyTexImageTest::mTextureUniformLocation
protected

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