/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | MipmapTest.cpp | 187 createRGBInitData(getWindowWidth(), getWindowHeight(), 0, 0, 255); // Blue 189 createRGBInitData(getWindowWidth(), getWindowHeight(), 255, 255, 255); // White 191 createRGBInitData((getWindowWidth() / 2), (getWindowHeight() / 2), 0, 255, 0); // Green 193 createRGBInitData((getWindowWidth() / 4), (getWindowHeight() / 4), 255, 0, 0); // Red 200 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB, 205 ASSERT_EQ(getWindowWidth(), getWindowHeight()); 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() / in TEST_P() [all...] |
H A D | ClipDistanceTest.cpp | 100 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(); in TEST_P() [all...] |
H A D | BlitFramebufferANGLETest.cpp | 95 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, 99 getWindowHeight()); 113 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth() / 2, getWindowHeight() / 2, 0, 119 getWindowHeight() / 2); 132 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, 144 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, getWindowWidth(), getWindowHeight(), 0, GL_RGB, 156 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth() * 2, getWindowHeight() * 2, 0, 171 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, 176 glTexImage2D(GL_TEXTURE_2D, 0, format, getWindowWidth(), getWindowHeight(), 0, format, 191 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), [all...] |
H A D | ViewportTest.cpp | 45 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()); 141 glViewport(0, 0, getWindowWidth(), getWindowHeight()); 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() / in TEST_P() [all...] |
H A D | MaxTextureSizeTest.cpp | 122 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() / in TEST_P() [all...] |
H A D | BPTCCompressedTextureTest.cpp | 121 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() in TEST_P() [all...] |
H A D | DrawBuffersTest.cpp | 68 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(), in TEST_P() 746 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), getWindowWidth(), in TEST_P() 786 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), in TEST_P() 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() / in TEST_P() [all...] |
H A D | PixmapTest.cpp | 127 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()
|
H A D | PbufferTest.cpp | 156 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...] |
H A D | WEBGLVideoTextureTest.cpp | 82 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()
|
H A D | DepthStencilTest.cpp | 39 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, 49 getWindowHeight()); 65 getWindowHeight()); 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...] |
H A D | ProvokingVertexTest.cpp | 66 glTexStorage2D(GL_TEXTURE_2D, 1, GL_R32I, getWindowWidth(), getWindowHeight()); 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()
|
H A D | IncompleteTextureTest.cpp | 81 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()
|
H A D | LineLoopTest.cpp | 48 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()
|
H A D | S3TCTextureSizesTest.cpp | 93 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()
|
H A D | BlendIntegerTest.cpp | 70 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()
|
H A D | SimpleOperationTest.cpp | 203 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()); 503 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in readPixels() 850 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColo in TEST_P() [all...] |
H A D | IndexBufferOffsetTest.cpp | 385 EXPECT_PIXEL_COLOR_EQ(0, getWindowHeight() / 4, GLColor::red); in TEST_P() 388 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::red); in TEST_P() 428 EXPECT_PIXEL_COLOR_EQ(0, getWindowHeight() / 4, GLColor::red); in TEST_P() 431 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::red); in TEST_P() 460 EXPECT_PIXEL_COLOR_EQ(0, getWindowHeight() / 4, GLColor::red); in TEST_P() 463 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::red); in TEST_P()
|
H A D | OcclusionQueriesTest.cpp | 142 glViewport(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P() 143 glScissor(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P() 158 glViewport(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P() 159 glScissor(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P() 235 glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, getWindowWidth(), getWindowHeight(), 0); in TEST_P() 465 glViewport(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P() 466 glScissor(0, 0, getWindowWidth() / 2, getWindowHeight()); in TEST_P()
|
H A D | DepthStencilFormatsTest.cpp | 835 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() 895 glViewport(0, 0, getWindowWidth(), getWindowHeight()); in TEST_P() 901 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in TEST_P() 907 std::vector<GLuint> depthStencilData(getWindowWidth() * getWindowHeight(), 0x7fffffA9); in TEST_P() 910 glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_STENCIL, getWindowWidth(), getWindowHeight(), 0, in TEST_P() 949 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P() 962 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::red); in TEST_P() 969 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::black); in TEST_P() 1192 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), in TEST_P() [all...] |
H A D | TextureTest.cpp | 162 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() 2023 int py = getWindowHeight() / 2; in TEST_P() 2153 int height = getWindowHeight(); in TEST_P() 2224 const int height = getWindowHeight(); in TEST_P() 2290 const GLuint height = getWindowHeight(); in TEST_P() 2366 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 2379 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 2394 int height = getWindowHeight(); in TEST_P() [all...] |
H A D | D3DImageFormatConversionTest.cpp | 113 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()
|
H A D | InstancingTest.cpp | 235 int iy = static_cast<int>((y + 1.0f) / 2.0f * getWindowHeight()); 531 std::vector<GLColor> expectedPixels(getWindowWidth() * getWindowHeight()); 555 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, 589 std::vector<GLColor> actualPixels(getWindowWidth() * getWindowHeight()); 590 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, 598 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, 780 GLint pointy = static_cast<GLint>(0.5f * getWindowHeight());
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cDrawIndirectTests.cpp | 229 int getWindowHeight() in getWindowHeight() function in glcts::__anon27688::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(), tc in Run() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cVertexAttribBindingTests.cpp | 81 int getWindowHeight() in getWindowHeight() function in gl4cts::__anon27657::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_RG in Run() [all...] |