Home
last modified time | relevance | path

Searched refs:readBack (Results 1 – 4 of 4) sorted by relevance

/external/skia/gm/
Dwacky_yuv_formats.cpp1125 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/
DPathTest.cpp2634 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/
DDMSrcSink.h398 bool readBack(SkSurface*, SkBitmap* dst) const;
DDMSrcSink.cpp1517 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()