Home
last modified time | relevance | path

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

12

/third_party/skia/gm/
Dp3.cpp120 p.setColor4f(c, p3.get()); in __anon482896710202()
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()
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()
Dmixercolorfilter.cpp119 paint.setColor4f(paintColors[i % SK_ARRAY_COUNT(paintColors)]); in mixRow()
Dconvexpolyeffect.cpp119 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
Dbigrrectaaeffect.cpp101 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
Drrects.cpp133 grPaint.setColor4f({ 0, 0, 0, 1.f }); in onDraw()
Druntimeshader.cpp448 paint.setColor4f({ 0.25f, 0.75f, 0.75f, 1.0f }); in onDraw()
454 paint.setColor4f({ 1.0f, 1.0f, 1.0f, 0.5f }); 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/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/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/experimental/skrive/src/
DColor.cpp38 paint->setColor4f(fColor); in onApply()
DArtboard.cpp130 paint.setColor4f(fColor); in render()
/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()
DSkSLCross.cpp101 crossPaint.setColor4f(SK_PMColor4fWHITE); in run_test()
/third_party/skia/modules/androidkit/src/
DPaint.cpp28 paint->setColor4f({r, g, b, a}); in Paint_SetColor()
/third_party/skia/src/gpu/ops/
DAtlasRenderTask.cpp154 paint.setColor4f(color); in stencilAtlasRect()
/third_party/skia/include/core/
DSkPaint.h247 void setColor4f(const SkColor4f& color, SkColorSpace* colorSpace = nullptr) {

12