MaxTextureSizeTest()
 {
     setWindowWidth(512);
     setWindowHeight(512);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
 }
 SRGBTextureTest()
 {
     setWindowWidth(128);
     setWindowHeight(128);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
 }
 CopyTextureTest()
 {
     setWindowWidth(256);
     setWindowHeight(256);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
 }
 UniformTest() : ANGLETest(T::GetGlesMajorVersion(), T::GetPlatform())
 {
     setWindowWidth(128);
     setWindowHeight(128);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
 }
Beispiel #5
0
 CopyTexImageTest()
 {
     setWindowWidth(16);
     setWindowHeight(16);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
 }
 CompressedTextureTest() : ANGLETest(T::GetGlesMajorVersion(), T::GetRequestedRenderer())
 {
     setWindowWidth(512);
     setWindowHeight(512);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
 }
 PointSpritesTest() : ANGLETest(T::GetGlesMajorVersion(), T::GetPlatform())
 {
     setWindowWidth(windowWidth);
     setWindowHeight(windowHeight);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
 }
 PBOExtensionTest()
 {
     setClientVersion(2);
     setWindowWidth(32);
     setWindowHeight(32);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
 }
 WebGLReadOutsideFramebufferTest() : mFBData(kFbWidth, kFbHeight)
 {
     setWindowWidth(kFbWidth);
     setWindowHeight(kFbHeight);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
     setWebGLCompatibilityEnabled(true);
 }
Beispiel #10
0
 IndexedPointsTest() : ANGLETest(2, EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE)
 {
     setWindowWidth(128);
     setWindowHeight(128);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
     setConfigDepthBits(24);
 }
 DepthStencilFormatsTest()
 {
     setWindowWidth(128);
     setWindowHeight(128);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
     setClientVersion(2);
 }
Beispiel #12
0
 ReadPixelsTest()
 {
     setClientVersion(3);
     setWindowWidth(32);
     setWindowHeight(32);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
 }
 IndexedPointsTest()
 {
     setWindowWidth(128);
     setWindowHeight(128);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
     setConfigDepthBits(24);
 }
 D3DTextureTest()
 {
     setWindowWidth(128);
     setWindowHeight(128);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
     setConfigDepthBits(24);
     setConfigStencilBits(8);
 }
    UnpackAlignmentTest() : ANGLETest(T::GetGlesMajorVersion(), T::GetPlatform())
    {
        setWindowWidth(128);
        setWindowHeight(128);
        setConfigRedBits(8);
        setConfigGreenBits(8);
        setConfigBlueBits(8);
        setConfigAlphaBits(8);
        setConfigDepthBits(24);

        mProgram = 0;
    }
    BlendMinMaxTest() : ANGLETest(T::GetGlesMajorVersion(), T::GetPlatform())
    {
        setWindowWidth(128);
        setWindowHeight(128);
        setConfigRedBits(8);
        setConfigGreenBits(8);
        setConfigBlueBits(8);
        setConfigAlphaBits(8);
        setConfigDepthBits(24);

        mProgram = 0;
        mColorLocation = -1;
    }
Beispiel #17
0
 BufferDataTest()
     : mBuffer(0),
       mProgram(0),
       mAttribLocation(-1)
 {
     setWindowWidth(16);
     setWindowHeight(16);
     setConfigRedBits(8);
     setConfigGreenBits(8);
     setConfigBlueBits(8);
     setConfigAlphaBits(8);
     setConfigDepthBits(24);
 }
    BlendMinMaxTest()
    {
        setWindowWidth(128);
        setWindowHeight(128);
        setConfigRedBits(8);
        setConfigGreenBits(8);
        setConfigBlueBits(8);
        setConfigAlphaBits(8);
        setConfigDepthBits(24);

        mProgram = 0;
        mColorLocation = -1;
    }
    VertexAttributeTest()
    {
        setWindowWidth(128);
        setWindowHeight(128);
        setConfigRedBits(8);
        setConfigGreenBits(8);
        setConfigBlueBits(8);
        setConfigAlphaBits(8);
        setConfigDepthBits(24);

        mProgram = 0;
        mTestAttrib = -1;
        mExpectedAttrib = -1;
    }
Beispiel #20
0
    SwizzleTest()
    {
        setWindowWidth(128);
        setWindowHeight(128);
        setConfigRedBits(8);
        setConfigGreenBits(8);
        setConfigBlueBits(8);
        setConfigAlphaBits(8);
        setClientVersion(3);

        GLenum swizzles[] =
        {
            GL_RED,
            GL_GREEN,
            GL_BLUE,
            GL_ALPHA,
            GL_ZERO,
            GL_ONE,
        };

        for (int r = 0; r < 6; r++)
        {
            for (int g = 0; g < 6; g++)
            {
                for (int b = 0; b < 6; b++)
                {
                    for (int a = 0; a < 6; a++)
                    {
                        swizzlePermutation permutation;
                        permutation.swizzleRed = swizzles[r];
                        permutation.swizzleGreen = swizzles[g];
                        permutation.swizzleBlue = swizzles[b];
                        permutation.swizzleAlpha = swizzles[a];
                        mPermutations.push_back(permutation);
                    }
                }
            }
        }
    }