Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
H A DGrColor.h90 * or four half-float channels, depending on the wideColor parameter. VertexWriter will write the
98 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()
H A DGrGeometryProcessor.h231 static Attribute MakeColorAttribute(const char* name, bool wideColor) {
233 wideColor ? kFloat4_GrVertexAttribType : kUByte4_norm_GrVertexAttribType,
/third_party/skia/src/gpu/effects/
H A DGrBitmapTextGeoProc.h35 bool wideColor, in Make()
43 return new (ptr) GrBitmapTextGeoProc(caps, color, wideColor, views, numActiveViews, in Make()
63 GrBitmapTextGeoProc(const GrShaderCaps&, const SkPMColor4f&, bool wideColor,
32 Make(SkArenaAlloc* arena, const GrShaderCaps& caps, const SkPMColor4f& color, bool wideColor, const GrSurfaceProxyView* views, int numActiveViews, GrSamplerState p, GrMaskFormat format, const SkMatrix& localMatrix, bool usesW) Make() argument
H A DGrBitmapTextGeoProc.cpp115 bool wideColor, in GrBitmapTextGeoProc()
138 fInColor = MakeColorAttribute("inColor", wideColor); in GrBitmapTextGeoProc()
233 bool wideColor = d->fRandom->nextBool(); in TestCreate() local
238 wideColor, in TestCreate()
113 GrBitmapTextGeoProc(const GrShaderCaps& caps, const SkPMColor4f& color, bool wideColor, const GrSurfaceProxyView* views, int numActiveViews, GrSamplerState params, GrMaskFormat format, const SkMatrix& localMatrix, bool usesW) GrBitmapTextGeoProc() argument
H A DGrDistanceFieldGeoProc.h152 const SkMatrix& matrix, bool wideColor,
156 return new (ptr) GrDistanceFieldPathGeoProc(caps, matrix, wideColor, views,
178 bool wideColor,
H A DGrDistanceFieldGeoProc.cpp490 bool wideColor, in GrDistanceFieldPathGeoProc()
502 fInColor = MakeColorAttribute("inColor", wideColor); in GrDistanceFieldPathGeoProc()
584 bool wideColor = d->fRandom->nextBool(); in TestCreate() local
587 wideColor, in TestCreate()
488 GrDistanceFieldPathGeoProc(const GrShaderCaps& caps, const SkMatrix& matrix, bool wideColor, const GrSurfaceProxyView* views, int numViews, GrSamplerState params, uint32_t flags) GrDistanceFieldPathGeoProc() argument
/third_party/skia/src/gpu/ops/
H A DGrSimpleMeshDrawOpHelperWithStencil.cpp28 GrProcessorAnalysisCoverage geometryCoverage, SkPMColor4f* geometryColor, bool* wideColor) { in finalizeProcessors()
32 if (wideColor) { in finalizeProcessors()
33 *wideColor = !geometryColor->fitsInBytes(); in finalizeProcessors()
26 finalizeProcessors( const GrCaps& caps, const GrAppliedClip* clip, GrClampType clampType, GrProcessorAnalysisCoverage geometryCoverage, SkPMColor4f* geometryColor, bool* wideColor) finalizeProcessors() argument
H A DGrOvalOpFactory.cpp71 bool wideColor, const SkMatrix& localMatrix) { in Make()
74 roundCaps, wideColor, localMatrix); in Make()
105 bool roundCaps, bool wideColor, const SkMatrix& localMatrix) in CircleGeometryProcessor()
110 fInColor = MakeColorAttribute("inColor", wideColor); in CircleGeometryProcessor()
267 bool wideColor = d->fRandom->nextBool();
273 unionPlane, roundCaps, wideColor, matrix);
279 static GrGeometryProcessor* Make(SkArenaAlloc* arena, bool wideColor,
282 return new (ptr) ButtCapDashedCircleGeometryProcessor(wideColor, localMatrix);
308 ButtCapDashedCircleGeometryProcessor(bool wideColor, const SkMatrix& localMatrix)
312 fInColor = MakeColorAttribute("inColor", wideColor);
69 Make(SkArenaAlloc* arena, bool stroke, bool clipPlane, bool isectPlane, bool unionPlane, bool roundCaps, bool wideColor, const SkMatrix& localMatrix) Make() argument
104 CircleGeometryProcessor(bool stroke, bool clipPlane, bool isectPlane, bool unionPlane, bool roundCaps, bool wideColor, const SkMatrix& localMatrix) CircleGeometryProcessor() argument
[all...]
H A DGrSimpleMeshDrawOpHelper.cpp70 GrProcessorAnalysisCoverage geometryCoverage, SkPMColor4f* geometryColor, bool* wideColor) { in finalizeProcessors()
74 if (wideColor) { in finalizeProcessors()
75 *wideColor = !geometryColor->fitsInBytes(); in finalizeProcessors()
68 finalizeProcessors( const GrCaps& caps, const GrAppliedClip* clip, GrClampType clampType, GrProcessorAnalysisCoverage geometryCoverage, SkPMColor4f* geometryColor, bool* wideColor) finalizeProcessors() argument
H A DAAConvexPathRenderer.cpp552 bool wideColor) { in Make()
554 return new (ptr) QuadEdgeEffect(localMatrix, usesLocalCoords, wideColor); in Make()
579 QuadEdgeEffect(const SkMatrix& localMatrix, bool usesLocalCoords, bool wideColor) in QuadEdgeEffect() argument
584 fInColor = MakeColorAttribute("inColor", wideColor); in QuadEdgeEffect()
682 bool wideColor = d->fRandom->nextBool(); in TestCreate() local
685 ? QuadEdgeEffect::Make(d->allocator(), localMatrix, usesLocalCoords, wideColor) in TestCreate()
549 Make(SkArenaAlloc* arena, const SkMatrix& localMatrix, bool usesLocalCoords, bool wideColor) Make() argument
H A DLatticeOp.cpp38 bool wideColor) { in Make()
40 return new (ptr) LatticeGP(view, std::move(csxf), filter, wideColor); in Make()
109 GrSamplerState::Filter filter, bool wideColor) in LatticeGP()
119 fInColor = MakeColorAttribute("color", wideColor); in LatticeGP()
34 Make(SkArenaAlloc* arena, const GrSurfaceProxyView& view, sk_sp<GrColorSpaceXform> csxf, GrSamplerState::Filter filter, bool wideColor) Make() argument
108 LatticeGP(const GrSurfaceProxyView& view, sk_sp<GrColorSpaceXform> csxf, GrSamplerState::Filter filter, bool wideColor) LatticeGP() argument
H A DStrokeRectOp.cpp373 bool wideColor) { in create_aa_stroke_rect_gp()
385 wideColor ? Color::kPremulWideColorAttribute_Type: Color::kPremulGrColorAttribute_Type; in create_aa_stroke_rect_gp()
566 bool wideColor,
798 bool wideColor, in generateAAStrokeRectGeometry()
862 GrVertexColor innerColor(tweakAlphaForCoverage ? color * innerCoverage : color, wideColor); in generateAAStrokeRectGeometry()
863 GrVertexColor outerColor(tweakAlphaForCoverage ? SK_PMColor4fTRANSPARENT : color, wideColor); in generateAAStrokeRectGeometry()
917 wideColor); in generateAAStrokeRectGeometry()
368 create_aa_stroke_rect_gp(SkArenaAlloc* arena, bool usesMSAASurface, bool tweakAlphaForCoverage, const SkMatrix& viewMatrix, bool usesLocalCoords, bool wideColor) create_aa_stroke_rect_gp() argument
796 generateAAStrokeRectGeometry(VertexWriter& vertices, const SkPMColor4f& color, bool wideColor, const SkRect& devOutside, const SkRect& devOutsideAssist, const SkRect& devInside, bool miterStroke, bool degenerate, const SkVector& devHalfStrokeSize, bool usesMSAASurface) const generateAAStrokeRectGeometry() argument
H A DGrSimpleMeshDrawOpHelperWithStencil.h59 SkPMColor4f* geometryColor, bool* wideColor);
H A DRegionOp.cpp27 bool wideColor) { in make_gp()
29 Color::Type colorType = wideColor ? Color::kPremulWideColorAttribute_Type in make_gp()
25 make_gp(SkArenaAlloc* arena, const SkMatrix& viewMatrix, bool wideColor) make_gp() argument
H A DAALinearizingConvexPathRenderer.cpp67 bool wideColor) { in create_lines_only_gp()
75 wideColor ? Color::kPremulWideColorAttribute_Type : Color::kPremulGrColorAttribute_Type; in create_lines_only_gp()
64 create_lines_only_gp(SkArenaAlloc* arena, bool tweakAlphaForCoverage, bool usesLocalCoords, bool wideColor) create_lines_only_gp() argument
H A DGrSimpleMeshDrawOpHelper.h85 SkPMColor4f* geometryColor, bool* wideColor);
/third_party/skia/tools/gpu/
H A 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 __anon26492::GP
206 GrVertexColor color(fColor, fGP.wideColor()); in onPrepareDraws()
/third_party/skia/src/gpu/tessellate/
H A DStrokeFixedCountTessellator.cpp63 bool wideColor = fAttribs & PatchAttribs::kWideColorIfEnabled; in updateDynamicColor() local
64 SkASSERT(wideColor || color.fitsInBytes()); in updateDynamicColor()
65 fDynamicColor.set(color, wideColor); in updateDynamicColor()
H A DStrokeHardwareTessellator.cpp148 bool wideColor = fAttribs & PatchAttribs::kWideColorIfEnabled; in updateDynamicColor() local
149 SkASSERT(wideColor || color.fitsInBytes()); in updateDynamicColor()
150 fDynamicColor.set(color, wideColor); in updateDynamicColor()

Completed in 16 milliseconds