Home
last modified time | relevance | path

Searched refs:SkPMColor4f (Results 1 – 25 of 269) sorted by relevance

1234567891011

/third_party/flutter/skia/src/gpu/gradients/generated/
DGrUnrolledBinaryGradientColorizer.h21 static std::unique_ptr<GrFragmentProcessor> Make(const SkPMColor4f* colors,
28 SkPMColor4f scale0_1;
29 SkPMColor4f scale2_3;
30 SkPMColor4f scale4_5;
31 SkPMColor4f scale6_7;
32 SkPMColor4f scale8_9;
33 SkPMColor4f scale10_11;
34 SkPMColor4f scale12_13;
35 SkPMColor4f scale14_15;
36 SkPMColor4f bias0_1;
[all …]
DGrDualIntervalGradientColorizer.h19 static std::unique_ptr<GrFragmentProcessor> Make(const SkPMColor4f& c0, const SkPMColor4f& c1,
20 const SkPMColor4f& c2, const SkPMColor4f& c3,
25 SkPMColor4f scale01;
26 SkPMColor4f bias01;
27 SkPMColor4f scale23;
28 SkPMColor4f bias23;
32 GrDualIntervalGradientColorizer(SkPMColor4f scale01, SkPMColor4f bias01, SkPMColor4f scale23, in GrDualIntervalGradientColorizer()
33 SkPMColor4f bias23, float threshold) in GrDualIntervalGradientColorizer()
DGrDualIntervalGradientColorizer.cpp64 const SkPMColor4f& scale01Value = _outer.scale01; in onSetData()
69 const SkPMColor4f& bias01Value = _outer.bias01; in onSetData()
74 const SkPMColor4f& scale23Value = _outer.scale23; in onSetData()
79 const SkPMColor4f& bias23Value = _outer.bias23; in onSetData()
91 SkPMColor4f scale01Prev = {SK_FloatNaN, SK_FloatNaN, SK_FloatNaN, SK_FloatNaN};
92 SkPMColor4f bias01Prev = {SK_FloatNaN, SK_FloatNaN, SK_FloatNaN, SK_FloatNaN};
93 SkPMColor4f scale23Prev = {SK_FloatNaN, SK_FloatNaN, SK_FloatNaN, SK_FloatNaN};
94 SkPMColor4f bias23Prev = {SK_FloatNaN, SK_FloatNaN, SK_FloatNaN, SK_FloatNaN};
129 std::unique_ptr<GrFragmentProcessor> GrDualIntervalGradientColorizer::Make(const SkPMColor4f& c0, in Make()
130 const SkPMColor4f& c1, in Make()
[all …]
DGrSingleIntervalGradientColorizer.h19 static std::unique_ptr<GrFragmentProcessor> Make(SkPMColor4f start, SkPMColor4f end) { in Make()
26 SkPMColor4f start;
27 SkPMColor4f end;
30 GrSingleIntervalGradientColorizer(SkPMColor4f start, SkPMColor4f end) in GrSingleIntervalGradientColorizer()
DGrClampedGradientEffect.h21 std::unique_ptr<GrFragmentProcessor> gradLayout, SkPMColor4f leftBorderColor, in Make()
22 SkPMColor4f rightBorderColor, bool makePremul, bool colorsAreOpaque) { in Make()
32 SkPMColor4f leftBorderColor;
33 SkPMColor4f rightBorderColor;
40 SkPMColor4f leftBorderColor, SkPMColor4f rightBorderColor, in GrClampedGradientEffect()
/third_party/flutter/skia/src/gpu/gradients/
DGrDualIntervalGradientColorizer.fp11 layout(ctype=SkPMColor4f, tracked) in uniform float4 scale01;
12 layout(ctype=SkPMColor4f, tracked) in uniform float4 bias01;
15 layout(ctype=SkPMColor4f, tracked) in uniform float4 scale23;
16 layout(ctype=SkPMColor4f, tracked) in uniform float4 bias23;
38 static std::unique_ptr<GrFragmentProcessor> Make(const SkPMColor4f& c0, const SkPMColor4f& c1,
39 const SkPMColor4f& c2, const SkPMColor4f& c3,
45 …const SkPMColor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float …
DGrUnrolledBinaryGradientColorizer.fp17 layout(ctype=SkPMColor4f) in uniform float4 scale0_1;
18 layout(ctype=SkPMColor4f, when=intervalCount > 1) in uniform float4 scale2_3;
19 layout(ctype=SkPMColor4f, when=intervalCount > 2) in uniform float4 scale4_5;
20 layout(ctype=SkPMColor4f, when=intervalCount > 3) in uniform float4 scale6_7;
21 layout(ctype=SkPMColor4f, when=intervalCount > 4) in uniform float4 scale8_9;
22 layout(ctype=SkPMColor4f, when=intervalCount > 5) in uniform float4 scale10_11;
23 layout(ctype=SkPMColor4f, when=intervalCount > 6) in uniform float4 scale12_13;
24 layout(ctype=SkPMColor4f, when=intervalCount > 7) in uniform float4 scale14_15;
26 layout(ctype=SkPMColor4f) in uniform float4 bias0_1;
27 layout(ctype=SkPMColor4f, when=intervalCount > 1) in uniform float4 bias2_3;
[all …]
/third_party/flutter/skia/src/gpu/effects/generated/
DGrOverrideInputFragmentProcessor.h20 const SkPMColor4f& color) { in OptFlags()
32 SkPMColor4f constantOutputForConstantInput(const SkPMColor4f& input) const override { in constantOutputForConstantInput()
37 const SkPMColor4f& color,
47 SkPMColor4f uniformColor;
48 SkPMColor4f literalColor;
53 SkPMColor4f uniformColor, in GrOverrideInputFragmentProcessor()
54 SkPMColor4f literalColor) in GrOverrideInputFragmentProcessor()
DGrConstColorProcessor.h23 static OptimizationFlags OptFlags(const SkPMColor4f& color, InputMode mode) { in OptFlags()
34 SkPMColor4f constantOutputForConstantInput(const SkPMColor4f& input) const override { in constantOutputForConstantInput()
45 static std::unique_ptr<GrFragmentProcessor> Make(SkPMColor4f color, InputMode mode) { in Make()
51 SkPMColor4f color;
55 GrConstColorProcessor(SkPMColor4f color, InputMode mode) in GrConstColorProcessor()
/third_party/flutter/skia/src/gpu/ops/
DGrClearOp.h23 const SkPMColor4f& color,
28 const SkPMColor4f& color,
49 const SkPMColor4f& color() const { return fColor; } in color()
50 void setColor(const SkPMColor4f& color) { fColor = color; } in setColor()
55 GrClearOp(const GrFixedClip& clip, const SkPMColor4f& color, GrSurfaceProxy* proxy);
57 GrClearOp(const SkIRect& rect, const SkPMColor4f& color, bool fullScreen) in GrClearOp()
98 SkPMColor4f fColor;
/third_party/skia/src/gpu/gradients/
DGrGradientShader.cpp36 static std::unique_ptr<GrFragmentProcessor> make_textured_colorizer(const SkPMColor4f* colors, in make_textured_colorizer()
68 static std::unique_ptr<GrFragmentProcessor> make_single_interval_colorizer(const SkPMColor4f& start, in make_single_interval_colorizer()
69 const SkPMColor4f& end) { in make_single_interval_colorizer()
85 static std::unique_ptr<GrFragmentProcessor> make_dual_interval_colorizer(const SkPMColor4f& c0, in make_dual_interval_colorizer()
86 const SkPMColor4f& c1, in make_dual_interval_colorizer()
87 const SkPMColor4f& c2, in make_dual_interval_colorizer()
88 const SkPMColor4f& c3, in make_dual_interval_colorizer()
135 const SkPMColor4f* scale, in make_unrolled_colorizer()
136 const SkPMColor4f* bias, in make_unrolled_colorizer()
247 const SkPMColor4f* scale, in make_looping_colorizer()
[all …]
/third_party/flutter/skia/src/gpu/effects/
DGrConstColorProcessor.fp16 layout(ctype=SkPMColor4f, tracked) in uniform half4 color;
40 static OptimizationFlags OptFlags(const SkPMColor4f& color, InputMode mode) {
51 SkPMColor4f constantOutputForConstantInput(const SkPMColor4f& input) const override {
65 SkPMColor4f color;
73 color = SkPMColor4f::FromBytes_RGBA(GrColorPackRGBA(r, g, b, a));
81 color = SkPMColor4f::FromBytes_RGBA(c | (c << 8) | (c << 16) | (c << 24));
DGrBezierEffect.h60 static sk_sp<GrGeometryProcessor> Make(const SkPMColor4f& color,
101 const SkPMColor4f& color() const { return fColor; } in color()
112 GrConicEffect(const SkPMColor4f&, const SkMatrix& viewMatrix, uint8_t coverage, GrClipEdgeType,
115 SkPMColor4f fColor;
144 static sk_sp<GrGeometryProcessor> Make(const SkPMColor4f& color,
185 const SkPMColor4f& color() const { return fColor; } in color()
196 GrQuadEffect(const SkPMColor4f&, const SkMatrix& viewMatrix, uint8_t coverage, GrClipEdgeType,
199 SkPMColor4f fColor;
DGrOverrideInputFragmentProcessor.fp14 layout(when=useUniform, ctype=SkPMColor4f) in uniform half4 uniformColor;
15 layout(when=!useUniform, key, ctype=SkPMColor4f) in half4 literalColor;
19 const SkPMColor4f& color,
28 const SkPMColor4f& color) {
40 SkPMColor4f constantOutputForConstantInput(const SkPMColor4f& input) const override {
/third_party/flutter/skia/src/gpu/
DGrProcessorAnalysis.h27 GrProcessorAnalysisColor(const SkPMColor4f& color) { this->setToConstant(color); } in GrProcessorAnalysisColor()
29 void setToConstant(const SkPMColor4f& color) { in setToConstant()
46 bool isConstant(SkPMColor4f* color = nullptr) const {
83 SkPMColor4f fColor;
126 int initialProcessorsToEliminate(SkPMColor4f* newPipelineInputColor) const { in initialProcessorsToEliminate()
150 SkPMColor4f fLastKnownOutputColor;
DGrPathProcessor.h19 static GrPathProcessor* Create(const SkPMColor4f& color,
27 const SkPMColor4f& color() const { return fColor; } in color()
41 GrPathProcessor(const SkPMColor4f&, const SkMatrix& viewMatrix, const SkMatrix& localMatrix);
43 SkPMColor4f fColor;
/third_party/skia/src/gpu/
DGrProcessorAnalysis.h27 GrProcessorAnalysisColor(const SkPMColor4f& color) { this->setToConstant(color); } in GrProcessorAnalysisColor()
29 void setToConstant(const SkPMColor4f& color) { in setToConstant()
46 bool isConstant(SkPMColor4f* color = nullptr) const {
83 SkPMColor4f fColor;
136 int initialProcessorsToEliminate(SkPMColor4f* newPipelineInputColor) const { in initialProcessorsToEliminate()
161 SkPMColor4f fLastKnownOutputColor;
/third_party/skia/src/gpu/effects/
DGrBezierEffect.h62 const SkPMColor4f& color,
89 GrConicEffect(const SkPMColor4f&, const SkMatrix& viewMatrix, uint8_t coverage,
95 SkPMColor4f fColor;
124 const SkPMColor4f& color,
151 GrQuadEffect(const SkPMColor4f&, const SkMatrix& viewMatrix, uint8_t coverage,
157 SkPMColor4f fColor;
/third_party/flutter/skia/src/core/
DSkColor.cpp133 SkPMColor4f SkPMColor4f::FromPMColor(SkPMColor c) { in FromPMColor()
134 SkPMColor4f color; in FromPMColor()
140 uint32_t SkPMColor4f::toBytes_RGBA() const { in toBytes_RGBA()
145 SkPMColor4f SkPMColor4f::FromBytes_RGBA(uint32_t c) { in FromBytes_RGBA()
146 SkPMColor4f color; in FromBytes_RGBA()
/third_party/flutter/skia/tests/
DProcessorTest.cpp50 SkPMColor4f overrideColor; in finalize()
359 bool fuzzy_color_equals(const SkPMColor4f& c1, const SkPMColor4f& c2) { in fuzzy_color_equals()
389 SkPMColor4f in1f = SkPMColor4f::FromBytes_RGBA(in1); in legal_modulation()
390 SkPMColor4f in2f = SkPMColor4f::FromBytes_RGBA(in2); in legal_modulation()
391 SkPMColor4f in3f = SkPMColor4f::FromBytes_RGBA(in3); in legal_modulation()
392 SkPMColor4f out1f = SkPMColor4f::FromBytes_RGBA(out1); in legal_modulation()
393 SkPMColor4f out2f = SkPMColor4f::FromBytes_RGBA(out2); in legal_modulation()
394 SkPMColor4f out3f = SkPMColor4f::FromBytes_RGBA(out3); in legal_modulation()
400 SkPMColor4f fpPreModulation; in legal_modulation()
413 SkPMColor4f expected1 = alphaModulation ? (fpPreModulation * in1f.fA) in legal_modulation()
[all …]
/third_party/skia/src/core/
DSkRuntimeEffectPriv.h113 SkPMColor4f eval(const SkPMColor4f& inColor,
115 std::function<SkPMColor4f(int, SkPMColor4f)> evalChild) const;
131 SkPMColor4f fImm; // for kImmediate
DSkColor.cpp134 SkPMColor4f SkPMColor4f::FromPMColor(SkPMColor c) { in FromPMColor()
135 SkPMColor4f color; in FromPMColor()
141 uint32_t SkPMColor4f::toBytes_RGBA() const { in toBytes_RGBA()
146 SkPMColor4f SkPMColor4f::FromBytes_RGBA(uint32_t c) { in FromBytes_RGBA()
147 SkPMColor4f color; in FromBytes_RGBA()
DSkBlendModePriv.h33 SkPMColor4f SkBlendMode_Apply(SkBlendMode, const SkPMColor4f& src, const SkPMColor4f& dst);
/third_party/skia/src/gpu/tessellate/shaders/
DGrPathTessellationShader.h20 const SkPMColor4f&);
26 const SkPMColor4f&,
50 const SkPMColor4f&,
59 const SkPMColor4f&,
130 const SkPMColor4f& color, skgpu::PatchAttribs attribs) in GrPathTessellationShader()
/third_party/skia/tests/
DDMSAATest.cpp21 constexpr static SkPMColor4f kTransYellow = {.5f,.5f,.0f,.5f};
22 constexpr static SkPMColor4f kTransCyan = {.0f,.5f,.5f,.5f};
28 const SkPMColor4f& color, in draw_paint_with_aa()
38 const SkPMColor4f& color, in draw_paint_with_dmsaa()
53 static bool fuzzy_equals(const float a[4], const SkPMColor4f& b) { in fuzzy_equals()
66 const SkPMColor4f& color) { in check_sdc_color()
107 SkPMColor4f dstColor = SkBlendMode_Apply(SkBlendMode::kSrcOver, kTransCyan, kTransYellow);
129 SkPMColor4f dstColor = SK_PMColor4fWHITE;
153 SkPMColor4f dstColor = SK_PMColor4fWHITE;
178 SkPMColor4f dstColor = SK_PMColor4fWHITE;

1234567891011