OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SaveLayer
(Results
1 - 10
of
10
) 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
153
Is<
SaveLayer
>,
185
// For some
SaveLayer
-[drawing command]-Restore patterns, merge the
SaveLayer
's alpha into the
186
// draw, and no-op the
SaveLayer
and Restore.
188
typedef Pattern<Is<
SaveLayer
>, IsDraw, Is<Restore>> Match;
191
if (match->first<
SaveLayer
>()->backdrop || match->first<
SaveLayer
>()->clipMask) {
196
if (match->first<
SaveLayer
>()->saveLayerFlags & (1U << 31))
[
all
...]
SkPictureCommon.h
129
void operator()(const SkRecords::
SaveLayer
& op) {
SkRecords.h
52
M(
SaveLayer
) \
182
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(Save) M(Restore) M(
SaveLayer
) \
92
struct
SaveLayer
final : Op {
93
static const auto kType = Type::
SaveLayer
;
94
SaveLayer
(const SkRect* bounds, const SkPaint* paint,
111
c->
saveLayer
({ maybe_unset(bounds), &paint, backdrop.get(), clipMask.get(),
535
void SkLiteDL::
saveLayer
(const SkRect* bounds, const SkPaint* paint,
538
this->push<
SaveLayer
>(0, bounds, paint, backdrop, clipMask, clipMatrix, flags);
SkRecordDraw.cpp
78
DRAW(
SaveLayer
,
saveLayer
(SkCanvas::SaveLayerRec(r.bounds,
264
// Restore holds the devBounds for the clip after the {save,
saveLayer
}/restore block completes.
267
// paired
saveLayer
(if it is one); it has not yet been popped off the save stack. Our
268
// devBounds reflect the state of the world after the
saveLayer
/restore block is done,
269
// so they are not affected by the
saveLayer
's paint.
279
// We also take advantage of
SaveLayer
bounds when present to further cut the clip down.
280
void updateClipBounds(const
SaveLayer
& op) {
290
void trackBounds(const
SaveLayer
& op) { this->pushSaveBlock(op.paint); }
SkRecorder.cpp
354
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/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
404
canvas->
saveLayer
(nullptr, nullptr);
409
TEST_STEP(
SaveLayer
, SaveLayerStep);
414
canvas->
saveLayer
(&d.fRect, nullptr);
424
canvas->
saveLayer
(nullptr, &d.fPaint);
637
n = canvas.
saveLayer
(nullptr, nullptr);
/external/skia/tools/debugger/
SkDrawCommand.cpp
247
case kSaveLayer_OpType: return "
SaveLayer
";
304
INSTALL_FACTORY(
SaveLayer
);
[
all
...]
Completed in 245 milliseconds