Home
last modified time | relevance | path

Searched refs:saveLayer (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/third_party/flutter/skia/tests/
DRecordOptsTest.cpp80 recorder.saveLayer(nullptr, nullptr); in DEF_TEST()
149 recorder.saveLayer(nullptr, nullptr); in DEF_TEST()
155 recorder.saveLayer(&bounds, nullptr); in DEF_TEST()
163 recorder.saveLayer(nullptr, &translucentLayerPaint); in DEF_TEST()
169 recorder.saveLayer(nullptr, &xfermodeLayerPaint); in DEF_TEST()
175 recorder.saveLayer(nullptr, &alphaOnlyLayerPaint); in DEF_TEST()
181 recorder.saveLayer(nullptr, &alphaOnlyLayerPaint); in DEF_TEST()
192 recorder.saveLayer({ nullptr, nullptr, filter.get(), nullptr, nullptr, 0}); in DEF_TEST()
200 recorder.saveLayer({ nullptr, nullptr, nullptr, surface->makeImageSnapshot().get(), in DEF_TEST()
277 recorder.saveLayer({firstBounds[i], firstPaints[j], outerF, in DEF_TEST()
[all …]
DCanvasStateTest.cpp128 canvas.saveLayer(SkCanvas::SaveLayerRec(&rect, paint.getMaybeNull(), flags[k])); in DEF_TEST()
232 canvas.saveLayer(SkCanvas::SaveLayerRec(&layerBounds, &paint, flags[j])); in DEF_TEST()
310 canvas.saveLayer(SkCanvas::SaveLayerRec(&bounds, nullptr, in DEF_TEST()
320 canvas.saveLayer(&bounds, nullptr); in DEF_TEST()
/third_party/skia/tests/
DRecordOptsTest.cpp80 recorder.saveLayer(nullptr, nullptr); in DEF_TEST()
149 recorder.saveLayer(nullptr, nullptr); in DEF_TEST()
155 recorder.saveLayer(&bounds, nullptr); in DEF_TEST()
163 recorder.saveLayer(nullptr, &translucentLayerPaint); in DEF_TEST()
169 recorder.saveLayer(nullptr, &xfermodeLayerPaint); in DEF_TEST()
175 recorder.saveLayer(nullptr, &alphaOnlyLayerPaint); in DEF_TEST()
181 recorder.saveLayer(nullptr, &alphaOnlyLayerPaint); in DEF_TEST()
192 recorder.saveLayer({ nullptr, nullptr, filter.get(), 0}); in DEF_TEST()
267 recorder.saveLayer({firstBounds[i], firstPaints[j], outerF, 0}); in DEF_TEST()
270 recorder.saveLayer({secondBounds[k], secondPaints[m], innerF, 0}); in DEF_TEST()
[all …]
/third_party/flutter/skia/gm/
Dsavelayer.cpp51 canvas->saveLayer({ &rect, nullptr, nullptr, nullptr, nullptr, in save_layer_unclipped()
104 canvas->saveLayer({ L, T, R, B }, nullptr); in onDraw()
130 canvas->saveLayer({ &rect1, &paint1, nullptr, nullptr, nullptr, flag});
131 canvas->saveLayer({ &rect2, &paint2, nullptr, nullptr, nullptr, flag});
150 canvas->saveLayer(rec);
245 canvas->saveLayer(rec);
267 canvas->saveLayer(nullptr, nullptr);
279 canvas->saveLayer(rec); in __anone39f348d0802()
338 canvas->saveLayer(rec);
348 canvas->saveLayer(rec);
[all …]
Drrectclipdrawpaint.cpp32 canvas->saveLayer(layerRect, nullptr);
39 canvas->saveLayer(layerRect, nullptr);
48 canvas->saveLayer(layerRect, nullptr);
57 canvas->saveLayer(layerRect, nullptr);
Dbackdrop_imagefilter_croprect.cpp42 canvas->saveLayer(nullptr, &imfPaint); in draw_backdrop_filter_gm()
57 canvas->saveLayer({nullptr, nullptr, imageFilter.get(), nullptr, nullptr, in draw_backdrop_filter_gm()
121 canvas->saveLayer(nullptr, &p);
Drecordopts.cpp69 canvas->saveLayer(&targetRect, &layerPaint); in draw_save_layer_draw_rect_restore_sequence()
96 canvas->saveLayer(&targetRect, &layerPaint); in draw_save_layer_draw_bitmap_restore_sequence()
122 canvas->saveLayer(&targetRect, &layerPaint); in draw_svg_opacity_and_filter_layer_sequence()
128 canvas->saveLayer(&targetRect, &drawPaint); in draw_svg_opacity_and_filter_layer_sequence()
Dcrbug_918512.cpp18 canvas->saveLayer(nullptr, nullptr);
25 canvas->saveLayer(nullptr, &lumaFilter);
Dcomplexclip.cpp35 ComplexClipGM(bool aaclip, bool saveLayer, bool invertDraw) in ComplexClipGM() argument
37 , fDoSaveLayer(saveLayer) in ComplexClipGM()
117 canvas->saveLayer(&bounds, nullptr); in onDraw()
/third_party/skia/samplecode/
DSampleLayers.cpp45 canvas->saveLayer(&r, nullptr); in test_fade()
49 canvas->saveLayer(&r, nullptr); in test_fade()
110 canvas->saveLayer(&r, &p); in onDrawContent()
127 canvas->saveLayer(&r, &p); in onDrawContent()
148 canvas->saveLayer(&r, &p); in onDrawContent()
204 canvas->saveLayer(SkCanvas::SaveLayerRec(&bounds, &paint, fFilter.get(), 0)); in onDrawContent()
/third_party/skia/gm/
Drrectclipdrawpaint.cpp32 canvas->saveLayer(layerRect, nullptr);
39 canvas->saveLayer(layerRect, nullptr);
48 canvas->saveLayer(layerRect, nullptr);
57 canvas->saveLayer(layerRect, nullptr);
Dsavelayer.cpp57 canvas->saveLayer(rec);
64 canvas->saveLayer(nullptr, nullptr);
76 canvas->saveLayer(rec); in __anonce92bcd80102()
175 canvas->saveLayer({0, 0, 400, 320}, nullptr);
205 canvas->saveLayer(rec);
Dbackdrop_imagefilter_croprect.cpp42 canvas->saveLayer(nullptr, &imfPaint); in draw_backdrop_filter_gm()
57 canvas->saveLayer(SkCanvas::SaveLayerRec(nullptr, nullptr, imageFilter.get(), in draw_backdrop_filter_gm()
121 canvas->saveLayer(nullptr, &p);
Drecordopts.cpp69 canvas->saveLayer(&targetRect, &layerPaint); in draw_save_layer_draw_rect_restore_sequence()
96 canvas->saveLayer(&targetRect, &layerPaint); in draw_save_layer_draw_bitmap_restore_sequence()
122 canvas->saveLayer(&targetRect, &layerPaint); in draw_svg_opacity_and_filter_layer_sequence()
128 canvas->saveLayer(&targetRect, &drawPaint); in draw_svg_opacity_and_filter_layer_sequence()
Dcrbug_918512.cpp18 canvas->saveLayer(nullptr, nullptr);
25 canvas->saveLayer(nullptr, &lumaFilter);
Dcrbug_1174354.cpp20 canvas->saveLayer(outsetRect, nullptr); in draw_bg_blur()
42 canvas->saveLayer(rec); in draw_bg_blur()
/third_party/flutter/skia/samplecode/
DSampleLayers.cpp51 canvas->saveLayer(&r, nullptr); in test_fade()
55 canvas->saveLayer(&r, nullptr); in test_fade()
117 canvas->saveLayer(&r, &p); in onDrawContent()
135 canvas->saveLayer(&r, &p); in onDrawContent()
157 canvas->saveLayer(&r, &p); in onDrawContent()
214 canvas->saveLayer({ &bounds, &paint, fFilter.get(), nullptr, nullptr, 0 }); in onDrawContent()
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dclip.dart26 canvas.saveLayer(bounds, Paint());
39 /// `bounds` is the saveLayer bounds used for [Clip.antiAliasWithSaveLayer].
47 /// `bounds` is the saveLayer bounds used for [Clip.antiAliasWithSaveLayer].
55 /// `bounds` is the saveLayer bounds used for [Clip.antiAliasWithSaveLayer].
/third_party/flutter/engine/flutter/flow/layers/
Dmask_layer.cc24 skCanvas->saveLayer(maskBounds, nullptr); in Paint()
36 skCanvas->saveLayer(maskBounds, &mask_filter); in Paint()
58 skCanvas->saveLayer(maskBounds, &maskPaint); in Paint()
Dlayer.cc39 paint_context_.internal_nodes_canvas->saveLayer(bounds_, paint); in AutoSaveLayer()
45 paint_context_.internal_nodes_canvas->saveLayer(layer_rec); in AutoSaveLayer()
/third_party/flutter/engine/flutter/flow/ohos_layers/
Dmask_layer.cpp25 skCanvas_->saveLayer(maskBounds, nullptr); in Paint()
37 skCanvas_->saveLayer(maskBounds, &mask_filter); in Paint()
59 skCanvas_->saveLayer(maskBounds, &maskPaint); in Paint()
/third_party/skia/docs/examples/
Dcrbug_918512.cpp11 canvas->saveLayer(nullptr, nullptr); in draw()
18 canvas->saveLayer(nullptr, &lumaFilter); in draw()
DCanvas_saveLayer_4.cpp35 canvas->saveLayer(nullptr, &alpha); in draw()
48 canvas->saveLayer(nullptr, &alpha); in draw()
/third_party/flutter/skia/modules/sksg/src/
DSkSGMaskEffect.cpp28 canvas->saveLayer(this->bounds(), nullptr); in onRender()
34 canvas->saveLayer(this->bounds(), &p); in onRender()
/third_party/skia/modules/sksg/src/
DSkSGMaskEffect.cpp61 canvas->saveLayer(this->bounds(), &mask_layer_paint); in onRender()
69 canvas->saveLayer(this->bounds(), &content_layer_paint); in onRender()

12345678910>>...12