Home
last modified time | relevance | path

Searched refs:drawPaint (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/third_party/skia/gm/
Drecordopts.cpp45 static void install_detector_color_filter(SkPaint* drawPaint) { in install_detector_color_filter() argument
46 drawPaint->setColorFilter(make_detector_color_filter()); in install_detector_color_filter()
50 static void install_detector_image_filter(SkPaint* drawPaint) { in install_detector_image_filter() argument
51 drawPaint->setImageFilter(SkImageFilters::ColorFilter( in install_detector_image_filter()
52 make_detector_color_filter(), drawPaint->refImageFilter())); in install_detector_image_filter()
70 SkPaint drawPaint; in draw_save_layer_draw_rect_restore_sequence() local
71 drawPaint.setColor(shapeColor); in draw_save_layer_draw_rect_restore_sequence()
72 installDetector(&drawPaint); in draw_save_layer_draw_rect_restore_sequence()
73 canvas->drawRect(targetRect, drawPaint); in draw_save_layer_draw_rect_restore_sequence()
97 SkPaint drawPaint; in draw_save_layer_draw_bitmap_restore_sequence() local
[all …]
Drrectclipdrawpaint.cpp34 canvas->drawPaint(p);
41 canvas->drawPaint(p);
50 canvas->drawPaint(p);
59 canvas->drawPaint(p);
Dbug6643.cpp30 recorder.beginRecording(200, 200)->drawPaint(p);
36 canvas->drawPaint(p);
Dbug6783.cpp40 surface->getCanvas()->drawPaint(p);
54 canvas->drawPaint(p);
/third_party/flutter/skia/gm/
Drecordopts.cpp45 static void install_detector_color_filter(SkPaint* drawPaint) { in install_detector_color_filter() argument
46 drawPaint->setColorFilter(make_detector_color_filter()); in install_detector_color_filter()
50 static void install_detector_image_filter(SkPaint* drawPaint) { in install_detector_image_filter() argument
51 drawPaint->setImageFilter(SkImageFilters::ColorFilter( in install_detector_image_filter()
52 make_detector_color_filter(), drawPaint->refImageFilter())); in install_detector_image_filter()
70 SkPaint drawPaint; in draw_save_layer_draw_rect_restore_sequence() local
71 drawPaint.setColor(shapeColor); in draw_save_layer_draw_rect_restore_sequence()
72 installDetector(&drawPaint); in draw_save_layer_draw_rect_restore_sequence()
73 canvas->drawRect(targetRect, drawPaint); in draw_save_layer_draw_rect_restore_sequence()
97 SkPaint drawPaint; in draw_save_layer_draw_bitmap_restore_sequence() local
[all …]
Drrectclipdrawpaint.cpp34 canvas->drawPaint(p);
41 canvas->drawPaint(p);
50 canvas->drawPaint(p);
59 canvas->drawPaint(p);
Dbug6643.cpp30 recorder.beginRecording(200, 200)->drawPaint(p);
35 canvas->drawPaint(p);
Dbug6783.cpp41 surface->getCanvas()->drawPaint(p);
56 canvas->drawPaint(p);
/third_party/skia/docs/examples/
Dskbug6031.cpp14 canvas->drawPaint(paint); in draw()
18 canvas->drawPaint(paint); in draw()
22 canvas->drawPaint(paint); in draw()
26 canvas->drawPaint(paint); in draw()
30 canvas->drawPaint(paint); in draw()
DSrc_Over.cpp12 canvas->drawPaint(paint); in draw()
18 canvas->drawPaint(paint); in draw()
DDst_In.cpp12 canvas->drawPaint(paint); in draw()
18 canvas->drawPaint(paint); in draw()
DOverlay.cpp12 canvas->drawPaint(paint); in draw()
18 canvas->drawPaint(paint); in draw()
DSrc_In.cpp12 canvas->drawPaint(paint); in draw()
18 canvas->drawPaint(paint); in draw()
/third_party/skia/fuzz/
DFuzzGradients.cpp137 c->drawPaint(p); in fuzzLinearGradient()
140 surface->getCanvas()->drawPaint(p); in fuzzLinearGradient()
175 c->drawPaint(p); in fuzzRadialGradient()
177 surface->getCanvas()->drawPaint(p); in fuzzRadialGradient()
213 c->drawPaint(p); in fuzzTwoPointConicalGradient()
215 surface->getCanvas()->drawPaint(p); in fuzzTwoPointConicalGradient()
249 c->drawPaint(p); in fuzzSweepGradient()
251 surface->getCanvas()->drawPaint(p); in fuzzSweepGradient()
/third_party/flutter/skia/fuzz/
DFuzzGradients.cpp137 c->drawPaint(p); in fuzzLinearGradient()
140 surface->getCanvas()->drawPaint(p); in fuzzLinearGradient()
175 c->drawPaint(p); in fuzzRadialGradient()
177 surface->getCanvas()->drawPaint(p); in fuzzRadialGradient()
213 c->drawPaint(p); in fuzzTwoPointConicalGradient()
215 surface->getCanvas()->drawPaint(p); in fuzzTwoPointConicalGradient()
249 c->drawPaint(p); in fuzzSweepGradient()
251 surface->getCanvas()->drawPaint(p); in fuzzSweepGradient()
/third_party/flutter/skia/tests/
DGradientTest.cpp38 c.drawPaint(paint); in test_big_grad()
149 canvas.drawPaint(paint); in TestConstantGradient()
282 surface->getCanvas()->drawPaint(paint); in test_nearly_vertical()
294 surface->getCanvas()->drawPaint(paint); in test_vertical()
327 surface->getCanvas()->drawPaint(p); in test_two_point_conical_zero_radius()
346 surface->getCanvas()->drawPaint(p); in test_clamping_overflow()
350 surface->getCanvas()->drawPaint(p); in test_clamping_overflow()
366 surface->getCanvas()->drawPaint(p); in test_degenerate_linear()
489 canvas->drawPaint(paint); in test_linear_fuzzer()
536 canvas->drawPaint(paint); in test_sweep_fuzzer()
/third_party/skia/tests/
DGradientTest.cpp41 c.drawPaint(paint); in test_big_grad()
152 canvas.drawPaint(paint); in TestConstantGradient()
285 surface->getCanvas()->drawPaint(paint); in test_nearly_vertical()
297 surface->getCanvas()->drawPaint(paint); in test_vertical()
330 surface->getCanvas()->drawPaint(p); in test_two_point_conical_zero_radius()
349 surface->getCanvas()->drawPaint(p); in test_clamping_overflow()
353 surface->getCanvas()->drawPaint(p); in test_clamping_overflow()
369 surface->getCanvas()->drawPaint(p); in test_degenerate_linear()
522 canvas->drawPaint(paint); in test_linear_fuzzer()
569 canvas->drawPaint(paint); in test_sweep_fuzzer()
DPictureShaderTest.cpp35 surface->getCanvas()->drawPaint(paint); in DEF_TEST()
46 surface->getCanvas()->drawPaint(paint); in DEF_TEST()
93 surface->getCanvas()->drawPaint(paint); in DEF_TEST()
/third_party/skia/src/core/
DSkRecordOpts.cpp195 SkPaint* drawPaint = match->second<SkPaint>(); in onMatch() local
197 if (nullptr == layerPaint && effectively_srcover(drawPaint)) { in onMatch()
202 if (drawPaint == nullptr) { in onMatch()
208 if (!fold_opacity_layer_color_to_paint(layerPaint, false /*isSaveLayer*/, drawPaint)) { in onMatch()
/third_party/flutter/skia/src/core/
DSkRecordOpts.cpp201 SkPaint* drawPaint = match->second<SkPaint>(); in onMatch() local
203 if (nullptr == layerPaint && effectively_srcover(drawPaint)) { in onMatch()
208 if (drawPaint == nullptr) { in onMatch()
214 if (!fold_opacity_layer_color_to_paint(layerPaint, false /*isSaveLayer*/, drawPaint)) { in onMatch()
/third_party/flutter/skia/docs/examples/
DSrc_In.cpp12 canvas->drawPaint(paint); in draw()
18 canvas->drawPaint(paint); in draw()
DDst_Over.cpp12 canvas->drawPaint(paint); in draw()
18 canvas->drawPaint(paint); in draw()
DScreen.cpp12 canvas->drawPaint(paint); in draw()
18 canvas->drawPaint(paint); in draw()
DDst_Out.cpp12 canvas->drawPaint(paint); in draw()
18 canvas->drawPaint(paint); in draw()
DSrc_Over.cpp12 canvas->drawPaint(paint); in draw()
18 canvas->drawPaint(paint); in draw()

12345678910>>...13