Home
last modified time | relevance | path

Searched refs:fPatchAttribs (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/src/gpu/tessellate/shaders/
H A DGrStrokeTessellationShader.cpp28 , fPatchAttribs(attribs) in GrStrokeTessellationShader()
76 if (fPatchAttribs & PatchAttribs::kStrokeParams) { in GrStrokeTessellationShader()
80 if (fPatchAttribs & PatchAttribs::kColor) { in GrStrokeTessellationShader()
82 (fPatchAttribs & PatchAttribs::kWideColorIfEnabled) in GrStrokeTessellationShader()
87 if (fPatchAttribs & PatchAttribs::kExplicitCurveType) { in GrStrokeTessellationShader()
95 SkASSERT(this->vertexStride() == sizeof(SkPoint) * 5 + PatchAttribsStride(fPatchAttribs)); in GrStrokeTessellationShader()
98 SkASSERT(this->instanceStride() == sizeof(SkPoint) * 5 + PatchAttribsStride(fPatchAttribs)); in GrStrokeTessellationShader()
405 fPatchAttribs, fMode, fStroke.getJoin(), fStroke.isHairlineStyle()); in getShaderDfxInfo()
411 !(fPatchAttribs & PatchAttribs::kStrokeParams); in addToKey()
416 uint32_t key = (uint32_t)(fPatchAttribs in addToKey()
[all...]
H A DGrStrokeTessellationShader.h41 PatchAttribs attribs() const { return fPatchAttribs; } in attribs()
42 bool hasDynamicStroke() const { return fPatchAttribs & PatchAttribs::kStrokeParams; } in hasDynamicStroke()
43 bool hasDynamicColor() const { return fPatchAttribs & PatchAttribs::kColor; } in hasDynamicColor()
44 bool hasExplicitCurveType() const { return fPatchAttribs & PatchAttribs::kExplicitCurveType; } in hasExplicitCurveType()
73 const PatchAttribs fPatchAttribs; member in GrStrokeTessellationShader
/third_party/skia/src/gpu/tessellate/
H A DPatchWriter.h30 : fPatchAttribs(attribs) in PatchWriter()
44 SkASSERT(fPatchAttribs & PatchAttribs::kFanPoint); in updateFanPointAttrib()
51 SkASSERT(fPatchAttribs & PatchAttribs::kColor); in updateColorAttrib()
52 fColorAttrib.set(color, fPatchAttribs & PatchAttribs::kWideColorIfEnabled); in updateColorAttrib()
142 vertexWriter << If((fPatchAttribs & PatchAttribs::kFanPoint), fFanPointAttrib) in outputPatchAttribs()
143 << If((fPatchAttribs & PatchAttribs::kColor), fColorAttrib) in outputPatchAttribs()
144 << If((fPatchAttribs & PatchAttribs::kExplicitCurveType), explicitCurveType); in outputPatchAttribs()
147 const PatchAttribs fPatchAttribs; member in skgpu::PatchWriter
H A DPatchWriter.cpp30 bool needsInnerTriangles = !(fPatchAttribs & PatchAttribs::kFanPoint); in chopAndWriteQuads()
74 bool needsInnerTriangles = !(fPatchAttribs & PatchAttribs::kFanPoint); in chopAndWriteConics()
112 bool needsInnerTriangles = !(fPatchAttribs & PatchAttribs::kFanPoint); in chopAndWriteCubics()
/third_party/skia/src/gpu/ops/
H A DStrokeTessellateOp.cpp51 fPatchAttribs |= PatchAttribs::kWideColorIfEnabled; in StrokeTessellateOp()
87 fPatchAttribs |= PatchAttribs::kExplicitCurveType; in finalize()
114 auto combinedAttribs = fPatchAttribs | op->fPatchAttribs; in onCombineIfPossible()
141 fPatchAttribs = combinedAttribs; in onCombineIfPossible()
196 fTessellator = arena->make<StrokeHardwareTessellator>(fPatchAttribs); in prePrepareTessellator()
202 fTessellator = arena->make<StrokeFixedCountTessellator>(fPatchAttribs); in prePrepareTessellator()
209 fPatchAttribs, in prePrepareTessellator()
H A DPathTessellateOp.cpp54 fPatchAttribs |= op->fPatchAttribs; in onCombineIfPossible()
56 if (!(fPatchAttribs & PatchAttribs::kColor) && in onCombineIfPossible()
59 fPatchAttribs |= PatchAttribs::kColor; in onCombineIfPossible()
78 fPatchAttribs); in prepareTessellator()
H A DStrokeTessellateOp.h41 bool anyStateDisabled = (bool)(~fPatchAttribs & neededDynamicStates); in shouldUseDynamicStates()
69 PatchAttribs fPatchAttribs = PatchAttribs::kNone; member in skgpu::v1::final
H A DPathTessellateOp.h43 fPatchAttribs |= PatchAttribs::kWideColorIfEnabled; in PathTessellateOp()
67 PatchAttribs fPatchAttribs = PatchAttribs::kNone; member in skgpu::v1::final
/third_party/skia/bench/
H A DTessellateBench.cpp330 , fPatchAttribs(attribs) in TessPrepareBench()
354 fTessellator = fMakeTessellatorFn(fPatchAttribs);
371 const PatchAttribs fPatchAttribs; member in skgpu::TessPrepareBench

Completed in 9 milliseconds