Home
last modified time | relevance | path

Searched refs:getWindowHeight (Results 1 – 25 of 76) sorted by relevance

1234

/external/angle/src/tests/gl_tests/
DMipmapTest.cpp187 createRGBInitData(getWindowWidth(), getWindowHeight(), 0, 0, 255); // Blue in testSetUp()
189 createRGBInitData(getWindowWidth(), getWindowHeight(), 255, 255, 255); // White in testSetUp()
191 createRGBInitData((getWindowWidth() / 2), (getWindowHeight() / 2), 0, 255, 0); // Green in testSetUp()
193 createRGBInitData((getWindowWidth() / 4), (getWindowHeight() / 4), 255, 0, 0); // Red in testSetUp()
200 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB, in testSetUp()
205 ASSERT_EQ(getWindowWidth(), getWindowHeight()); in testSetUp()
453 const int h = getWindowHeight() - 1; in verifyAllMips()
505 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB, in TEST_P()
513 clearAndDrawQuad(m2DProgram, getWindowWidth(), getWindowHeight()); in TEST_P()
514 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::blue); in TEST_P()
[all …]
DClipDistanceTest.cpp100 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
109 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
128 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
137 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
150 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
207 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
217 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
223 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
255 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
265 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
[all …]
DViewportTest.cpp45 glScissor(0, getWindowHeight() / 2, getWindowWidth(), getWindowHeight() / 2); in runScissoredTest()
119 if (0 <= x && x < getWindowWidth() && 0 <= y && y < getWindowHeight()) in checkPixel()
140 glScissor(0, 0, getWindowWidth(), getWindowHeight()); in testSetUp()
141 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in testSetUp()
153 glViewport(0, 0, getWindowWidth() / 4, getWindowHeight() / 4); in TEST_P()
162 glViewport(getWindowWidth() * 3 / 8, getWindowHeight() * 3 / 8, getWindowWidth() / 4, in TEST_P()
163 getWindowHeight() / 4); in TEST_P()
172 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
181 glViewport(-getWindowWidth() / 2, getWindowHeight() / 2, getWindowWidth(), getWindowHeight()); in TEST_P()
190 glViewport(0, 0, getWindowWidth() * 2, getWindowHeight() * 2); in TEST_P()
[all …]
DBlitFramebufferANGLETest.cpp93 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, in testSetUp()
97 getWindowHeight()); in testSetUp()
111 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth() / 2, getWindowHeight() / 2, 0, in testSetUp()
117 getWindowHeight() / 2); in testSetUp()
130 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, in testSetUp()
142 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB, in testSetUp()
154 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth() * 2, getWindowHeight() * 2, 0, in testSetUp()
169 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, in testSetUp()
174 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, in testSetUp()
189 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in testSetUp()
[all …]
DBPTCCompressedTextureTest.cpp121 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P()
123 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
143 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P()
145 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
192 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P()
194 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
296 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P()
298 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
321 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P()
323 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
[all …]
DMaxTextureSizeTest.cpp121 std::vector<GLubyte> pixels(getWindowWidth() * getWindowHeight() * 4); in TEST_P()
122 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in TEST_P()
124 for (int y = 1; y < getWindowHeight(); y++) in TEST_P()
193 std::vector<GLubyte> pixels(getWindowWidth() * getWindowHeight() * 4); in TEST_P()
194 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in TEST_P()
196 for (int y = 1; y < getWindowHeight(); y++) in TEST_P()
262 glBlitFramebufferANGLE(0, 0, textureWidth - 1, getWindowHeight() - 1, 0, 0, in TEST_P()
263 textureWidth - 1, getWindowHeight() - 1, GL_COLOR_BUFFER_BIT, in TEST_P()
268 EXPECT_PIXEL_EQ(textureWidth / 2, getWindowHeight() / 2, 0, 0, 255, 255); in TEST_P()
269 EXPECT_PIXEL_EQ(textureWidth + 10, getWindowHeight() / 2, clearRed, clearGreen, clearBlue, in TEST_P()
DPbufferTest.cpp156 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::blue); in TEST_P()
172 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 0, 0, 255, 255); in TEST_P()
210 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
225 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 255, 0, 255, 255); in TEST_P()
280 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
295 EXPECT_PIXEL_NEAR(getWindowWidth() / 2, getWindowHeight() / 2, kLinearColor[0], kLinearColor[1], in TEST_P()
353 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
364 EXPECT_PIXEL_NEAR(getWindowWidth() / 2, getWindowHeight() / 2, kLinearColor[0], kLinearColor[1], in TEST_P()
372 EXPECT_PIXEL_NEAR(getWindowWidth() / 2, getWindowHeight() / 2, kSrgbColor[0], kSrgbColor[1], in TEST_P()
466 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
[all …]
DDrawBuffersTest.cpp68 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in setupTest()
195 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, color) in verifyAttachment2DColor()
215 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, getColorForIndex(index)); in verifyAttachment3DOES()
221 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, getColorForIndex(index)); in verifyAttachmentLayer()
711 glTexImage3DOES(GL_TEXTURE_3D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(),
758 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), getWindowWidth(),
798 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, getWindowWidth(), getWindowHeight(),
919 glViewport(0, 0, getWindowWidth() / 2, getWindowHeight() / 2); in TEST_P()
925 glViewport(getWindowWidth() / 2, 0, getWindowWidth() / 2, getWindowHeight() / 2); in TEST_P()
931 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, getWindowHeight() / 4, GLColor::blue); in TEST_P()
[all …]
DPixmapTest.cpp127 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 0, 0, 255, 255); in TEST_P()
143 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 0, 0, 255, 255); in TEST_P()
186 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
201 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 255, 0, 255, 255); in TEST_P()
241 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
246 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P()
247 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in TEST_P()
258 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 255, 0, 255, 255); in TEST_P()
DDepthStencilTest.cpp39 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in testSetUp()
49 getWindowHeight()); in testSetUp()
65 getWindowHeight()); in testSetUp()
119 const int height = getWindowHeight(); in ensureColor()
169 const int h = getWindowHeight(); in prepareSingleEmulatedWithPacked()
361 glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT24, getWindowWidth(), getWindowHeight(), 0, in TEST_P()
373 getWindowHeight()); in TEST_P()
407 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, getWindowWidth(), getWindowHeight()); in TEST_P()
414 glRenderbufferStorage(GL_RENDERBUFFER, GL_STENCIL_INDEX8, getWindowWidth(), getWindowHeight()); in TEST_P()
457 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, getWindowWidth(), getWindowHeight()); in TEST_P()
[all …]
DWEBGLVideoTextureTest.cpp82 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P()
131 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P()
199 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P()
201 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::green); in TEST_P()
203 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P()
248 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P()
DProvokingVertexTest.cpp66 glTexStorage2D(GL_TEXTURE_2D, 1, GL_R32I, getWindowWidth(), getWindowHeight()); in testSetUp()
221 std::vector<GLint> pixelBuffer(getWindowWidth() * getWindowHeight() * 4, 0); in TEST_P()
222 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA_INTEGER, GL_INT, in TEST_P()
239 static_cast<unsigned int>(centerY * static_cast<GLfloat>(getWindowHeight())); in TEST_P()
270 std::vector<GLint> pixelBuffer(getWindowWidth() * getWindowHeight() * 4, 0); in TEST_P()
271 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA_INTEGER, GL_INT, in TEST_P()
295 static_cast<unsigned int>(centerY * static_cast<GLfloat>(getWindowHeight())); in TEST_P()
DIncompleteTextureTest.cpp81 getWindowHeight()); in setupFramebuffer()
87 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in setupFramebuffer()
186 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - greenTextureSize, getWindowHeight() - greenTextureSize, in TEST_P()
292 const int height = getWindowHeight() - 1; in TEST_P()
346 const int height = getWindowHeight() - 1; in TEST_P()
404 const int height = getWindowHeight() - 1; in TEST_P()
DIndexBufferOffsetTest.cpp348 EXPECT_PIXEL_COLOR_EQ(0, getWindowHeight() / 4, GLColor::red); in TEST_P()
351 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::red); in TEST_P()
391 EXPECT_PIXEL_COLOR_EQ(0, getWindowHeight() / 4, GLColor::red); in TEST_P()
394 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::red); in TEST_P()
423 EXPECT_PIXEL_COLOR_EQ(0, getWindowHeight() / 4, GLColor::red); in TEST_P()
426 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::red); in TEST_P()
DLineLoopTest.cpp48 std::vector<GLubyte> pixels(getWindowWidth() * getWindowHeight() * 4); in checkPixels()
49 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in checkPixels()
54 for (int y = 0; y < getWindowHeight(); y++) in checkPixels()
420 std::vector<GLColor> expectedPixels(getWindowWidth() * getWindowHeight()); in TEST_P()
421 std::vector<GLColor> renderedPixels(getWindowWidth() * getWindowHeight()); in TEST_P()
440 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
469 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
472 for (int y = 0; y < getWindowHeight(); ++y) in TEST_P()
DS3TCTextureSizesTest.cpp93 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor(0, 0, 123, 255)); in TEST_P()
98 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor(0, 0, 123, 255)); in TEST_P()
103 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor(0, 0, 123, 255)); in TEST_P()
108 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor(123, 0, 0, 255)); in TEST_P()
DSimpleOperationTest.cpp203 glScissor(getWindowWidth() / 4, getWindowHeight() / 4, getWindowWidth() / 2, in TEST_P()
204 getWindowHeight() / 2); in TEST_P()
215 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::green); in TEST_P()
354 ASSERT_EQ(getWindowWidth(), getWindowHeight()); in TEST_P()
390 ASSERT_EQ(getWindowWidth(), getWindowHeight()); in TEST_P()
432 ASSERT_EQ(getWindowWidth(), getWindowHeight()); in TEST_P()
457 const auto centerY = getWindowHeight() / 2; in TEST_P()
477 ASSERT_EQ(getWindowWidth(), getWindowHeight()); in testSetUp()
503 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in readPixels()
853 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::yellow); in TEST_P()
[all …]
DBlendIntegerTest.cpp70 glRenderbufferStorage(GL_RENDERBUFFER, internalformat, getWindowWidth(), getWindowHeight()); in runTest()
148 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, getWindowWidth(), getWindowHeight()); in runTestMRT()
155 getWindowWidth(), getWindowHeight()); in runTestMRT()
161 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, getWindowWidth(), getWindowHeight()); in runTestMRT()
DOcclusionQueriesTest.cpp151 glViewport(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P()
152 glScissor(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P()
167 glViewport(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P()
168 glScissor(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P()
247 glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, getWindowWidth(), getWindowHeight(), 0); in TEST_P()
485 glViewport(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P()
486 glScissor(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P()
DDepthStencilFormatsTest.cpp835 glTexStorage2D(GL_TEXTURE_2D, 1, GL_RGBA8, getWindowWidth(), getWindowHeight()); in TEST_P()
840 glTexStorage2D(GL_TEXTURE_2D, 1, GL_DEPTH24_STENCIL8, getWindowWidth(), getWindowHeight()); in TEST_P()
904 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
910 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in TEST_P()
916 std::vector<GLuint> depthStencilData(getWindowWidth() * getWindowHeight(), 0x7fffffA9); in TEST_P()
919 glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_STENCIL, getWindowWidth(), getWindowHeight(), 0, in TEST_P()
958 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P()
971 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P()
978 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::black); in TEST_P()
1201 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in TEST_P()
[all …]
DD3DImageFormatConversionTest.cpp113 EXPECT_PIXEL_EQ(getWindowHeight() - 1, 0, 0, 255, 0, 255); in runTest()
115 EXPECT_PIXEL_EQ(getWindowHeight() - 1, getWindowWidth() - 1, 255, 255, 0, 255); in runTest()
DPointSpritesTest.cpp412 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 255, 0, 0, 255); in TEST_P()
466 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::blue); in TEST_P()
542 EXPECT_PIXEL_NEAR(getWindowWidth() / 2 + 2, getWindowHeight() / 2, 255, 0, 0, 255, 4); in TEST_P()
545 EXPECT_PIXEL_NEAR(getWindowWidth() / 2 - 2, getWindowHeight() / 2, 0, 0, 0, 0, 4); in TEST_P()
DTextureTest.cpp162 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in setUpFramebuffer()
362 EXPECT_PIXEL_EQ(getWindowHeight() - 1, 0, 0, 255, 0, 255); in testFloatCopySubImage()
363 EXPECT_PIXEL_EQ(getWindowHeight() - 1, getWindowWidth() - 1, 255, 255, 0, 255); in testFloatCopySubImage()
2011 int py = getWindowHeight() / 2; in TEST_P()
2141 int height = getWindowHeight(); in TEST_P()
2212 const int height = getWindowHeight(); in TEST_P()
2278 const GLuint height = getWindowHeight(); in TEST_P()
2354 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
2367 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
2382 int height = getWindowHeight(); in TEST_P()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cDrawIndirectTests.cpp229 int getWindowHeight() in getWindowHeight() function in glcts::__anone9281a0a0111::DrawIndirectBase
237 height = std::min(getWindowHeight(), 4 * 16384 / width); // Height is 4 if width is capped in getDataSize()
600 float rasterSizeY = 2.0f / static_cast<float>(getWindowHeight()); in PointsGen()
624 float rasterSize = 2.0f / static_cast<float>(getWindowHeight()); in LinesGen()
635 float rasterSize = 2.0f / static_cast<float>(getWindowHeight()); in LinesAdjacencyGen()
648 float rasterSize = 2.0f / static_cast<float>(getWindowHeight()); in LineStripAdjacencyGen()
710 float jigY = 0.5f / getWindowHeight(); in TrianglesAdjacencyGen()
744 float jigY = 0.5f / getWindowHeight(); in TriangleStripAdjacencyGen()
2070 CColorArray bufferRef(getWindowWidth() * getWindowHeight(), tcu::Vec4(0.1f, 0.2f, 0.3f, 1.0f)); in Run()
2071 CColorArray bufferTest(getWindowWidth() * getWindowHeight(), tcu::Vec4(0.0f)); in Run()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp81 int getWindowHeight() in getWindowHeight() function in gl4cts::__anonb14fc6780111::VertexAttribBindingBase
351 std::vector<Vec3> fb(getWindowWidth() * getWindowHeight()); in Run()
352 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGB, GL_FLOAT, &fb[0][0]); in Run()
353 …if (!CheckRectColor(fb, getWindowWidth(), 0, 0, getWindowWidth(), getWindowHeight(), Vec3(0, 1, 0)… in Run()
359 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGB, GL_FLOAT, &fb[0][0]); in Run()
360 …if (!CheckRectColor(fb, getWindowWidth(), 0, 0, getWindowWidth(), getWindowHeight(), Vec3(1, 1, 0)… in Run()
3114 std::vector<Vec3> fb(getWindowWidth() * getWindowHeight()); in Run()
3115 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGB, GL_FLOAT, &fb[0][0]); in Run()
3116 …if (!CheckRectColor(fb, getWindowWidth(), 0, 0, getWindowWidth(), getWindowHeight(), Vec3(0, 1, 0)… in Run()
3128 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGB, GL_FLOAT, &fb[0][0]); in Run()
[all …]

1234