/third_party/skia/src/core/ |
D | SkRecordOpts.cpp | 90 static bool fold_opacity_layer_color_to_paint(const SkPaint* layerPaint, in fold_opacity_layer_color_to_paint() argument 122 if (layerPaint) { in fold_opacity_layer_color_to_paint() 123 const uint32_t layerColor = layerPaint->getColor(); in fold_opacity_layer_color_to_paint() 130 if (layerPaint->getPathEffect() || in fold_opacity_layer_color_to_paint() 131 layerPaint->getShader() || in fold_opacity_layer_color_to_paint() 132 !layerPaint->isSrcOver() || in fold_opacity_layer_color_to_paint() 133 layerPaint->getMaskFilter() || in fold_opacity_layer_color_to_paint() 134 layerPaint->getColorFilter() || in fold_opacity_layer_color_to_paint() 135 layerPaint->getImageFilter()) { in fold_opacity_layer_color_to_paint() 194 SkPaint* layerPaint = match->first<SaveLayer>()->paint; in onMatch() local [all …]
|
D | SkBitmapDevice.cpp | 304 SkBaseDevice* SkBitmapDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { in onCreateDevice() argument 310 if (layerPaint && layerPaint->getImageFilter()) { in onCreateDevice()
|
/third_party/skia/gm/ |
D | recordopts.cpp | 67 SkPaint layerPaint; in draw_save_layer_draw_rect_restore_sequence() local 68 layerPaint.setColor(SkColorSetARGB(128, 0, 0, 0)); in draw_save_layer_draw_rect_restore_sequence() 69 canvas->saveLayer(&targetRect, &layerPaint); in draw_save_layer_draw_rect_restore_sequence() 94 SkPaint layerPaint; in draw_save_layer_draw_bitmap_restore_sequence() local 95 layerPaint.setColor(SkColorSetARGB(129, 0, 0, 0)); in draw_save_layer_draw_bitmap_restore_sequence() 96 canvas->saveLayer(&targetRect, &layerPaint); in draw_save_layer_draw_bitmap_restore_sequence() 120 SkPaint layerPaint; in draw_svg_opacity_and_filter_layer_sequence() local 121 layerPaint.setColor(SkColorSetARGB(130, 0, 0, 0)); in draw_svg_opacity_and_filter_layer_sequence() 122 canvas->saveLayer(&targetRect, &layerPaint); in draw_svg_opacity_and_filter_layer_sequence()
|
D | fadefilter.cpp | 26 SkPaint layerPaint; variable 27 layerPaint.setImageFilter(SkImageFilters::ColorFilter(std::move(colorFilter), nullptr)); 28 canvas->drawRect(SkRect::MakeLTRB(64, 64, 192, 192), layerPaint);
|
D | savelayer.cpp | 67 SkPaint layerPaint; variable 68 layerPaint.setBlendMode(SkBlendMode::kModulate); 72 auto proc = [layerPaint](SkCanvas* canvas, SkCanvas::SaveLayerRec& rec) { in __anon572f263a0102() 90 SkCanvas::SaveLayerRec rec(&r, &layerPaint, yflags[y] | xflags[x]);
|
D | animatedimageblurs.cpp | 55 SkPaint layerPaint; in onDraw() local 56 layerPaint.setImageFilter(SkImageFilters::Blur(fNodes[i].sigma(), fNodes[i].sigma(), in onDraw() 59 canvas->saveLayer(nullptr, &layerPaint); in onDraw()
|
D | crop_imagefilter.cpp | 200 SkPaint layerPaint; in draw_example() local 201 layerPaint.setImageFilter(std::move(filter)); in draw_example() 205 canvas->saveLayer(hintContent ? &contentBounds : nullptr, &layerPaint); in draw_example()
|
D | runtimeshader.cpp | 104 SkPaint layerPaint; in make_threshold() local 106 layerPaint.setImageFilter(SkImageFilters::Blur(sigma, sigma, nullptr)); in make_threshold() 107 canvas->saveLayer(nullptr, &layerPaint); in make_threshold()
|
D | blurs.cpp | 135 SkPaint layerPaint, p; variable
|
/third_party/skia/tests/ |
D | RecordingXfermodeTest.cpp | 48 SkPaint layerPaint; in draw() local 49 layerPaint.setColor(0xff000000); in draw() 50 layerPaint.setBlendMode(mode); in draw() 59 canvas->saveLayer(nullptr, &layerPaint); in draw()
|
D | PDFPrimitivesTest.cpp | 454 SkPaint layerPaint({0, 0, 0, 0}); in DEF_TEST() local 455 layerPaint.setImageFilter(SkImageFilters::Dilate(536870912, 0, nullptr, nullptr)); in DEF_TEST() 456 layerPaint.setBlendMode(SkBlendMode::kClear); in DEF_TEST() 458 canvas->saveLayer(nullptr, &layerPaint); in DEF_TEST()
|
/third_party/skia/docs/examples/ |
D | BlendModes.cpp | 49 SkPaint layerPaint; in draw() local 50 layerPaint.setBlendMode(mode); in draw() 57 canvas->saveLayer(nullptr, &layerPaint); in draw()
|
/third_party/skia/src/pdf/ |
D | SkPDFDevice.cpp | 212 SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { in onCreateDevice() argument 219 if (layerPaint && (layerPaint->getImageFilter() || layerPaint->getColorFilter())) { in onCreateDevice()
|