Searched refs:readBack (Results 1 – 5 of 5) sorted by relevance
/external/skqp/tests/ |
D | OnFlushCallbackTest.cpp | 583 SkBitmap readBack; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 584 readBack.allocN32Pixels(kFinalWidth, kFinalHeight); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 586 SkDEBUGCODE(bool result =) rtc->readPixels(readBack.info(), readBack.getPixels(), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 587 readBack.rowBytes(), 0, 0); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 595 test_color(reporter, readBack, x, SK_ColorRED); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 597 test_color(reporter, readBack, x, SK_ColorGREEN); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 599 test_color(reporter, readBack, x, SK_ColorBLUE); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 601 test_color(reporter, readBack, x, SK_ColorCYAN); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 603 test_color(reporter, readBack, x, SK_ColorMAGENTA); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 605 test_color(reporter, readBack, x, SK_ColorYELLOW); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | PathTest.cpp | 2599 SkPath readBack; in write_and_read_back() local 2600 REPORTER_ASSERT(reporter, readBack != p); in write_and_read_back() 2601 reader.readPath(&readBack); in write_and_read_back() 2602 REPORTER_ASSERT(reporter, readBack == p); in write_and_read_back() 2604 REPORTER_ASSERT(reporter, readBack.getConvexityOrUnknown() == in write_and_read_back() 2610 REPORTER_ASSERT(reporter, readBack.isOval(nullptr) == p.isOval(nullptr)); in write_and_read_back() 2612 SkPathPriv::IsOval(readBack, &oval1, &dir1, &start1)) { in write_and_read_back() 2617 REPORTER_ASSERT(reporter, readBack.isRRect(nullptr) == p.isRRect(nullptr)); in write_and_read_back() 2620 SkPathPriv::IsRRect(readBack, &rrect1, &dir1, &start1)) { in write_and_read_back() 2626 const SkRect& readBackBounds = readBack.getBounds(); in write_and_read_back() [all …]
|
/external/skia/tests/ |
D | OnFlushCallbackTest.cpp | 588 SkBitmap readBack; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 589 readBack.allocN32Pixels(kFinalWidth, kFinalHeight); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 591 SkDEBUGCODE(bool result =) rtc->readPixels(readBack.info(), readBack.getPixels(), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 592 readBack.rowBytes(), 0, 0); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 600 test_color(reporter, readBack, x, SK_ColorRED); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 602 test_color(reporter, readBack, x, SK_ColorGREEN); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 604 test_color(reporter, readBack, x, SK_ColorBLUE); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 606 test_color(reporter, readBack, x, SK_ColorCYAN); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 608 test_color(reporter, readBack, x, SK_ColorMAGENTA); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 610 test_color(reporter, readBack, x, SK_ColorYELLOW); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | PathTest.cpp | 2599 SkPath readBack; in write_and_read_back() local 2600 REPORTER_ASSERT(reporter, readBack != p); in write_and_read_back() 2601 reader.readPath(&readBack); in write_and_read_back() 2602 REPORTER_ASSERT(reporter, readBack == p); in write_and_read_back() 2604 REPORTER_ASSERT(reporter, readBack.getConvexityOrUnknown() == in write_and_read_back() 2610 REPORTER_ASSERT(reporter, readBack.isOval(nullptr) == p.isOval(nullptr)); in write_and_read_back() 2612 SkPathPriv::IsOval(readBack, &oval1, &dir1, &start1)) { in write_and_read_back() 2617 REPORTER_ASSERT(reporter, readBack.isRRect(nullptr) == p.isRRect(nullptr)); in write_and_read_back() 2620 SkPathPriv::IsRRect(readBack, &rrect1, &dir1, &start1)) { in write_and_read_back() 2626 const SkRect& readBackBounds = readBack.getBounds(); in write_and_read_back() [all …]
|
/external/skia/gm/ |
D | wacky_yuv_formats.cpp | 1047 SkBitmap readBack; in onDraw() local 1048 readBack.allocPixels(as_IB(yuv)->onImageInfo()); in onDraw() 1049 yuv->readPixels(readBack.pixmap(), 0, 0); in onDraw() 1050 canvas->drawBitmap(readBack, x, y); in onDraw()
|