Searched refs:readbackBitmap (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | GrAHardwareBufferTest.cpp | 191 SkBitmap readbackBitmap; in basic_draw_test_helper() local 192 readbackBitmap.allocN32Pixels(DEV_W, DEV_H); in basic_draw_test_helper() 194 REPORTER_ASSERT(reporter, surface->readPixels(readbackBitmap, 0, 0)); in basic_draw_test_helper() 195 REPORTER_ASSERT(reporter, check_read(reporter, srcBitmap, readbackBitmap)); in basic_draw_test_helper() 200 REPORTER_ASSERT(reporter, surface->readPixels(readbackBitmap, 0, 0)); in basic_draw_test_helper() 201 REPORTER_ASSERT(reporter, check_read(reporter, srcBitmap, readbackBitmap)); in basic_draw_test_helper() 268 SkBitmap readbackBitmap; in surface_draw_test_helper() local 269 readbackBitmap.allocN32Pixels(DEV_W, DEV_H); in surface_draw_test_helper() 271 REPORTER_ASSERT(reporter, surface->readPixels(readbackBitmap, 0, 0)); in surface_draw_test_helper() 272 REPORTER_ASSERT(reporter, check_read(reporter, srcBitmap, readbackBitmap)); in surface_draw_test_helper()
|
D | GrOpListFlushTest.cpp | 78 SkBitmap readbackBitmap; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 79 readbackBitmap.allocN32Pixels(1000, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 80 REPORTER_ASSERT(reporter, surface1->readPixels(readbackBitmap, 0, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 81 REPORTER_ASSERT(reporter, check_read(reporter, readbackBitmap)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 83 REPORTER_ASSERT(reporter, surface2->readPixels(readbackBitmap, 0, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 84 REPORTER_ASSERT(reporter, check_read(reporter, readbackBitmap)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|