Home
last modified time | relevance | path

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

/third_party/skia/gm/
Dwacky_yuv_formats.cpp1124 SkBitmap readBack; in onDraw() local
1125 readBack.allocPixels(yuv->imageInfo()); in onDraw()
1126 SkAssertResult(yuv->readPixels(dContext, readBack.pixmap(), 0, 0)); in onDraw()
1127 canvas->drawImage(readBack.asImage(), x, y); in onDraw()
/third_party/skia/tests/
DPathTest.cpp2589 SkPath readBack; in write_and_read_back() local
2590 REPORTER_ASSERT(reporter, readBack != p); in write_and_read_back()
2591 reader.readPath(&readBack); in write_and_read_back()
2592 REPORTER_ASSERT(reporter, readBack == p); in write_and_read_back()
2594 REPORTER_ASSERT(reporter, SkPathPriv::GetConvexityOrUnknown(readBack) == in write_and_read_back()
2600 REPORTER_ASSERT(reporter, readBack.isOval(nullptr) == p.isOval(nullptr)); in write_and_read_back()
2602 SkPathPriv::IsOval(readBack, &oval1, &dir1, &start1)) { in write_and_read_back()
2607 REPORTER_ASSERT(reporter, readBack.isRRect(nullptr) == p.isRRect(nullptr)); in write_and_read_back()
2610 SkPathPriv::IsRRect(readBack, &rrect1, &dir1, &start1)) { in write_and_read_back()
2616 const SkRect& readBackBounds = readBack.getBounds(); in write_and_read_back()
[all …]
/third_party/skia/dm/
DDMSrcSink.cpp1535 bool GPUSink::readBack(SkSurface* surface, SkBitmap* dst) const { in readBack() function in DM::GPUSink
1586 this->readBack(surface.get(), dst); in onDraw()
1785 if (!this->readBack(surface.get(), dst)) { in draw()
1960 if (!this->readBack(surface.get(), dst)) { in draw()
DDMSrcSink.h414 bool readBack(SkSurface*, SkBitmap* dst) const;