Searched refs:pixelCnt (Results 1 – 4 of 4) sorted by relevance
25 int pixelCnt = srcContext->width() * srcContext->height(); in test_read_pixels() local26 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() local49 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_write_pixels()
55 int pixelCnt = w * h; in test_clear() local56 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear()97 int pixelCnt = dstContext->width() * dstContext->height(); in test_copy_to_surface() local98 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_copy_to_surface()
50 int pixelCnt = w * h; in test_clear() local51 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear()91 int pixelCnt = dstContext->width() * dstContext->height(); in test_copy_to_surface() local92 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_copy_to_surface()
29 int pixelCnt = srcContext->width() * srcContext->height(); in TestReadPixels() local42 for (int i = 0; i < pixelCnt; ++i) { in TestReadPixels()