HomeSort by relevance Sort by last modified time
    Searched refs:SaveLayer (Results 1 - 20 of 20) sorted by null

  /external/skia/src/core/
SkRecordOpts.cpp 92 // We assume layerPaint is always from a saveLayer. If isSaveLayer is
108 // modulated with the paint color, so it's fine to proceed with the fold for saveLayer
152 Is<SaveLayer>,
184 // For some SaveLayer-[drawing command]-Restore patterns, merge the SaveLayer's alpha into the
185 // draw, and no-op the SaveLayer and Restore.
187 typedef Pattern<Is<SaveLayer>, IsDraw, Is<Restore>> Match;
190 if (match->first<SaveLayer>()->backdrop || match->first<SaveLayer>()->clipMask) {
195 if (match->first<SaveLayer>()->saveLayerFlags & (1U << 31))
    [all...]
SkPictureCommon.h 72 void operator()(const SkRecords::SaveLayer& op) {
SkRecords.h 53 M(SaveLayer) \
184 RECORD(SaveLayer, kHasPaint_Tag,
SkLiteDL.cpp 26 // A stand-in for an optional SkRect which was not set, e.g. bounds for a saveLayer().
51 M(SetDrawFilter) M(Flush) M(Save) M(Restore) M(SaveLayer) \
97 struct SaveLayer final : Op {
98 static const auto kType = Type::SaveLayer;
99 SaveLayer(const SkRect* bounds, const SkPaint* paint,
116 c->saveLayer({ maybe_unset(bounds), &paint, backdrop.get(), clipMask.get(),
551 void SkLiteDL::saveLayer(const SkRect* bounds, const SkPaint* paint,
554 this->push<SaveLayer>(0, bounds, paint, backdrop, clipMask, clipMatrix, flags);
SkRecordDraw.cpp 79 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds,
266 // Restore holds the devBounds for the clip after the {save,saveLayer}/restore block completes.
269 // paired saveLayer (if it is one); it has not yet been popped off the save stack. Our
270 // devBounds reflect the state of the world after the saveLayer/restore block is done,
271 // so they are not affected by the saveLayer's paint.
281 // We also take advantage of SaveLayer bounds when present to further cut the clip down.
282 void updateClipBounds(const SaveLayer& op) {
292 void trackBounds(const SaveLayer& op) { this->pushSaveBlock(op.paint); }
SkRecorder.cpp 359 APPEND(SaveLayer, this->copy(rec.fBounds)
  /external/skqp/src/core/
SkRecordOpts.cpp 92 // We assume layerPaint is always from a saveLayer. If isSaveLayer is
108 // modulated with the paint color, so it's fine to proceed with the fold for saveLayer
152 Is<SaveLayer>,
184 // For some SaveLayer-[drawing command]-Restore patterns, merge the SaveLayer's alpha into the
185 // draw, and no-op the SaveLayer and Restore.
187 typedef Pattern<Is<SaveLayer>, IsDraw, Is<Restore>> Match;
190 if (match->first<SaveLayer>()->backdrop || match->first<SaveLayer>()->clipMask) {
195 if (match->first<SaveLayer>()->saveLayerFlags & (1U << 31))
    [all...]
SkPictureCommon.h 72 void operator()(const SkRecords::SaveLayer& op) {
SkRecords.h 53 M(SaveLayer) \
184 RECORD(SaveLayer, kHasPaint_Tag,
SkLiteDL.cpp 26 // A stand-in for an optional SkRect which was not set, e.g. bounds for a saveLayer().
51 M(SetDrawFilter) M(Flush) M(Save) M(Restore) M(SaveLayer) \
97 struct SaveLayer final : Op {
98 static const auto kType = Type::SaveLayer;
99 SaveLayer(const SkRect* bounds, const SkPaint* paint,
116 c->saveLayer({ maybe_unset(bounds), &paint, backdrop.get(), clipMask.get(),
551 void SkLiteDL::saveLayer(const SkRect* bounds, const SkPaint* paint,
554 this->push<SaveLayer>(0, bounds, paint, backdrop, clipMask, clipMatrix, flags);
SkRecordDraw.cpp 79 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds,
266 // Restore holds the devBounds for the clip after the {save,saveLayer}/restore block completes.
269 // paired saveLayer (if it is one); it has not yet been popped off the save stack. Our
270 // devBounds reflect the state of the world after the saveLayer/restore block is done,
271 // so they are not affected by the saveLayer's paint.
281 // We also take advantage of SaveLayer bounds when present to further cut the clip down.
282 void updateClipBounds(const SaveLayer& op) {
292 void trackBounds(const SaveLayer& op) { this->pushSaveBlock(op.paint); }
SkRecorder.cpp 359 APPEND(SaveLayer, this->copy(rec.fBounds)
  /external/skia/tools/
DumpRecord.cpp 58 void print(const SkRecords::SaveLayer& command, double ns) {
123 static const char* NameOf(const SkRecords::SaveLayer&) {
  /external/skqp/tools/
DumpRecord.cpp 58 void print(const SkRecords::SaveLayer& command, double ns) {
123 static const char* NameOf(const SkRecords::SaveLayer&) {
  /external/skia/tests/
RecordOptsTest.cpp 81 recorder.saveLayer(nullptr, nullptr);
89 assert_type<SkRecords::SaveLayer>(r, record, 1);
94 assert_type<SkRecords::SaveLayer>(r, record, 0);
114 assert_type<SkRecords::SaveLayer>(r, *record, i);
128 assert_type<SkRecords::SaveLayer>(r, *record, i);
149 // SaveLayer/Restore removed: No paint = no point.
150 recorder.saveLayer(nullptr, nullptr);
156 recorder.saveLayer(&bounds, nullptr);
164 recorder.saveLayer(nullptr, &translucentLayerPaint);
170 recorder.saveLayer(nullptr, &xfermodeLayerPaint)
    [all...]
CanvasTest.cpp 400 canvas->saveLayer(nullptr, nullptr);
404 TEST_STEP(SaveLayer, SaveLayerStep);
409 canvas->saveLayer(&d.fRect, nullptr);
418 canvas->saveLayer(nullptr, &d.fPaint);
629 n = canvas.saveLayer(nullptr, nullptr);
852 canvas.saveLayer(nullptr, &p);
  /external/skqp/tests/
RecordOptsTest.cpp 81 recorder.saveLayer(nullptr, nullptr);
89 assert_type<SkRecords::SaveLayer>(r, record, 1);
94 assert_type<SkRecords::SaveLayer>(r, record, 0);
114 assert_type<SkRecords::SaveLayer>(r, *record, i);
128 assert_type<SkRecords::SaveLayer>(r, *record, i);
149 // SaveLayer/Restore removed: No paint = no point.
150 recorder.saveLayer(nullptr, nullptr);
156 recorder.saveLayer(&bounds, nullptr);
164 recorder.saveLayer(nullptr, &translucentLayerPaint);
170 recorder.saveLayer(nullptr, &xfermodeLayerPaint)
    [all...]
CanvasTest.cpp 400 canvas->saveLayer(nullptr, nullptr);
404 TEST_STEP(SaveLayer, SaveLayerStep);
409 canvas->saveLayer(&d.fRect, nullptr);
418 canvas->saveLayer(nullptr, &d.fPaint);
629 n = canvas.saveLayer(nullptr, nullptr);
852 canvas.saveLayer(nullptr, &p);
  /external/skia/tools/debugger/
SkDrawCommand.cpp 248 case kSaveLayer_OpType: return "SaveLayer";
305 INSTALL_FACTORY(SaveLayer);
    [all...]
  /external/skqp/tools/debugger/
SkDrawCommand.cpp 248 case kSaveLayer_OpType: return "SaveLayer";
305 INSTALL_FACTORY(SaveLayer);
    [all...]

Completed in 343 milliseconds