Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrColor.h97 explicit GrVertexColor(const SkPMColor4f& color, bool wideColor) { in GrVertexColor() argument
98 this->set(color, wideColor); in GrVertexColor()
101 void set(const SkPMColor4f& color, bool wideColor) { in set() argument
102 if (wideColor) { in set()
107 fWideColor = wideColor; in set()
DGrGeometryProcessor.h224 static Attribute MakeColorAttribute(const char* name, bool wideColor) { in MakeColorAttribute() argument
226 wideColor ? kFloat4_GrVertexAttribType : kUByte4_norm_GrVertexAttribType, in MakeColorAttribute()
/external/skqp/src/gpu/effects/
DGrBitmapTextGeoProc.h27 const SkPMColor4f& color, bool wideColor, in Make() argument
33 new GrBitmapTextGeoProc(caps, color, wideColor, proxies, numActiveProxies, p, format, in Make()
58 GrBitmapTextGeoProc(const GrShaderCaps&, const SkPMColor4f&, bool wideColor,
DGrDistanceFieldGeoProc.h140 bool wideColor, in Make() argument
145 new GrDistanceFieldPathGeoProc(caps, matrix, wideColor, proxies, numActiveProxies, in Make()
169 bool wideColor,
DGrBitmapTextGeoProc.cpp124 bool wideColor, in GrBitmapTextGeoProc() argument
145 fInColor = MakeColorAttribute("inColor", wideColor); in GrBitmapTextGeoProc()
/external/skqp/include/private/
DGrColor.h96 explicit GrVertexColor(const SkPMColor4f& color, bool wideColor) in GrVertexColor() argument
97 : fWideColor(wideColor) { in GrVertexColor()
98 if (wideColor) { in GrVertexColor()
/external/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.cpp72 GrProcessorAnalysisCoverage geometryCoverage, SkPMColor4f* geometryColor, bool* wideColor) { in finalizeProcessors() argument
76 if (wideColor) { in finalizeProcessors()
77 *wideColor = !geometryColor->fitsInBytes(); in finalizeProcessors()
DGrOvalOpFactory.cpp69 bool wideColor, const SkMatrix& localMatrix) { in Make() argument
72 roundCaps, wideColor, localMatrix); in Make()
88 bool roundCaps, bool wideColor, const SkMatrix& localMatrix) in CircleGeometryProcessor() argument
93 fInColor = MakeColorAttribute("inColor", wideColor); in CircleGeometryProcessor()
264 bool wideColor = d->fRandom->nextBool(); in TestCreate() local
270 unionPlane, roundCaps, wideColor, matrix); in TestCreate()
276 static GrGeometryProcessor* Make(SkArenaAlloc* arena, bool wideColor, in Make() argument
279 return new (ptr) ButtCapDashedCircleGeometryProcessor(wideColor, localMatrix); in Make()
296 ButtCapDashedCircleGeometryProcessor(bool wideColor, const SkMatrix& localMatrix) in ButtCapDashedCircleGeometryProcessor() argument
300 fInColor = MakeColorAttribute("inColor", wideColor); in ButtCapDashedCircleGeometryProcessor()
[all …]
DGrStrokeRectOp.cpp338 bool wideColor) { in create_aa_stroke_rect_gp() argument
346 wideColor ? Color::kPremulWideColorAttribute_Type: Color::kPremulGrColorAttribute_Type; in create_aa_stroke_rect_gp()
487 bool wideColor,
734 bool wideColor, in generateAAStrokeRectGeometry() argument
761 GrVertexColor outerColor(tweakAlphaForCoverage ? SK_PMColor4fTRANSPARENT : color, wideColor); in generateAAStrokeRectGeometry()
788 GrVertexColor innerColor(tweakAlphaForCoverage ? scaledColor : color, wideColor); in generateAAStrokeRectGeometry()
DGrAAConvexPathRenderer.cpp554 bool wideColor) { in Make() argument
556 return new (ptr) QuadEdgeEffect(localMatrix, usesLocalCoords, wideColor); in Make()
654 QuadEdgeEffect(const SkMatrix& localMatrix, bool usesLocalCoords, bool wideColor) in QuadEdgeEffect() argument
659 fInColor = MakeColorAttribute("inColor", wideColor); in QuadEdgeEffect()
683 bool wideColor = d->fRandom->nextBool(); in TestCreate() local
686 ? QuadEdgeEffect::Make(d->allocator(), localMatrix, usesLocalCoords, wideColor) in TestCreate()
DGrRegionOp.cpp24 bool wideColor) { in make_gp() argument
26 Color::Type colorType = wideColor ? Color::kPremulWideColorAttribute_Type in make_gp()
DGrLatticeOp.cpp36 bool wideColor) { in Make() argument
38 return new (ptr) LatticeGP(view, std::move(csxf), filter, wideColor); in Make()
96 GrSamplerState::Filter filter, bool wideColor) in LatticeGP() argument
106 fInColor = MakeColorAttribute("color", wideColor); in LatticeGP()
DGrSimpleMeshDrawOpHelperWithStencil.h58 SkPMColor4f* geometryColor, bool* wideColor);
/external/skia/src/gpu/effects/
DGrBitmapTextGeoProc.h31 bool wideColor, in Make() argument
39 return new (ptr) GrBitmapTextGeoProc(caps, color, wideColor, views, numActiveViews, in Make()
65 GrBitmapTextGeoProc(const GrShaderCaps&, const SkPMColor4f&, bool wideColor,
DGrBitmapTextGeoProc.cpp131 bool wideColor, in GrBitmapTextGeoProc() argument
154 fInColor = MakeColorAttribute("inColor", wideColor); in GrBitmapTextGeoProc()
235 bool wideColor = d->fRandom->nextBool(); in TestCreate() local
240 wideColor, in TestCreate()
DGrDistanceFieldGeoProc.h150 const SkMatrix& matrix, bool wideColor, in Make() argument
154 return new (ptr) GrDistanceFieldPathGeoProc(caps, matrix, wideColor, views, in Make()
179 bool wideColor,
/external/skqp/src/gpu/
DGrGeometryProcessor.h33 static Attribute MakeColorAttribute(const char* name, bool wideColor) { in MakeColorAttribute() argument
35 wideColor ? kHalf4_GrVertexAttribType : kUByte4_norm_GrVertexAttribType, in MakeColorAttribute()
/external/skia/tools/gpu/
DTestOps.cpp27 GP(const SkMatrix& localMatrix, bool wideColor) in GP() argument
29 fInColor = MakeColorAttribute("color", wideColor); in GP()
44 bool wideColor() const { return fInColor.cpuType() != kUByte4_norm_GrVertexAttribType; } in wideColor() function in __anona0bc612d0111::GP
208 GrVertexColor color(fColor, fGP.wideColor()); in onPrepareDraws()
/external/skqp/src/gpu/ops/
DGrStrokeRectOp.cpp300 bool wideColor) { in create_aa_stroke_rect_gp() argument
308 wideColor ? Color::kPremulWideColorAttribute_Type: Color::kPremulGrColorAttribute_Type; in create_aa_stroke_rect_gp()
432 bool wideColor,
634 bool wideColor, in generateAAStrokeRectGeometry() argument
673 GrVertexColor outerColor(tweakAlphaForCoverage ? SK_PMColor4fTRANSPARENT : color, wideColor); in generateAAStrokeRectGeometry()
693 GrVertexColor innerColor(tweakAlphaForCoverage ? scaledColor : color, wideColor); in generateAAStrokeRectGeometry()
714 GrVertexColor(SK_PMColor4fTRANSPARENT, wideColor), in generateAAStrokeRectGeometry()
DGrLatticeOp.cpp34 bool wideColor) { in Make() argument
36 new LatticeGP(gpu, proxy, std::move(csxf), filter, wideColor)); in Make()
95 GrSamplerState::Filter filter, bool wideColor) in LatticeGP() argument
109 fInColor = MakeColorAttribute("color", wideColor); in LatticeGP()
DGrQuadPerEdgeAA.cpp336 SkPMColor4f color4f, bool wideColor, in write_quad() argument
347 GrVertexColor color(color4f, wideColor); in write_quad()
405 bool wideColor = GrQuadPerEdgeAA::ColorType::kHalf == spec.colorType(); in Tessellate() local
454 write_quad(&vb, spec, mode, maxCoverage, color4f, wideColor, domain, in Tessellate()
456 write_quad(&vb, spec, mode, 0.f, color4f, wideColor, domain, oX, oY, oW, oU, oV, oR); in Tessellate()
460 write_quad(&vb, spec, mode, 1.f, color4f, wideColor, domain, oX, oY, oW, oU, oV, oR); in Tessellate()
DGrRegionOp.cpp24 bool wideColor) { in make_gp() argument
27 wideColor ? Color::kPremulWideColorAttribute_Type : Color::kPremulGrColorAttribute_Type; in make_gp()
DGrAAConvexPathRenderer.cpp529 bool wideColor) { in Make() argument
531 new QuadEdgeEffect(localMatrix, usesLocalCoords, wideColor)); in Make()
619 QuadEdgeEffect(const SkMatrix& localMatrix, bool usesLocalCoords, bool wideColor) in QuadEdgeEffect() argument
624 fInColor = MakeColorAttribute("inColor", wideColor); in QuadEdgeEffect()
/external/skia/src/gpu/tessellate/
DGrStrokeFixedCountTessellator.cpp50 bool wideColor = fShaderFlags & ShaderFlags::kWideColor; in updateDynamicColor() local
51 SkASSERT(wideColor || color.fitsInBytes()); in updateDynamicColor()
52 fDynamicColor.set(color, wideColor); in updateDynamicColor()

12