Home
last modified time | relevance | path

Searched refs:kTexHeight (Results 1 – 2 of 2) sorted by relevance

/external/skqp/gm/
Detc1.cpp37 return SkISize::Make(kTexWidth + 2*kPad, kTexHeight + 2*kPad); in onISize()
42 SkImageInfo ii = SkImageInfo::Make(kTexWidth, kTexHeight, kRGB_565_SkColorType, in onOnceBeforeDraw()
46 bm.erase(SK_ColorBLUE, SkIRect::MakeWH(kTexWidth, kTexHeight)); in onOnceBeforeDraw()
48 for (int y = 0; y < kTexHeight; y += 4) { in onOnceBeforeDraw()
79 kTexWidth, kTexHeight, in onDraw()
88 static const int kTexHeight = 20; member in ETC1GM
/external/angle/src/tests/gl_tests/
DDiscardFramebufferEXTTest.cpp165 constexpr GLsizei kTexHeight = 256; in TEST_P() local
168 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, kTexWidth, kTexHeight, 0, GL_RGB, GL_UNSIGNED_BYTE, in TEST_P()
204 glViewport(0, 0, kTexWidth / 2, kTexHeight / 2); in TEST_P()
209 glViewport(kTexWidth / 2, 0, kTexWidth / 2, kTexHeight / 2); in TEST_P()
213 glViewport(0, kTexHeight / 2, kTexWidth / 2, kTexHeight / 2); in TEST_P()
217 glViewport(kTexWidth / 2, kTexHeight / 2, kTexWidth / 2, kTexHeight / 2); in TEST_P()
225 glViewport(0, 0, kTexWidth, kTexHeight); in TEST_P()
236 EXPECT_PIXEL_COLOR_EQ(1, kTexHeight / 2 + 1, GLColor::red); in TEST_P()
237 EXPECT_PIXEL_COLOR_EQ(kTexWidth / 2 + 1, kTexHeight / 2 + 1, GLColor::red); in TEST_P()