/third_party/flutter/skia/src/gpu/ |
D | GrProcessorAnalysis.h | 25 , fColor(SK_PMColor4fTRANSPARENT) {} 30 fColor = color; in setToConstant() 49 *color = fColor; 60 return (kColorIsKnown_Flag & fFlags) ? fColor == that.fColor : true; 68 if ((kColorIsKnown_Flag & commonFlags) && a.fColor == b.fColor) { in Combine() 69 result.fColor = a.fColor; in Combine() 83 SkPMColor4f fColor; variable
|
/third_party/skia/src/gpu/ |
D | GrProcessorAnalysis.h | 25 , fColor(SK_PMColor4fTRANSPARENT) {} 30 fColor = color; in setToConstant() 49 *color = fColor; 60 return (kColorIsKnown_Flag & fFlags) ? fColor == that.fColor : true; 68 if ((kColorIsKnown_Flag & commonFlags) && a.fColor == b.fColor) { in Combine() 69 result.fColor = a.fColor; in Combine() 83 SkPMColor4f fColor; variable
|
D | GrColor.h | 104 memcpy(fColor, color.vec(), sizeof(fColor)); in set() 106 fColor[0] = color.toBytes_RGBA(); in set() 117 uint32_t fColor[4]; variable 124 w << color.fColor[0]; 126 w << color.fColor[1] 127 << color.fColor[2] 128 << color.fColor[3];
|
D | GrPaint.cpp | 17 , fColor(that.fColor) { in GrPaint() 48 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) { in isConstantBlendedColor() 49 *constantColor = fColor; in isConstantBlendedColor()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrShadowRRectOp.cpp | 243 fGeoData[i].fColor, fGeoData[i].fDevBounds.fLeft, fGeoData[i].fDevBounds.fTop, in dumpInfo() 262 GrColor fColor; member 274 GrColor fColor; member 281 GrColor color = args.fColor; in fillInCircleVerts() 297 (*verts)->fColor = color; in fillInCircleVerts() 303 (*verts)->fColor = color; in fillInCircleVerts() 309 (*verts)->fColor = color; in fillInCircleVerts() 315 (*verts)->fColor = color; in fillInCircleVerts() 321 (*verts)->fColor = color; in fillInCircleVerts() 327 (*verts)->fColor = color; in fillInCircleVerts() [all …]
|
D | GrClearOp.h | 44 string.appendf("], Color: 0x%08x\n", fColor.toBytes_RGBA()); in dumpInfo() 49 const SkPMColor4f& color() const { return fColor; } in color() 50 void setColor(const SkPMColor4f& color) { fColor = color; } in setColor() 60 , fColor(color) { in GrClearOp() 78 fColor = cb->fColor; in onCombineIfPossible() 80 } else if (cb->fColor == fColor && this->contains(cb)) { in onCombineIfPossible() 98 SkPMColor4f fColor; variable
|
/third_party/flutter/skia/src/shaders/ |
D | SkLights.h | 34 , fColor(other.fColor) in Light() 40 , fColor(other.fColor) in Light() 57 const SkColor3f& color() const { return fColor; } in color() 77 fColor = other.fColor; 85 (fColor == other.fColor) && 98 , fColor(color) in Light() 103 SkColor3f fColor; // linear (unpremul) color. Range is 0..1 in each channel. variable
|
D | SkColorShader.cpp | 17 SkColorShader::SkColorShader(SkColor c) : fColor(c) {} in SkColorShader() 20 return SkColorGetA(fColor) == 255; in isOpaque() 28 buffer.writeColor(fColor); in flatten() 34 info->fColors[0] = fColor; in asAGradient() 44 , fColor(color) in SkColor4Shader() 59 buffer.writeColor4f(fColor); in flatten() 78 SkColor4f color = SkColor4f::FromColor(fColor); in onAppendStages() 86 SkColor4f color = fColor; in onAppendStages() 102 SkPMColor4f color = SkColorToPMColor4f(fColor, *args.fDstColorSpaceInfo); in asFragmentProcessor() 110 SkColor4f color = fColor; in asFragmentProcessor()
|
D | SkColorShader.h | 41 *lum = fColor; in onAsLuminanceColor() 47 SkColor fColor; variable 54 bool isOpaque() const override { return fColor.isOpaque(); } in isOpaque() 68 const SkColor4f fColor; variable
|
/third_party/skia/src/shaders/ |
D | SkColorShader.cpp | 18 SkColorShader::SkColorShader(SkColor c) : fColor(c) {} in SkColorShader() 21 return SkColorGetA(fColor) == 255; in isOpaque() 29 buffer.writeColor(fColor); in flatten() 35 info->fColors[0] = fColor; in asAGradient() 45 , fColor({color.fR, color.fG, color.fB, SkTPin(color.fA, 0.0f, 1.0f)}) in SkColor4Shader() 60 buffer.writeColor4f(fColor); in flatten() 79 SkColor4f color = SkColor4f::FromColor(fColor); in onAppendStages() 87 SkColor4f color = fColor; in onAppendStages() 99 SkColor4f color = SkColor4f::FromColor(fColor); in onProgram() 109 SkColor4f color = fColor; in onProgram() [all …]
|
/third_party/skia/src/gpu/ops/ |
D | ShadowRRectOp.cpp | 251 GrColor fColor; member 263 GrColor fColor; member 270 GrColor color = args.fColor; in fillInCircleVerts() 286 (*verts)->fColor = color; in fillInCircleVerts() 292 (*verts)->fColor = color; in fillInCircleVerts() 298 (*verts)->fColor = color; in fillInCircleVerts() 304 (*verts)->fColor = color; in fillInCircleVerts() 310 (*verts)->fColor = color; in fillInCircleVerts() 316 (*verts)->fColor = color; in fillInCircleVerts() 322 (*verts)->fColor = color; in fillInCircleVerts() [all …]
|
D | ClearOp.cpp | 49 , fColor(color) in ClearOp() 64 fColor = other->fColor; in onCombineIfPossible() 67 } else if (other->fColor == fColor && other->fStencilInsideMask == fStencilInsideMask && in onCombineIfPossible() 75 fColor = other->fColor; in onCombineIfPossible() 89 state->opsRenderPass()->clear(fScissor, fColor); in onExecute()
|
D | ClearOp.h | 35 const std::array<float, 4>& color() const { return fColor; } in color() 71 string.appendf("], Color: {%g, %g, %g, %g}\n", fColor[0], fColor[1], fColor[2], fColor[3]); in onDumpInfo() 77 std::array<float, 4> fColor; variable
|
/third_party/flutter/skia/bench/ |
D | VertexColorSpaceBench.cpp | 130 , fColor(color) { in Op() 145 , fColor(color) in Op() 179 SkColor4f fColor; in onPrepareDraws() member 185 v[i + 0].fColor = fColor4f; in onPrepareDraws() 187 v[i + 1].fColor = fColor4f; in onPrepareDraws() 192 uint64_t fColor; in onPrepareDraws() member 204 v[i + 0].fColor = color; in onPrepareDraws() 206 v[i + 1].fColor = color; in onPrepareDraws() 211 GrColor fColor; in onPrepareDraws() member 217 v[i + 0].fColor = fColor; in onPrepareDraws() [all …]
|
/third_party/skia/modules/svg/include/ |
D | SkSVGTypes.h | 170 SkSVGColor() : fType(Type::kColor), fColor(SK_ColorBLACK) {} in SkSVGColor() 171 explicit SkSVGColor(Type t) : fType(t), fColor(SK_ColorBLACK) {} in SkSVGColor() 172 explicit SkSVGColor(const SkSVGColorType& c) : fType(Type::kColor), fColor(c) {} in SkSVGColor() 174 return fType == other.fType && fColor == other.fColor; 179 const SkSVGColorType& color() const { SkASSERT(fType == Type::kColor); return fColor; } in color() 183 SkSVGColorType fColor; variable 194 SkSVGPaint() : fType(Type::kNone), fColor(SK_ColorBLACK) {} in SkSVGPaint() 195 explicit SkSVGPaint(Type t) : fType(t), fColor(SK_ColorBLACK) {} in SkSVGPaint() 196 explicit SkSVGPaint(const SkSVGColor& c) : fType(Type::kColor), fColor(c) {} in SkSVGPaint() 198 : fType(Type::kIRI), fColor(fallback_color), fIRI(iri) {} in SkSVGPaint() [all …]
|
/third_party/skia/bench/ |
D | VertexColorSpaceBench.cpp | 141 , fColor(color) { in Op() 156 , fColor(color) in Op() 217 SkColor4f fColor; in onPrepareDraws() member 223 v[i + 0].fColor = fColor4f; in onPrepareDraws() 225 v[i + 1].fColor = fColor4f; in onPrepareDraws() 230 uint64_t fColor; in onPrepareDraws() member 242 v[i + 0].fColor = color; in onPrepareDraws() 244 v[i + 1].fColor = color; in onPrepareDraws() 249 GrColor fColor; in onPrepareDraws() member 255 v[i + 0].fColor = fColor; in onPrepareDraws() [all …]
|
/third_party/skia/src/gpu/effects/ |
D | GrBezierEffect.cpp | 26 if (fColor != ce.fColor) { in setData() 27 pdman.set4fv(fColorUniform, 1, ce.fColor.vec()); in setData() 28 fColor = ce.fColor; in setData() 42 SkPMColor4f fColor = SK_PMColor4fILLEGAL; member in GrConicEffect::Impl 173 , fColor(color) in GrConicEffect() 214 if (qe.fColor != fColor) { in setData() 215 pdman.set4fv(fColorUniform, 1, qe.fColor.vec()); in setData() 216 fColor = qe.fColor; in setData() 230 SkPMColor4f fColor = SK_PMColor4fILLEGAL; member in GrQuadEffect::Impl 326 , fColor(color) in GrQuadEffect()
|
/third_party/flutter/skia/include/private/ |
D | SkEncodedInfo.h | 160 auto ct = kGray_Color == fColor ? kGray_8_SkColorType : in makeImageInfo() 161 kXAlpha_Color == fColor ? kAlpha_8_SkColorType : in makeImageInfo() 162 k565_Color == fColor ? kRGB_565_SkColorType : in makeImageInfo() 176 Color color() const { return fColor; } in color() 187 switch (fColor) { in bitsPerPixel() 221 auto copy = SkEncodedInfo::Make(fWidth, fHeight, fColor, fAlpha, fBitsPerComponent); in copy() 233 , fColor(color) in SkEncodedInfo() 241 Color fColor; member
|
/third_party/skia/include/private/ |
D | SkEncodedInfo.h | 162 auto ct = kGray_Color == fColor ? kGray_8_SkColorType : in makeImageInfo() 163 kXAlpha_Color == fColor ? kAlpha_8_SkColorType : in makeImageInfo() 164 k565_Color == fColor ? kRGB_565_SkColorType : in makeImageInfo() 178 Color color() const { return fColor; } in color() 189 switch (fColor) { in bitsPerPixel() 223 auto copy = SkEncodedInfo::Make(fWidth, fHeight, fColor, fAlpha, fBitsPerComponent); in copy() 235 , fColor(color) in SkEncodedInfo() 243 Color fColor; member
|
/third_party/flutter/skia/modules/skparagraph/include/ |
D | TextStyle.h | 50 SkColor fColor; member 56 this->fColor == other.fColor && 72 SkColor getColor() const { return fColor; } in getColor() 73 void setColor(SkColor color) { fColor = color; } in setColor() 94 SkColor getDecorationColor() const { return fDecoration.fColor; } in getDecorationColor() 101 void setDecorationColor(SkColor color) { fDecoration.fColor = color; } in setDecorationColor() 161 SkColor fColor; variable
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | TextStyle.cpp | 12 fColor = SK_ColorWHITE; in TextStyle() 16 fDecoration.fColor = SK_ColorTRANSPARENT; in TextStyle() 32 if (fColor != other.fColor) { in equals() 84 return !other.fHasForeground && fColor == other.fColor; in matchOneAttribute()
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | Gradient.cpp | 141 current_stop.fColor.fR, in onSync() 142 current_stop.fColor.fG, in onSync() 143 current_stop.fColor.fB }; in onSync() 146 : OpacityRec{ c_rec->t, current_stop.fColor.fA }; in onSync() 164 lerp(current_stop.fColor.fR, cs.r, t_c ), in onSync() 165 lerp(current_stop.fColor.fG, cs.g, t_c ), in onSync() 166 lerp(current_stop.fColor.fB, cs.b, t_c ), in onSync() 167 lerp(current_stop.fColor.fA, os.a, t_o) in onSync()
|
/third_party/skia/src/core/ |
D | SkModeColorFilter.cpp | 27 fColor = color; in SkModeColorFilter() 33 *color = fColor; in onAsAColorMode() 53 buffer.writeColor(fColor); in flatten() 65 SkColor4f color = SkColor4f::FromColor(fColor); in onAppendStages() 76 SkColor4f color = SkColor4f::FromColor(fColor); in onProgram() 102 auto colorFP = GrFragmentProcessor::MakeColor(SkColorToPMColor4f(fColor, dstColorInfo)); in asFragmentProcessor()
|
/third_party/flutter/skia/samplecode/ |
D | SampleHT.cpp | 48 SkColor fColor; member in HTDrawable 56 fColor = rand_opaque_color(rand.nextU()); in HTDrawable() 67 color_to_floats(fColor, values); values[4] = 0; in spawnAnimation() 71 color_to_floats(rand_opaque_color(fColor), values); values[4] = 360; in spawnAnimation() 95 fColor = floats_to_color(values); in onDraw() 109 paint.setColor(fColor); in onDraw()
|
/third_party/skia/experimental/graphite/src/ |
D | DrawList.cpp | 19 : fColor(color) in PaintParams() 24 : fColor(other.fColor) in PaintParams() 31 fColor = other.fColor; in operator =()
|