Lines Matching refs:getWindowWidth
162 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getWindowWidth(), getWindowHeight(), 0, GL_RGBA, in setUpFramebuffer()
363 EXPECT_PIXEL_EQ(getWindowHeight() - 1, getWindowWidth() - 1, 255, 255, 0, 255); in testFloatCopySubImage()
366 EXPECT_PIXEL_EQ(0, getWindowWidth() - 1, 0, 0, 255, 255); in testFloatCopySubImage()
1968 int px = getWindowWidth() - 1; in TEST_P()
2010 int px = getWindowWidth() / 2; in TEST_P()
2140 int width = getWindowWidth(); in TEST_P()
2211 const int width = getWindowWidth(); in TEST_P()
2277 const GLuint width = getWindowWidth(); 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()
2381 int width = getWindowWidth(); in TEST_P()
2442 int width = getWindowWidth(); in TEST_P()
2497 int width = getWindowWidth(); in TEST_P()
2552 int width = getWindowWidth(); in TEST_P()
2607 int width = getWindowWidth(); in TEST_P()
3163 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 0, 0, 0, 255); in TEST_P()
3171 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 0, 0, 0, 255); in TEST_P()
3177 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 0, 0, 0, 64); in TEST_P()
3195 EXPECT_PIXEL_EQ(getWindowWidth() / 2, getWindowHeight() / 2, 0, 0, 0, 64); in TEST_P()
3663 EXPECT_PIXEL_RECT_EQ(0, 0, getWindowWidth(), getWindowHeight(), GLColor::green); in TEST_P()
3946 const int w = getWindowWidth() - 1; in TEST_P()
4097 const int w = getWindowWidth() - 1; in testGenerateMipmapAfterRebase()
4154 const int w = getWindowWidth() - 1; in TEST_P()
4204 const int w = getWindowWidth() - 1; in TEST_P()
4263 const int w = getWindowWidth() - 1; in TEST_P()
4305 const int w = getWindowWidth() - 1; in TEST_P()
4350 const int w = getWindowWidth() - 1; in TEST_P()
4448 const int w = getWindowWidth() - 1; in TEST_P()
5846 int width = getWindowWidth(); in TEST_P()
6112 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
6114 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::red); in TEST_P()
6168 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
6170 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green); in TEST_P()
6278 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
6280 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green); in TEST_P()
6472 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
6474 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green); in TEST_P()
6504 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
6506 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green); in TEST_P()
6533 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
6535 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green); in TEST_P()
6565 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
6567 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() - 1, getWindowHeight() - 1, GLColor::green); in TEST_P()
7967 GLuint windowPixelCount = getWindowWidth() * getWindowHeight(); in TEST_P()
7969 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
7995 const int size = getWindowWidth(); in TEST_P()
8081 int w = getWindowWidth(); in testBehavior()
8220 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, getWindowWidth(), getWindowHeight(), 0, GL_ALPHA, in TEST_P()
8225 std::vector<GLubyte> bufferData(getWindowWidth() * getWindowHeight(), 127); in TEST_P()
8231 glBufferData(GL_PIXEL_UNPACK_BUFFER, getWindowWidth() * getWindowHeight(), bufferData.data(), in TEST_P()
8234 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, getWindowWidth(), getWindowHeight(), GL_ALPHA, in TEST_P()
8252 GLsizei pixelCount = getWindowWidth() * getWindowHeight() / 2; in TEST_P()
8263 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, getWindowWidth() / 2, getWindowHeight() / 2, 0, in TEST_P()
8274 pixels.assign(getWindowWidth() * getWindowHeight(), GLColor::green); in TEST_P()
8275 GLsizei size2 = getWindowWidth() * getWindowHeight() * sizeof(GLColor); in TEST_P()
8279 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, getWindowWidth() / 2, getWindowHeight() / 2, GL_RGBA, in TEST_P()
8892 const GLsizei texWidth = getWindowWidth(); in TEST_P()
8901 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, angle::GLColor::white); in TEST_P()
8996 int width = getWindowWidth(); in TEST_P()
9028 int width = getWindowWidth(); in TEST_P()
9061 int width = getWindowWidth(); in TEST_P()
9102 int width = getWindowWidth(); in TEST_P()
9132 int width = getWindowWidth(); in TEST_P()
9157 int width = getWindowWidth(); in TEST_P()
9231 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
9275 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
9460 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
9467 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()
9474 EXPECT_PIXEL_COLOR_EQ(getWindowWidth() / 2, getWindowHeight() / 2, GLColor::red); in TEST_P()