Home
last modified time | relevance | path

Searched refs:mTextureProgram (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/tests/gl_tests/
DPbufferTest.cpp50 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 …]
DDXTSRGBCompressedTextureTest.cpp54 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
DDXT1CompressedTextureTest.cpp49 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 …]
DMaxTextureSizeTest.cpp51 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()
DBPTCCompressedTextureTest.cpp61 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
DD3DTextureTest.cpp68 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 …]
DCopyTexImageTest.cpp49 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
DImageTest.cpp110 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