Searched refs:readBack (Results 1 – 4 of 4) sorted by relevance
/external/skia/gm/ |
D | wacky_yuv_formats.cpp | 1125 SkBitmap readBack; in onDraw() local 1126 readBack.allocPixels(yuv->imageInfo()); in onDraw() 1127 SkAssertResult(yuv->readPixels(dContext, readBack.pixmap(), 0, 0)); in onDraw() 1128 canvas->drawImage(readBack.asImage(), x, y); in onDraw()
|
/external/skia/tests/ |
D | PathTest.cpp | 2634 SkPath readBack; in write_and_read_back() local 2635 REPORTER_ASSERT(reporter, readBack != p); in write_and_read_back() 2636 reader.readPath(&readBack); in write_and_read_back() 2637 REPORTER_ASSERT(reporter, readBack == p); in write_and_read_back() 2639 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(readBack) == in write_and_read_back() 2645 REPORTER_ASSERT(reporter, readBack.isOval(nullptr) == p.isOval(nullptr)); in write_and_read_back() 2647 SkPathPriv::IsOval(readBack, &oval1, &dir1, &start1)) { in write_and_read_back() 2652 REPORTER_ASSERT(reporter, readBack.isRRect(nullptr) == p.isRRect(nullptr)); in write_and_read_back() 2655 SkPathPriv::IsRRect(readBack, &rrect1, &dir1, &start1)) { in write_and_read_back() 2661 const SkRect& readBackBounds = readBack.getBounds(); in write_and_read_back() [all …]
|
/external/skia/dm/ |
D | DMSrcSink.h | 398 bool readBack(SkSurface*, SkBitmap* dst) const;
|
D | DMSrcSink.cpp | 1517 bool GPUSink::readBack(SkSurface* surface, SkBitmap* dst) const { in readBack() function in DM::GPUSink 1574 this->readBack(surface.get(), dst); in onDraw() 1940 if (!this->readBack(surface.get(), dst)) { in draw()
|