Home
last modified time | relevance | path

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

/third_party/flutter/skia/tests/
DTestUtils.cpp25 int pixelCnt = srcContext->width() * srcContext->height(); in test_read_pixels() local
26 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_read_pixels()
27 memset(pixels.get(), 0, sizeof(uint32_t)*pixelCnt); in test_read_pixels()
36 for (int i = 0; i < pixelCnt; ++i) { in test_read_pixels()
48 int pixelCnt = dstContext->width() * dstContext->height(); in test_write_pixels() local
49 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_write_pixels()
DRectangleTextureTest.cpp55 int pixelCnt = w * h; in test_clear() local
56 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear()
97 int pixelCnt = dstContext->width() * dstContext->height(); in test_copy_to_surface() local
98 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_copy_to_surface()
/third_party/skia/tests/
DRectangleTextureTest.cpp50 int pixelCnt = w * h; in test_clear() local
51 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear()
91 int pixelCnt = dstContext->width() * dstContext->height(); in test_copy_to_surface() local
92 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_copy_to_surface()
DTestUtils.cpp29 int pixelCnt = srcContext->width() * srcContext->height(); in TestReadPixels() local
42 for (int i = 0; i < pixelCnt; ++i) { in TestReadPixels()