Home
last modified time | relevance | path

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

/external/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()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateVPTests.cpp273 const deInt32 quarterHeight = HEIGHT / 4; in iterate() local
285 { { quarterWidth, quarterHeight }, { quarterWidth, quarterHeight } }, in iterate()
286 { { (deInt32)halfWidth, quarterHeight }, { quarterWidth, quarterHeight } }, in iterate()
287 { { (deInt32)halfWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
288 { { quarterWidth, (deInt32)halfHeight }, { quarterWidth, quarterHeight } }, in iterate()
/external/angle/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.cpp966 int quarterHeight = windowHeight / 4; in testDrawElementsLineLoopUsingClientSideMemory() local
969 EXPECT_PIXEL_COLOR_EQ(quarterWidth, quarterHeight, GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
972 EXPECT_PIXEL_COLOR_EQ(quarterWidth, (quarterHeight * 3), GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
975 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 3), (quarterHeight * 3) - 1, GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
978 EXPECT_PIXEL_COLOR_EQ((quarterWidth * 2), quarterHeight, GLColor::green); in testDrawElementsLineLoopUsingClientSideMemory()
/external/skqp/docs/
DSkImage_Reference.bmh1310 int quarterHeight = image->height() / 4;
1314 SkPixmap pixmap(SkImageInfo::MakeN32Premul(quarterWidth, quarterHeight),
1317 image->readPixels(pixmap, x * quarterWidth, y * quarterHeight);
1345 int quarterHeight = image->height() / 16;
1346 srcPixels.resize(quarterHeight * rowBytes);
1347 SkPixmap pixmap(SkImageInfo::MakeN32Premul(quarterWidth, quarterHeight),
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...