Home
last modified time | relevance | path

Searched refs:kTexWidth (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDiscardFramebufferEXTTest.cpp164 constexpr GLsizei kTexWidth = 256; in TEST_P() local
168 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, kTexWidth, kTexHeight, 0, GL_RGB, GL_UNSIGNED_BYTE, in TEST_P()
176 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, kTexWidth, kTexWidth); 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()
235 EXPECT_PIXEL_COLOR_EQ(kTexWidth / 2 + 1, 1, GLColor::blue); in TEST_P()
237 EXPECT_PIXEL_COLOR_EQ(kTexWidth / 2 + 1, kTexHeight / 2 + 1, GLColor::red); in TEST_P()
DVulkanFramebufferTest.cpp95 static constexpr GLsizei kTexWidth = 100; in TEST_P() local
101 std::vector<GLushort> pixels(kTexWidth * kTexHeight, u16Color); in TEST_P()
102 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA4, kTexWidth, kTexHeight, 0, GL_RGBA, in TEST_P()
DFramebufferTest.cpp1150 static constexpr GLsizei kTexWidth = 16; member in FramebufferTestWithFormatFallback
1201 std::vector<GLushort> pixels(kTexWidth * kTexHeight, u16Color); in texImageFollowedByFBORead()
1204 glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, kTexWidth, kTexHeight, 0, GL_RGBA, type, in texImageFollowedByFBORead()
1209 glTexStorage2D(GL_TEXTURE_2D, 1, internalFormat, kTexWidth, kTexHeight); in texImageFollowedByFBORead()
1210 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kTexWidth, kTexHeight, GL_RGBA, type, in texImageFollowedByFBORead()
1235 EXPECT_PIXEL_EQ(kTexWidth / 2, kTexHeight / 2, kColor.R, kColor.G, kColor.B, kColor.A); in texImageFollowedByFBORead()
1258 std::vector<GLushort> bluePixels(kTexWidth * kTexHeight, u16Color); in copyTexImageFollowedBySampling()
1259 glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, kTexWidth, kTexHeight, 0, GL_RGBA, type, in copyTexImageFollowedBySampling()
1269 EXPECT_PIXEL_EQ(kTexWidth / 2, kTexHeight / 2, 0, 0, 255, 255); in copyTexImageFollowedBySampling()
1275 std::vector<GLushort> redPixels(kTexWidth * kTexHeight, 0xF801); in copyTexImageFollowedBySampling()
[all …]
/third_party/flutter/skia/gm/
Detc1.cpp41 return SkISize::Make(kTexWidth + 2*kPad, kTexHeight + 2*kPad); in onISize()
46 SkImageInfo ii = SkImageInfo::Make(kTexWidth, kTexHeight, kRGB_565_SkColorType, in onOnceBeforeDraw()
50 bm.erase(SK_ColorBLUE, SkIRect::MakeWH(kTexWidth, kTexHeight)); in onOnceBeforeDraw()
53 for (int x = 0; x < kTexWidth; x += 4) { in onOnceBeforeDraw()
71 kTexWidth, kTexHeight, in onDraw()
79 static const int kTexWidth = 16; member in ETC1GM