Searched refs:pixelCnt (Results 1 – 4 of 4) sorted by relevance
23 int pixelCnt = srcContext->width() * srcContext->height(); in test_read_pixels() local24 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() local47 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_write_pixels()102 int pixelCnt = dstContext->width() * dstContext->height(); in test_copy_to_surface() local103 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_copy_to_surface()
57 int pixelCnt = w * h; in test_clear() local58 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear()
23 int pixelCnt = srcContext->width() * srcContext->height(); in test_read_pixels() local24 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() local47 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_write_pixels()100 int pixelCnt = dstContext->width() * dstContext->height(); in test_copy_to_surface() local101 SkAutoTMalloc<uint32_t> pixels(pixelCnt); in test_copy_to_surface()