Home
last modified time | relevance | path

Searched refs:paintColor (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/src/pdf/
DSkPDFShader.cpp26 static void draw(SkCanvas* canvas, const SkImage* image, SkColor4f paintColor) { in draw() argument
27 SkPaint paint(paintColor); in draw()
41 const SkMatrix& matrix, SkColor4f paintColor) { in draw_matrix() argument
44 draw(canvas, image, paintColor); in draw_matrix()
48 const SkMatrix& matrix, SkColor4f paintColor) { in draw_bitmap_matrix() argument
51 SkPaint paint(paintColor); in draw_bitmap_matrix()
80 SkColor4f paintColor) { in make_image_shader() argument
121 draw(&canvas, image, paintColor); in make_image_shader()
125 draw_matrix(&canvas, image, scale_translate(-1, 1, 2 * width, 0), paintColor); in make_image_shader()
129 draw_matrix(&canvas, image, scale_translate(1, -1, 0, 2 * height), paintColor); in make_image_shader()
[all …]
DSkPDFShader.h45 SkColor4f paintColor);
/third_party/flutter/skia/src/pdf/
DSkPDFShader.cpp25 static void draw(SkCanvas* canvas, const SkImage* image, SkColor4f paintColor) { in draw() argument
26 SkPaint paint(paintColor); in draw()
40 const SkMatrix& matrix, SkColor4f paintColor) { in draw_matrix() argument
43 draw(canvas, image, paintColor); in draw_matrix()
47 const SkMatrix& matrix, SkColor4f paintColor) { in draw_bitmap_matrix() argument
50 SkPaint paint(paintColor); in draw_bitmap_matrix()
79 SkColor4f paintColor) { in make_image_shader() argument
120 draw(&canvas, image, paintColor); in make_image_shader()
124 draw_matrix(&canvas, image, scale_translate(-1, 1, 2 * width, 0), paintColor); in make_image_shader()
128 draw_matrix(&canvas, image, scale_translate(1, -1, 0, 2 * height), paintColor); in make_image_shader()
[all …]
DSkPDFShader.h45 SkColor4f paintColor);
/third_party/skia/tests/
DImageNewShaderTest.cpp26 SkPaint paintColor; in paint_source() local
27 paintColor.setColor(0xFFFF0000); in paint_source()
28 paintColor.setStyle(SkPaint::kFill_Style); in paint_source()
36 sourceCanvas->drawRect(rect, paintColor); in paint_source()
DDebugLayerManagerTest.cpp60 SkColor paintColor = pixmap.getColor(50, 50); in test_basic() local
61 REPORTER_ASSERT(reporter, paintColor == SK_ColorBLUE); in test_basic()
DHighContrastFilterTest.cpp39 SkColor paintColor = paintResult.getColor(x, y); in DEF_TEST() local
43 paint.getColorFilter()->filterColor(paintColor)); in DEF_TEST()
/third_party/flutter/skia/tests/
DImageNewShaderTest.cpp26 SkPaint paintColor; in paint_source() local
27 paintColor.setColor(0xFFFF0000); in paint_source()
28 paintColor.setStyle(SkPaint::kFill_Style); in paint_source()
36 sourceCanvas->drawRect(rect, paintColor); in paint_source()
DHighContrastFilterTest.cpp39 SkColor paintColor = paintResult.getColor(x, y); in DEF_TEST() local
43 paint.getColorFilter()->filterColor(paintColor)); in DEF_TEST()
/third_party/flutter/skia/src/core/
DSkRasterPipelineBlitter.cpp92 SkColor4f paintColor = paint.getColor4f(); in SkCreateRasterPipelineBlitter() local
94 dstCS, kUnpremul_SkAlphaType).apply(paintColor.vec()); in SkCreateRasterPipelineBlitter()
101 shaderPipeline.append_constant_color(alloc, paintColor.premul().vec()); in SkCreateRasterPipelineBlitter()
102 bool is_opaque = paintColor.fA == 1.0f, in SkCreateRasterPipelineBlitter()
108 bool is_opaque = shader->isOpaque() && paintColor.fA == 1.0f; in SkCreateRasterPipelineBlitter()
112 if (paintColor.fA != 1.0f) { in SkCreateRasterPipelineBlitter()
114 alloc->make<float>(paintColor.fA)); in SkCreateRasterPipelineBlitter()
DSkRasterPipeline.h171 SkColor4f paintColor; member
/third_party/skia/src/core/
DSkRasterPipelineBlitter.cpp100 SkColor4f paintColor = paint.getColor4f(); in SkCreateRasterPipelineBlitter() local
102 dstCS, kUnpremul_SkAlphaType).apply(paintColor.vec()); in SkCreateRasterPipelineBlitter()
109 shaderPipeline.append_constant_color(alloc, paintColor.premul().vec()); in SkCreateRasterPipelineBlitter()
110 bool is_opaque = paintColor.fA == 1.0f, in SkCreateRasterPipelineBlitter()
117 bool is_opaque = shader->isOpaque() && paintColor.fA == 1.0f; in SkCreateRasterPipelineBlitter()
122 if (paintColor.fA != 1.0f) { in SkCreateRasterPipelineBlitter()
124 alloc->make<float>(paintColor.fA)); in SkCreateRasterPipelineBlitter()
DSkVMBlitter.cpp275 SkColor4f paintColor = paint.getColor4f(); in EffectiveParams() local
278 .apply(paintColor.vec()); in EffectiveParams()
286 paintColor, in EffectiveParams()
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/
Dslider_demo.dart185 …final Color paintColor = enableColor.evaluate(enableAnimation).withAlpha((255.0 * activationAnimat…
188 Paint()..color = paintColor,
194 ..color = paintColor
/third_party/skia/src/gpu/ops/
DFillRectOp.cpp82 FillRectOpImpl(GrProcessorSet* processorSet, SkPMColor4f paintColor, GrAAType aaType, in FillRectOpImpl() argument
106 fQuads.append(quad->fDevice, {paintColor, quad->fEdgeFlags}, in FillRectOpImpl()
109 fQuads.append(extra.fDevice, { paintColor, extra.fEdgeFlags }, in FillRectOpImpl()
DFillRRectOp.cpp92 const SkPMColor4f& paintColor,
187 const SkPMColor4f& paintColor, in FillRRectOpImpl() argument
201 , fHeadInstance(arena->make<Instance>(viewMatrix, rrect, localRect, paintColor)) in FillRRectOpImpl()
/third_party/flutter/skia/src/shaders/
DSkRTShader.cpp54 ctx->paintColor = rec.fPaint.getColor4f(); in onAppendStages()
/third_party/skia/src/gpu/v1/
DDevice_drawTexture.cpp328 SkPMColor4f texture_color(SkColor4f paintColor, float entryAlpha, GrColorType srcColorType, in texture_color() argument
330 paintColor.fA *= entryAlpha; in texture_color()
332 return SkColor4fPrepForDst(paintColor, dstColorInfo).premul(); in texture_color()
334 float paintAlpha = SkTPin(paintColor.fA, 0.f, 1.f); in texture_color()
DSurfaceDrawContext.cpp471 SkPMColor4f paintColor; in attemptQuadOptimization() local
473 paint->isConstantBlendedColor(&paintColor)) { in attemptQuadOptimization()
475 constColor = &paintColor; in attemptQuadOptimization()
/third_party/flutter/skia/src/gpu/ops/
DGrFillRectOp.cpp78 FillRectOp(Helper::MakeArgs args, SkPMColor4f paintColor, GrAAType aaType, in FillRectOp() argument
87 fQuads.append(deviceQuad, { paintColor, edgeFlags }, in FillRectOp()
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dchip.dart2582 Color paintColor;
2585 paintColor = theme.showAvatar ? Colors.white : Colors.black.withAlpha(_kCheckmarkAlpha);
2588 paintColor = theme.showAvatar ? Colors.black : Colors.white.withAlpha(_kCheckmarkAlpha);
2592 final ColorTween fadeTween = ColorTween(begin: Colors.transparent, end: paintColor);
2594 paintColor = checkmarkAnimation.status == AnimationStatus.reverse
2596 : paintColor;
2599 ..color = paintColor
/third_party/flutter/skia/src/gpu/
DGrRenderTargetContext.cpp643 SkPMColor4f paintColor; in drawFilledQuad() local
645 paint.isConstantBlendedColor(&paintColor)) { in drawFilledQuad()
647 constColor = &paintColor; in drawFilledQuad()
/third_party/flutter/skia/src/opts/
DSkRasterPipeline_opts.h2581 sk_unaligned_store(rr, F(c->paintColor.fR)); in STAGE()
2582 sk_unaligned_store(gg, F(c->paintColor.fG)); in STAGE()
2583 sk_unaligned_store(bb, F(c->paintColor.fB)); in STAGE()
2584 sk_unaligned_store(aa, F(c->paintColor.fA)); in STAGE()