Home
last modified time | relevance | path

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

/external/skia/modules/sksg/src/
DSkSGRenderNode.cpp189 SkPaint layer_paint; in setIsolation() local
190 fCtx.modulatePaint(ctm, &layer_paint, /*is_layer_paint = */true); in setIsolation()
191 fCanvas->saveLayer(bounds, &layer_paint); in setIsolation()
212 SkPaint layer_paint; in setFilterIsolation() local
213 fCtx.modulatePaint(ctm, &layer_paint); in setFilterIsolation()
215 SkASSERT(!layer_paint.getImageFilter()); in setFilterIsolation()
216 layer_paint.setImageFilter(std::move(filter)); in setFilterIsolation()
217 fCanvas->saveLayer(bounds, &layer_paint); in setFilterIsolation()
DSkSGRenderEffect.cpp246 SkPaint layer_paint; in onRender() local
249 ctx->modulatePaint(canvas->getTotalMatrix(), &layer_paint); in onRender()
251 layer_paint.setBlendMode(fMode); in onRender()
253 canvas->saveLayer(nullptr, &layer_paint); in onRender()
/external/skqp/modules/sksg/src/
DSkSGRenderNode.cpp64 SkPaint layer_paint; in setIsolation() local
65 if (fCtx.modulatePaint(&layer_paint)) { in setIsolation()
66 fCanvas->saveLayer(bounds, &layer_paint); in setIsolation()
/external/skia/experimental/skrive/src/
DComponent.cpp71 SkPaint layer_paint; in ScopedTransformContext() local
72 layer_paint.setAlphaf(node->getOpacity()); in ScopedTransformContext()
73 canvas->saveLayer(nullptr, &layer_paint); in ScopedTransformContext()