Home
last modified time | relevance | path

Searched refs:SaveLayer (Results 1 – 20 of 20) sorted by relevance

/external/skqp/src/core/
DSkRecordOpts.cpp152 Is<SaveLayer>,
187 typedef Pattern<Is<SaveLayer>, IsDraw, Is<Restore>> Match;
190 if (match->first<SaveLayer>()->backdrop || match->first<SaveLayer>()->clipMask) { in onMatch()
195 if (match->first<SaveLayer>()->saveLayerFlags & (1U << 31)) { in onMatch()
201 SkPaint* layerPaint = match->first<SaveLayer>()->paint; in onMatch()
244 typedef Pattern<Is<SaveLayer>, Is<Save>, Is<ClipRect>, Is<SaveLayer>,
248 if (match->first<SaveLayer>()->backdrop) { in onMatch()
253 SkPaint* opacityPaint = match->first<SaveLayer>()->paint; in onMatch()
261 SkPaint* filterLayerPaint = match->fourth<SaveLayer>()->paint; in onMatch()
DSkPictureCommon.h72 void operator()(const SkRecords::SaveLayer& op) { in operator()
DSkRecords.h53 M(SaveLayer) \
184 RECORD(SaveLayer, kHasPaint_Tag,
DSkLiteDL.cpp51 M(SetDrawFilter) M(Flush) M(Save) M(Restore) M(SaveLayer) \
97 struct SaveLayer final : Op { struct
98 static const auto kType = Type::SaveLayer; argument
99 SaveLayer(const SkRect* bounds, const SkPaint* paint, in SaveLayer() function
554 this->push<SaveLayer>(0, bounds, paint, backdrop, clipMask, clipMatrix, flags); in saveLayer()
DSkRecordDraw.cpp79 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds,
282 void updateClipBounds(const SaveLayer& op) { in updateClipBounds()
292 void trackBounds(const SaveLayer& op) { this->pushSaveBlock(op.paint); } in trackBounds()
DSkRecorder.cpp359 APPEND(SaveLayer, this->copy(rec.fBounds) in getSaveLayerStrategy()
/external/skia/src/core/
DSkRecordOpts.cpp152 Is<SaveLayer>,
187 typedef Pattern<Is<SaveLayer>, IsDraw, Is<Restore>> Match;
190 if (match->first<SaveLayer>()->backdrop || match->first<SaveLayer>()->clipMask) { in onMatch()
195 if (match->first<SaveLayer>()->saveLayerFlags & (1U << 31)) { in onMatch()
201 SkPaint* layerPaint = match->first<SaveLayer>()->paint; in onMatch()
244 typedef Pattern<Is<SaveLayer>, Is<Save>, Is<ClipRect>, Is<SaveLayer>,
248 if (match->first<SaveLayer>()->backdrop) { in onMatch()
253 SkPaint* opacityPaint = match->first<SaveLayer>()->paint; in onMatch()
261 SkPaint* filterLayerPaint = match->fourth<SaveLayer>()->paint; in onMatch()
DSkPictureCommon.h72 void operator()(const SkRecords::SaveLayer& op) { in operator()
DSkRecords.h53 M(SaveLayer) \
184 RECORD(SaveLayer, kHasPaint_Tag,
DSkLiteDL.cpp51 M(SetDrawFilter) M(Flush) M(Save) M(Restore) M(SaveLayer) \
97 struct SaveLayer final : Op { struct
98 static const auto kType = Type::SaveLayer; argument
99 SaveLayer(const SkRect* bounds, const SkPaint* paint, in SaveLayer() function
554 this->push<SaveLayer>(0, bounds, paint, backdrop, clipMask, clipMatrix, flags); in saveLayer()
DSkRecordDraw.cpp79 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds,
282 void updateClipBounds(const SaveLayer& op) { in updateClipBounds()
292 void trackBounds(const SaveLayer& op) { this->pushSaveBlock(op.paint); } in trackBounds()
DSkRecorder.cpp359 APPEND(SaveLayer, this->copy(rec.fBounds) in getSaveLayerStrategy()
/external/skia/tests/
DRecordOptsTest.cpp89 assert_type<SkRecords::SaveLayer>(r, record, 1); in DEF_TEST()
94 assert_type<SkRecords::SaveLayer>(r, record, 0); in DEF_TEST()
114 assert_type<SkRecords::SaveLayer>(r, *record, i); in assert_savelayer_restore()
128 assert_type<SkRecords::SaveLayer>(r, *record, i); in assert_savelayer_draw_restore()
219 assert_type<SkRecords::SaveLayer>(r, *record, i); in assert_merge_svg_opacity_and_filter_layers()
343 const SkRecords::SaveLayer* saveLayer = assert_type<SkRecords::SaveLayer>(r, record, index + 3); in DEF_TEST()
356 assert_type<SkRecords::SaveLayer>(r, record, index); in DEF_TEST()
357 assert_type<SkRecords::SaveLayer>(r, record, index + 1); in DEF_TEST()
DCanvasTest.cpp404 TEST_STEP(SaveLayer, SaveLayerStep);
/external/skqp/tests/
DRecordOptsTest.cpp89 assert_type<SkRecords::SaveLayer>(r, record, 1); in DEF_TEST()
94 assert_type<SkRecords::SaveLayer>(r, record, 0); in DEF_TEST()
114 assert_type<SkRecords::SaveLayer>(r, *record, i); in assert_savelayer_restore()
128 assert_type<SkRecords::SaveLayer>(r, *record, i); in assert_savelayer_draw_restore()
219 assert_type<SkRecords::SaveLayer>(r, *record, i); in assert_merge_svg_opacity_and_filter_layers()
343 const SkRecords::SaveLayer* saveLayer = assert_type<SkRecords::SaveLayer>(r, record, index + 3); in DEF_TEST()
356 assert_type<SkRecords::SaveLayer>(r, record, index); in DEF_TEST()
357 assert_type<SkRecords::SaveLayer>(r, record, index + 1); in DEF_TEST()
DCanvasTest.cpp404 TEST_STEP(SaveLayer, SaveLayerStep);
/external/skqp/tools/
DDumpRecord.cpp58 void print(const SkRecords::SaveLayer& command, double ns) { in print()
123 static const char* NameOf(const SkRecords::SaveLayer&) { in NameOf() argument
/external/skia/tools/
DDumpRecord.cpp58 void print(const SkRecords::SaveLayer& command, double ns) { in print()
123 static const char* NameOf(const SkRecords::SaveLayer&) { in NameOf() argument
/external/skia/tools/debugger/
DSkDrawCommand.cpp305 INSTALL_FACTORY(SaveLayer); in fromJSON()
/external/skqp/tools/debugger/
DSkDrawCommand.cpp305 INSTALL_FACTORY(SaveLayer); in fromJSON()