Home
last modified time | relevance | path

Searched refs:wideColor (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/src/gpu/
DGrColor.h98 explicit GrVertexColor(const SkPMColor4f& color, bool wideColor) { in GrVertexColor() argument
99 this->set(color, wideColor); in GrVertexColor()
102 void set(const SkPMColor4f& color, bool wideColor) { in set() argument
103 if (wideColor) { in set()
108 fWideColor = wideColor; in set()
DGrGeometryProcessor.h231 static Attribute MakeColorAttribute(const char* name, bool wideColor) { in MakeColorAttribute() argument
233 wideColor ? kFloat4_GrVertexAttribType : kUByte4_norm_GrVertexAttribType, in MakeColorAttribute()
/third_party/skia/src/gpu/effects/
DGrBitmapTextGeoProc.h35 bool wideColor, in Make() argument
43 return new (ptr) GrBitmapTextGeoProc(caps, color, wideColor, views, numActiveViews, in Make()
61 GrBitmapTextGeoProc(const GrShaderCaps&, const SkPMColor4f&, bool wideColor,
DGrBitmapTextGeoProc.cpp115 bool wideColor, in GrBitmapTextGeoProc() argument
138 fInColor = MakeColorAttribute("inColor", wideColor); in GrBitmapTextGeoProc()
225 bool wideColor = d->fRandom->nextBool(); in TestCreate() local
230 wideColor, in TestCreate()
DGrDistanceFieldGeoProc.h150 const SkMatrix& matrix, bool wideColor, in Make() argument
154 return new (ptr) GrDistanceFieldPathGeoProc(caps, matrix, wideColor, views, in Make()
174 bool wideColor,
DGrDistanceFieldGeoProc.cpp482 bool wideColor, in GrDistanceFieldPathGeoProc() argument
494 fInColor = MakeColorAttribute("inColor", wideColor); in GrDistanceFieldPathGeoProc()
568 bool wideColor = d->fRandom->nextBool(); in TestCreate() local
571 wideColor, in TestCreate()
/third_party/skia/src/gpu/ops/
DGrSimpleMeshDrawOpHelperWithStencil.cpp28 GrProcessorAnalysisCoverage geometryCoverage, SkPMColor4f* geometryColor, bool* wideColor) { in finalizeProcessors() argument
32 if (wideColor) { in finalizeProcessors()
33 *wideColor = !geometryColor->fitsInBytes(); in finalizeProcessors()
DGrSimpleMeshDrawOpHelper.cpp70 GrProcessorAnalysisCoverage geometryCoverage, SkPMColor4f* geometryColor, bool* wideColor) { in finalizeProcessors() argument
74 if (wideColor) { in finalizeProcessors()
75 *wideColor = !geometryColor->fitsInBytes(); in finalizeProcessors()
DGrOvalOpFactory.cpp71 bool wideColor, const SkMatrix& localMatrix) { in Make() argument
74 roundCaps, wideColor, localMatrix); in Make()
97 bool roundCaps, bool wideColor, const SkMatrix& localMatrix) in CircleGeometryProcessor() argument
102 fInColor = MakeColorAttribute("inColor", wideColor); in CircleGeometryProcessor()
259 bool wideColor = d->fRandom->nextBool(); in TestCreate() local
265 unionPlane, roundCaps, wideColor, matrix); in TestCreate()
271 static GrGeometryProcessor* Make(SkArenaAlloc* arena, bool wideColor, in Make() argument
274 return new (ptr) ButtCapDashedCircleGeometryProcessor(wideColor, localMatrix); in Make()
293 ButtCapDashedCircleGeometryProcessor(bool wideColor, const SkMatrix& localMatrix) in ButtCapDashedCircleGeometryProcessor() argument
297 fInColor = MakeColorAttribute("inColor", wideColor); in ButtCapDashedCircleGeometryProcessor()
[all …]
DStrokeRectOp.cpp373 bool wideColor) { in create_aa_stroke_rect_gp() argument
385 wideColor ? Color::kPremulWideColorAttribute_Type: Color::kPremulGrColorAttribute_Type; in create_aa_stroke_rect_gp()
566 bool wideColor,
798 bool wideColor, in generateAAStrokeRectGeometry() argument
862 GrVertexColor innerColor(tweakAlphaForCoverage ? color * innerCoverage : color, wideColor); in generateAAStrokeRectGeometry()
863 GrVertexColor outerColor(tweakAlphaForCoverage ? SK_PMColor4fTRANSPARENT : color, wideColor); in generateAAStrokeRectGeometry()
917 wideColor); in generateAAStrokeRectGeometry()
DAAConvexPathRenderer.cpp552 bool wideColor) { in Make() argument
554 return new (ptr) QuadEdgeEffect(localMatrix, usesLocalCoords, wideColor); in Make()
572 QuadEdgeEffect(const SkMatrix& localMatrix, bool usesLocalCoords, bool wideColor) in QuadEdgeEffect() argument
577 fInColor = MakeColorAttribute("inColor", wideColor); in QuadEdgeEffect()
675 bool wideColor = d->fRandom->nextBool(); in TestCreate() local
678 ? QuadEdgeEffect::Make(d->allocator(), localMatrix, usesLocalCoords, wideColor) in TestCreate()
DLatticeOp.cpp38 bool wideColor) { in Make() argument
40 return new (ptr) LatticeGP(view, std::move(csxf), filter, wideColor); in Make()
103 GrSamplerState::Filter filter, bool wideColor) in LatticeGP() argument
113 fInColor = MakeColorAttribute("color", wideColor); in LatticeGP()
DRegionOp.cpp27 bool wideColor) { in make_gp() argument
29 Color::Type colorType = wideColor ? Color::kPremulWideColorAttribute_Type in make_gp()
DGrSimpleMeshDrawOpHelperWithStencil.h59 SkPMColor4f* geometryColor, bool* wideColor);
DAALinearizingConvexPathRenderer.cpp67 bool wideColor) { in create_lines_only_gp() argument
75 wideColor ? Color::kPremulWideColorAttribute_Type : Color::kPremulGrColorAttribute_Type; in create_lines_only_gp()
DGrSimpleMeshDrawOpHelper.h85 SkPMColor4f* geometryColor, bool* wideColor);
/third_party/skia/tools/gpu/
DTestOps.cpp26 GP(const SkMatrix& localMatrix, bool wideColor) in GP() argument
28 fInColor = MakeColorAttribute("color", wideColor); in GP()
75 bool wideColor() const { return fInColor.cpuType() != kUByte4_norm_GrVertexAttribType; } in wideColor() function in __anon154200980111::GP
206 GrVertexColor color(fColor, fGP.wideColor()); in onPrepareDraws()
/third_party/skia/src/gpu/tessellate/
DStrokeFixedCountTessellator.cpp63 bool wideColor = fAttribs & PatchAttribs::kWideColorIfEnabled; in updateDynamicColor() local
64 SkASSERT(wideColor || color.fitsInBytes()); in updateDynamicColor()
65 fDynamicColor.set(color, wideColor); in updateDynamicColor()
DStrokeHardwareTessellator.cpp148 bool wideColor = fAttribs & PatchAttribs::kWideColorIfEnabled; in updateDynamicColor() local
149 SkASSERT(wideColor || color.fitsInBytes()); in updateDynamicColor()
150 fDynamicColor.set(color, wideColor); in updateDynamicColor()