Home
last modified time | relevance | path

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

12345

/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMipmapTest.cpp133 createRGBInitData(getWindowWidth(), getWindowHeight(), 0, 0, 255); // Blue in testSetUp()
135 createRGBInitData(getWindowWidth(), getWindowHeight(), 255, 255, 255); // White in testSetUp()
137 createRGBInitData((getWindowWidth() / 2), (getWindowHeight() / 2), 0, 255, 0); // Green in testSetUp()
139 createRGBInitData((getWindowWidth() / 4), (getWindowHeight() / 4), 255, 0, 0); // Red in testSetUp()
146 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB, in testSetUp()
151 ASSERT_EQ(getWindowWidth(), getWindowHeight()); in testSetUp()
401 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB, in TEST_P()
409 clearAndDrawQuad(m2DProgram, getWindowWidth(), getWindowHeight()); in TEST_P()
410 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::blue); in TEST_P()
413 clearAndDrawQuad(m2DProgram, getWindowWidth() / 2, getWindowHeight() / 2); 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 …]
DMaxTextureSizeTest.cpp124 std::vector<GLubyte> pixels(getWindowWidth() * getWindowHeight() * 4); in TEST_P()
125 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in TEST_P()
127 for (int y = 1; y < getWindowHeight(); y++) in TEST_P()
196 std::vector<GLubyte> pixels(getWindowWidth() * getWindowHeight() * 4); in TEST_P()
197 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in TEST_P()
199 for (int y = 1; y < getWindowHeight(); y++) in TEST_P()
265 glBlitFramebufferANGLE(0, 0, textureWidth - 1, getWindowHeight() - 1, 0, 0, in TEST_P()
266 textureWidth - 1, getWindowHeight() - 1, GL_COLOR_BUFFER_BIT, in TEST_P()
271 EXPECT_PIXEL_EQ(textureWidth / 2, getWindowHeight() / 2, 0, 0, 255, 255); in TEST_P()
272 EXPECT_PIXEL_EQ(textureWidth + 10, getWindowHeight() / 2, clearRed, clearGreen, clearBlue, in TEST_P()
DBPTCCompressedTextureTest.cpp117 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P()
119 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
139 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P()
141 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
188 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P()
190 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
292 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P()
294 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
322 EXPECT_PIXEL_COLOR_NEAR(0, getWindowHeight() - 1, GLColor::red, kPixelTolerance); in TEST_P()
324 EXPECT_PIXEL_COLOR_NEAR(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green, in TEST_P()
DPbufferTest.cpp125 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 0, 0, 255, 255); in TEST_P()
141 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 0, 0, 255, 255); in TEST_P()
179 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
194 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 255, 0, 255, 255); in TEST_P()
282 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
287 std::vector<unsigned int> pixelData(getWindowWidth() * getWindowHeight(), pixelValue); in TEST_P()
288 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in TEST_P()
299 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 255, 0, 255, 255); in TEST_P()
DProvokingVertexTest.cpp66 glTexStorage2D(GL_TEXTURE_2D, 1, GL_R32I, getWindowWidth(), getWindowHeight()); in testSetUp()
216 std::vector<GLint> pixelBuffer(getWindowWidth() * getWindowHeight(), 0); in TEST_P()
217 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RED_INTEGER, GL_INT, in TEST_P()
234 static_cast<unsigned int>(centerY * static_cast<GLfloat>(getWindowHeight())); in TEST_P()
265 std::vector<GLint> pixelBuffer(getWindowWidth() * getWindowHeight(), 0); in TEST_P()
266 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RED_INTEGER, GL_INT, in TEST_P()
290 static_cast<unsigned int>(centerY * static_cast<GLfloat>(getWindowHeight())); 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()
111 const int height = getWindowHeight(); in ensureColor()
161 const int h = getWindowHeight(); in prepareSingleEmulatedWithPacked()
DIndexBufferOffsetTest.cpp168 EXPECT_PIXEL_COLOR_EQ(0, getWindowHeight() / 4, GLColor::red); in TEST_P()
171 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::red); in TEST_P()
200 EXPECT_PIXEL_COLOR_EQ(0, getWindowHeight() / 4, GLColor::red); in TEST_P()
203 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::red); in TEST_P()
DDepthStencilFormatsTest.cpp601 glTexStorage2D(GL_TEXTURE_2D, 1, GL_RGBA8, getWindowWidth(), getWindowHeight()); in TEST_P()
606 glTexStorage2D(GL_TEXTURE_2D, 1, GL_DEPTH24_STENCIL8, getWindowWidth(), getWindowHeight()); in TEST_P()
661 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P()
667 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in TEST_P()
673 std::vector<GLuint> depthStencilData(getWindowWidth() * getWindowHeight(), 0x7fffffA9); in TEST_P()
676 glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_STENCIL, getWindowWidth(), getWindowHeight(), 0, in TEST_P()
715 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P()
728 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P()
735 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::black); in TEST_P()
810 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/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()
647 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB, in TEST_P()
658 clearAndDrawQuad(m2DProgram, getWindowWidth(), getWindowHeight()); in TEST_P()
659 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.cpp95 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, in testSetUp()
99 getWindowHeight()); in testSetUp()
113 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth() / 2, getWindowHeight() / 2, 0, in testSetUp()
119 getWindowHeight() / 2); in testSetUp()
132 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, in testSetUp()
144 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB, in testSetUp()
156 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth() * 2, getWindowHeight() * 2, 0, in testSetUp()
171 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, in testSetUp()
176 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, in testSetUp()
191 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.cpp122 std::vector<GLubyte> pixels(getWindowWidth() * getWindowHeight() * 4); in TEST_P()
123 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in TEST_P()
125 for (int y = 1; y < getWindowHeight(); y++) in TEST_P()
194 std::vector<GLubyte> pixels(getWindowWidth() * getWindowHeight() * 4); in TEST_P()
195 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in TEST_P()
197 for (int y = 1; y < getWindowHeight(); y++) in TEST_P()
263 glBlitFramebufferANGLE(0, 0, textureWidth - 1, getWindowHeight() - 1, 0, 0, in TEST_P()
264 textureWidth - 1, getWindowHeight() - 1, GL_COLOR_BUFFER_BIT, in TEST_P()
269 EXPECT_PIXEL_EQ(textureWidth / 2, getWindowHeight() / 2, 0, 0, 255, 255); in TEST_P()
270 EXPECT_PIXEL_EQ(textureWidth + 10, getWindowHeight() / 2, clearRed, clearGreen, clearBlue, in TEST_P()
[all …]
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 …]
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()
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()
699 glTexImage3DOES(GL_TEXTURE_3D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(),
746 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), getWindowWidth(),
786 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, getWindowWidth(), getWindowHeight(),
1096 glViewport(0, 0, getWindowWidth() / 2, getWindowHeight() / 2); in TEST_P()
1102 glViewport(getWindowWidth() / 2, 0, getWindowWidth() / 2, getWindowHeight() / 2); in TEST_P()
1108 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 4, getWindowHeight() / 4, GLColor::blue); 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()
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 …]
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()
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()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cDrawIndirectTests.cpp229 int getWindowHeight() in getWindowHeight() function in glcts::__anon6f00ce220111::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()
709 float jigY = 0.5f / getWindowHeight(); in TrianglesAdjacencyGen()
743 float jigY = 0.5f / getWindowHeight(); in TriangleStripAdjacencyGen()
2064 CColorArray bufferRef(getWindowWidth() * getWindowHeight(), tcu::Vec4(0.1f, 0.2f, 0.3f, 1.0f)); in Run()
2065 CColorArray bufferTest(getWindowWidth() * getWindowHeight(), tcu::Vec4(0.0f)); in Run()
[all …]

12345