Home
last modified time | relevance | path

Searched refs:setColor4f (Results 1 – 25 of 75) sorted by relevance

123

/third_party/skia/gm/
Dp3.cpp120 p.setColor4f(c, p3.get()); in __anon023ee3f20202()
127 paint.setColor4f({1,0,0,1}, p3.get());
143 paint.setColor4f({1,0,0,1}, p3.get());
345 as_bitmap.setColor4f({1,0,0,1}, p3.get());
349 as_shader.setColor4f({1,0,0,1}, p3.get());
398 paint.setColor4f({ 1,0,0,1 }, p3.get());
412 paint.setColor4f({ 1,0,0,1 }, p3.get());
426 paint.setColor4f({ 1,0,0,1 }, p3.get());
444 paint.setColor4f({ 1,0,0,1 }, p3.get());
Dfp_sample_chaining.cpp139 paint.setColor4f({ tx / 3.0f, ty / 3.0f, 0.0f, 1.0f }); in make_test_bitmap()
141 paint.setColor4f({ (3-tx) / 3.0f, (3-ty)/3.0f, 1.0f, 1.0f }); in make_test_bitmap()
Dmanypathatlases.cpp62 teal.setColor4f({.03f, .91f, .87f, 1}); in onDraw()
Ddestcolor.cpp86 invertPaint.setColor4f(SK_PMColor4fWHITE);
Dalpha_image.cpp78 paint.setColor4f({ 0, 1, 0, 0.5f });
Daarecteffect.cpp84 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
Dtessellation.cpp397 borderPaint.setColor4f({0,1,1,1}); in onDraw()
402 borderPaint.setColor4f({1,0,1,1}); in onDraw()
Dmixercolorfilter.cpp119 paint.setColor4f(paintColors[i % SK_ARRAY_COUNT(paintColors)]); in mixRow()
Dgpu_blur_utils.cpp323 paint.setColor4f({0, kAlpha, 0, kAlpha}); in run()
336 paint.setColor4f({0, 0, 0, kAlpha}); in run()
408 paint.setColor4f(b == blur ? SkPMColor4f{0, 0, 1, 1} : SkPMColor4f{1, 0, 0, 1}); in do_very_large_blur_gm()
Dconvexpolyeffect.cpp119 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
/third_party/flutter/skia/gm/
Dp3.cpp121 p.setColor4f(c, p3.get()); in __anon398440470202()
128 paint.setColor4f({1,0,0,1}, p3.get());
144 paint.setColor4f({1,0,0,1}, p3.get());
359 as_bitmap.setColor4f({1,0,0,1}, p3.get());
363 as_shader.setColor4f({1,0,0,1}, p3.get());
413 paint.setColor4f({ 1,0,0,1 }, p3.get());
427 paint.setColor4f({ 1,0,0,1 }, p3.get());
441 paint.setColor4f({ 1,0,0,1 }, p3.get());
459 paint.setColor4f({ 1,0,0,1 }, p3.get());
Dwindowrectangles.cpp218 paint.setColor4f({ 0, 0.25f, 1, 1 }); in onCoverClipStack()
221 paint.setColor4f({ 1, 0.25f, 0.25f, 1 }); in onCoverClipStack()
Dconvexpolyeffect.cpp235 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
275 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
/third_party/skia/src/gpu/
DSkGr.cpp480 grPaint->setColor4f({origColor.fR, origColor.fG, origColor.fB, origColor.fA}); in skpaint_to_grpaint_impl()
486 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl()
502 grPaint->setColor4f(origColor.makeOpaque().premul()); in skpaint_to_grpaint_impl()
516 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl()
525 grPaint->setColor4f(colorFilter->filterColor4f(origColor, dstCS, dstCS).premul()); in skpaint_to_grpaint_impl()
574 grPaint->setColor4f({SkTPin(color.fR, 0.f, 1.f), in skpaint_to_grpaint_impl()
DGrPaint.h50 void setColor4f(const SkPMColor4f& color) { fColor = color; } in setColor4f() function
/third_party/flutter/skia/docs/examples/
DPaint_setColor4f.cpp8 green1.setColor4f({0, 1, 0, 1}, nullptr); // R=0 G=1 B=0 A=1 in draw()
/third_party/skia/docs/examples/
DPaint_setColor4f.cpp8 green1.setColor4f({0, 1, 0, 1}, nullptr); // R=0 G=1 B=0 A=1 in draw()
/third_party/flutter/skia/src/effects/
DSkLayerDrawLooper.cpp76 dst->setColor4f(xferColor(srcColor, dst->getColor4f(), (SkBlendMode)info.fColorMode), in ApplyInfo()
92 dst->setColor4f(c, sk_srgb_singleton()); in ApplyInfo()
325 paint->setColor4f(color, cs); in Make()
/third_party/flutter/skia/src/gpu/
DSkGr.cpp383 grPaint->setColor4f(origColorAsPM); in skpaint_to_grpaint_impl()
399 grPaint->setColor4f(opaqueColor); in skpaint_to_grpaint_impl()
412 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl()
420 grPaint->setColor4f( in skpaint_to_grpaint_impl()
DGrPaint.h50 void setColor4f(const SkPMColor4f& color) { fColor = color; } in setColor4f() function
/third_party/skia/src/effects/
DSkLayerDrawLooper.cpp79 dst->setColor4f(xferColor(srcColor, dst->getColor4f(), (SkBlendMode)info.fColorMode), in ApplyInfo()
95 dst->setColor4f(c, sk_srgb_singleton()); in ApplyInfo()
333 paint->setColor4f(color, cs); in Make()
/third_party/skia/experimental/skrive/src/
DColor.cpp38 paint->setColor4f(fColor); in onApply()
/third_party/skia/tests/
DSkRuntimeEffectTest.cpp487 [](SkCanvas*, SkPaint* paint) { paint->setColor4f({1.0f, 1.0f, 0.0f, 1.0f}); }); in test_RuntimeEffect_Shaders()
595 [](SkCanvas*, SkPaint* paint) { paint->setColor4f({1.0f, 1.0f, 0.0f, 1.0f}); }); in test_RuntimeEffect_Blenders()
601 [](SkCanvas*, SkPaint* paint) { paint->setColor4f({1.0f, 1.0f, 0.0f, 1.0f}); }); in test_RuntimeEffect_Blenders()
609 [](SkCanvas*, SkPaint* paint) { paint->setColor4f({0.0f, 0.0f, 0.0f, 0.497f}); }); in test_RuntimeEffect_Blenders()
791 paint->setColor4f({0.99608f, 0.50196f, 0.0f, 1.0f}); in test_RuntimeEffectStructNameReuse()
DDMSAATest.cpp31 paint.setColor4f(color); in draw_paint_with_aa()
48 paint.setColor4f(color); in draw_paint_with_dmsaa()
/third_party/skia/modules/androidkit/src/
DPaint.cpp28 paint->setColor4f({r, g, b, a}); in Paint_SetColor()

123