/external/angle/src/tests/gl_tests/ |
D | PbufferTest.cpp | 50 mTextureProgram = CompileProgram(kVS, kFS); in testSetUp() 51 if (mTextureProgram == 0) in testSetUp() 56 mTextureUniformLocation = glGetUniformLocation(mTextureProgram, "tex"); in testSetUp() 96 glDeleteProgram(mTextureProgram); in testTearDown() 102 GLuint mTextureProgram; member in PbufferTest 183 glUseProgram(mTextureProgram); in TEST_P() 186 drawQuad(mTextureProgram, "position", 0.5f); in TEST_P() 215 glUseProgram(mTextureProgram); in TEST_P() 226 drawQuad(mTextureProgram, "position", 0.5f); in TEST_P() 233 drawQuad(mTextureProgram, "position", 0.5f); in TEST_P() [all …]
|
D | DXTSRGBCompressedTextureTest.cpp | 54 mTextureProgram = CompileProgram(kVS, kFS); in testSetUp() 55 ASSERT_NE(0u, mTextureProgram); in testSetUp() 57 mTextureUniformLocation = glGetUniformLocation(mTextureProgram, "tex"); in testSetUp() 63 void testTearDown() override { glDeleteProgram(mTextureProgram); } in testTearDown() 68 drawQuad(mTextureProgram, "position", 0.5f); in runTestChecks() 100 glUseProgram(mTextureProgram); in runTest() 120 GLuint mTextureProgram = 0; member in DXTSRGBCompressedTextureTest
|
D | DXT1CompressedTextureTest.cpp | 49 mTextureProgram = CompileProgram(kVS, kFS); in testSetUp() 50 if (mTextureProgram == 0) in testSetUp() 55 mTextureUniformLocation = glGetUniformLocation(mTextureProgram, "tex"); in testSetUp() 60 void testTearDown() override { glDeleteProgram(mTextureProgram); } in testTearDown() 62 GLuint mTextureProgram; member in DXT1CompressedTextureTest 101 glUseProgram(mTextureProgram); in TEST_P() 104 drawQuad(mTextureProgram, "position", 0.5f); in TEST_P() 164 glUseProgram(mTextureProgram); in TEST_P() 167 drawQuad(mTextureProgram, "position", 0.5f); in TEST_P() 290 glUseProgram(mTextureProgram); in TEST_P() [all …]
|
D | MaxTextureSizeTest.cpp | 51 mTextureProgram = CompileProgram(kVS, kTextureFS); in testSetUp() 53 if (mTextureProgram == 0 || mBlueProgram == 0) in testSetUp() 58 mTextureUniformLocation = glGetUniformLocation(mTextureProgram, "tex"); in testSetUp() 69 glDeleteProgram(mTextureProgram); in testTearDown() 73 GLuint mTextureProgram; member in MaxTextureSizeTest 116 glUseProgram(mTextureProgram); in TEST_P() 119 drawQuad(mTextureProgram, "position", 0.5f); in TEST_P() 188 glUseProgram(mTextureProgram); in TEST_P() 191 drawQuad(mTextureProgram, "position", 0.5f); in TEST_P()
|
D | BPTCCompressedTextureTest.cpp | 61 mTextureProgram = CompileProgram(kVS, kFS); in testSetUp() 62 if (mTextureProgram == 0) in testSetUp() 67 mTextureUniformLocation = glGetUniformLocation(mTextureProgram, "tex"); in testSetUp() 72 void testTearDown() override { glDeleteProgram(mTextureProgram); } in testTearDown() 85 glUseProgram(mTextureProgram); in drawTexture() 87 drawQuad(mTextureProgram, "position", 0.5f); in drawTexture() 91 GLuint mTextureProgram; member in BPTCCompressedTextureTest
|
D | D3DTextureTest.cpp | 68 mTextureProgram = CompileProgram(kVS, kTextureFS); in testSetUp() 69 ASSERT_NE(0u, mTextureProgram) << "shader compilation failed."; in testSetUp() 71 mTextureUniformLocation = glGetUniformLocation(mTextureProgram, "tex"); in testSetUp() 126 glDeleteProgram(mTextureProgram); in testTearDown() 280 glUseProgram(mTextureProgram); in testTextureSamplesAs50PercentGreen() 289 drawQuad(mTextureProgram, "position", 0.5f); in testTextureSamplesAs50PercentGreen() 295 GLuint mTextureProgram; member in angle::D3DTextureTest 799 glUseProgram(mTextureProgram); in TEST_P() 805 drawQuad(mTextureProgram, "position", 1.0f); in TEST_P() 810 drawQuad(mTextureProgram, "position", -1.0f); in TEST_P() [all …]
|
D | CopyTexImageTest.cpp | 49 mTextureProgram = CompileProgram(kVS, kFS); in testSetUp() 50 if (mTextureProgram == 0) in testSetUp() 55 mTextureUniformLocation = glGetUniformLocation(mTextureProgram, "tex"); in testSetUp() 60 void testTearDown() override { glDeleteProgram(mTextureProgram); } in testTearDown() 98 glUseProgram(mTextureProgram); in verifyResults() 102 drawQuad(mTextureProgram, "position", 0.5f); in verifyResults() 215 GLuint mTextureProgram; member in angle::CopyTexImageTest
|
D | ImageTest.cpp | 110 mTextureProgram = CompileProgram(kVS, kTextureFS); in testSetUp() 111 if (mTextureProgram == 0) in testSetUp() 116 mTextureUniformLocation = glGetUniformLocation(mTextureProgram, "tex"); in testSetUp() 140 glDeleteProgram(mTextureProgram); in testTearDown() 386 verifyResultsTexture(texture, data, GL_TEXTURE_2D, mTextureProgram, in verifyResults2D() 491 GLuint mTextureProgram; member in angle::ImageTest
|