Home
last modified time | relevance | path

Searched refs:quarterHeight (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/docs/examples/
DImage_scalePixels.cpp10 int quarterHeight = image->height() / 16; in draw() local
11 srcPixels.resize(quarterHeight * rowBytes); in draw()
12 SkPixmap pixmap(SkImageInfo::MakeN32Premul(quarterWidth, quarterHeight), in draw()
DImage_readPixels_2.cpp10 int quarterHeight = image->height() / 4; in draw() local
14 SkPixmap pixmap(SkImageInfo::MakeN32Premul(quarterWidth, quarterHeight), in draw()
17 image->readPixels(pixmap, x * quarterWidth, y * quarterHeight); in draw()
/third_party/skia/docs/examples/
DImage_scalePixels.cpp10 int quarterHeight = image->height() / 16; in draw() local
11 srcPixels.resize(quarterHeight * rowBytes); in draw()
12 SkPixmap pixmap(SkImageInfo::MakeN32Premul(quarterWidth, quarterHeight), in draw()
DImage_readPixels_2.cpp10 int quarterHeight = image->height() / 4; in draw() local
14 SkPixmap pixmap(SkImageInfo::MakeN32Premul(quarterWidth, quarterHeight), in draw()
17 image->readPixels(nullptr, pixmap, x * quarterWidth, y * quarterHeight); in draw()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
DvktDynamicStateVPTests.cpp324 const deInt32 quarterHeight = HEIGHT / 4; in iterate() local
336 { { quarterWidth, quarterHeight }, { quarterWidth, quarterHeight } }, in iterate()
337 { { (deInt32)halfWidth, quarterHeight }, { quarterWidth, quarterHeight } }, in iterate()
338 { { (deInt32)halfWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
339 { { quarterWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateVPTests.cpp324 const deInt32 quarterHeight = HEIGHT / 4; in iterate() local
336 { { quarterWidth, quarterHeight }, { quarterWidth, quarterHeight } }, in iterate()
337 { { (deInt32)halfWidth, quarterHeight }, { quarterWidth, quarterHeight } }, in iterate()
338 { { (deInt32)halfWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
339 { { quarterWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DViewportTest.cpp270 GLint quarterHeight = getWindowHeight() / 4; in TEST_P() local
271 glViewport(quarterWidth, quarterHeight, quarterWidth, quarterHeight); in TEST_P()
DStateChangeTest.cpp1150 int quarterHeight = getWindowHeight() / 4; in validateSquareAndHourglass() local
1153 EXPECT_PIXEL_COLOR_EQ(quarterWidth, quarterHeight, GLColor::blue); in validateSquareAndHourglass()
1156 EXPECT_PIXEL_COLOR_EQ(quarterWidth, (quarterHeight * 3), GLColor::blue); in validateSquareAndHourglass()
1160 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 3), (quarterHeight * 3) - 1, GLColor::blue); in validateSquareAndHourglass()
1163 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 2), quarterHeight * 2, GLColor::blue); in validateSquareAndHourglass()
1166 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 2), quarterHeight, GLColor::blue); in validateSquareAndHourglass()
1300 int quarterHeight = getWindowHeight() / 4; in TEST_P() local
1306 EXPECT_PIXEL_COLOR_EQ(quarterWidth * 2, quarterHeight, GLColor::blue); in TEST_P()
1309 EXPECT_PIXEL_COLOR_EQ(quarterWidth * 2, quarterHeight * 3, GLColor::red); in TEST_P()
1310 EXPECT_PIXEL_COLOR_EQ(quarterWidth, quarterHeight * 2, GLColor::red); in TEST_P()
[all …]
DSimpleOperationTest.cpp838 int quarterHeight = windowHeight / 4; in testDrawElementsLineLoopUsingClientSideMemory() local
841 EXPECT_PIXEL_COLOR_EQ(quarterWidth, quarterHeight, GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
844 EXPECT_PIXEL_COLOR_EQ(quarterWidth, (quarterHeight * 3), GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
847 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 3), (quarterHeight * 3) - 1, GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
850 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 2), quarterHeight, GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DViewportTest.cpp270 GLint quarterHeight = getWindowHeight() / 4; in TEST_P() local
271 glViewport(quarterWidth, quarterHeight, quarterWidth, quarterHeight); in TEST_P()
DStateChangeTest.cpp1326 int quarterHeight = getWindowHeight() / 4; in validateSquareAndHourglass() local
1329 EXPECT_PIXEL_COLOR_EQ(quarterWidth, quarterHeight, GLColor::blue); in validateSquareAndHourglass()
1332 EXPECT_PIXEL_COLOR_EQ(quarterWidth, (quarterHeight * 3), GLColor::blue); in validateSquareAndHourglass()
1336 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 3), (quarterHeight * 3) - 1, GLColor::blue); in validateSquareAndHourglass()
1339 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 2), quarterHeight * 2, GLColor::blue); in validateSquareAndHourglass()
1342 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 2), quarterHeight, GLColor::blue); in validateSquareAndHourglass()
1473 int quarterHeight = getWindowHeight() / 4; in TEST_P() local
1479 EXPECT_PIXEL_COLOR_EQ(quarterWidth * 2, quarterHeight, GLColor::blue); in TEST_P()
1482 EXPECT_PIXEL_COLOR_EQ(quarterWidth * 2, quarterHeight * 3, GLColor::red); in TEST_P()
1483 EXPECT_PIXEL_COLOR_EQ(quarterWidth, quarterHeight * 2, GLColor::red); in TEST_P()
[all …]
DSimpleOperationTest.cpp963 int quarterHeight = windowHeight / 4; in testDrawElementsLineLoopUsingClientSideMemory() local
966 EXPECT_PIXEL_COLOR_EQ(quarterWidth, quarterHeight, GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
969 EXPECT_PIXEL_COLOR_EQ(quarterWidth, (quarterHeight * 3), GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
972 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 3), (quarterHeight * 3) - 1, GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
975 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 2), quarterHeight, GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()