Definition at line 156 of file SkRecordOpts.cpp.
◆ Match
◆ KillSaveLayerAndRestore()
static bool SaveLayerDrawRestoreNooper::KillSaveLayerAndRestore |
( |
SkRecord * |
record, |
|
|
int |
saveLayerIndex |
|
) |
| |
|
inlinestatic |
Definition at line 195 of file SkRecordOpts.cpp.
195 {
196 record->
replace<NoOp>(saveLayerIndex);
197 record->
replace<NoOp>(saveLayerIndex+2);
198 return true;
199 }
◆ onMatch()
bool SaveLayerDrawRestoreNooper::onMatch |
( |
SkRecord * |
record, |
|
|
Match * |
match, |
|
|
int |
begin, |
|
|
int |
end |
|
) |
| |
|
inline |
Definition at line 162 of file SkRecordOpts.cpp.
162 {
163 if (
match->first<SaveLayer>()->backdrop) {
164
165 return false;
166 }
167
168 if (!
match->first<SaveLayer>()->filters.empty()) {
169
170 return false;
171 }
172
173
176
178
180 }
181
182 if (drawPaint == nullptr) {
183
184
185 return false;
186 }
187
189 return false;
190 }
191
193 }
static bool fold_opacity_layer_color_to_paint(const SkPaint *layerPaint, bool isSaveLayer, SkPaint *paint)
static bool effectively_srcover(const SkPaint *paint)
static const char * begin(const StringSlice &s)
static bool KillSaveLayerAndRestore(SkRecord *record, int saveLayerIndex)
The documentation for this struct was generated from the following file: