Home
last modified time | relevance | path

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

/external/skia/tests/
DTestUtils.cpp23 int pixelCnt = srcContext->width() * srcContext->height(); in test_read_pixels() local
24 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_read_pixels()
25 memset(pixels.get(), 0, sizeof(uint32_t)*pixelCnt); in test_read_pixels()
34 for (int i = 0; i < pixelCnt; ++i) { in test_read_pixels()
46 int pixelCnt = dstContext->width() * dstContext->height(); in test_write_pixels() local
47 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_write_pixels()
102 int pixelCnt = dstContext->width() * dstContext->height(); in test_copy_to_surface() local
103 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_copy_to_surface()
DRectangleTextureTest.cpp57 int pixelCnt = w * h; in test_clear() local
58 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear()
/external/skqp/tests/
DTestUtils.cpp23 int pixelCnt = srcContext->width() * srcContext->height(); in test_read_pixels() local
24 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_read_pixels()
25 memset(pixels.get(), 0, sizeof(uint32_t)*pixelCnt); in test_read_pixels()
34 for (int i = 0; i < pixelCnt; ++i) { in test_read_pixels()
46 int pixelCnt = dstContext->width() * dstContext->height(); in test_write_pixels() local
47 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_write_pixels()
100 int pixelCnt = dstContext->width() * dstContext->height(); in test_copy_to_surface() local
101 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_copy_to_surface()
DRectangleTextureTest.cpp57 int pixelCnt = w * h; in test_clear() local
58 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear()