Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/tessellate/
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; variable
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/tessellate/shaders/
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()
403 !(fPatchAttribs & PatchAttribs::kStrokeParams); in addToKey()
408 uint32_t key = (uint32_t)(fPatchAttribs & ~PatchAttribs::kColor); in addToKey()
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()
71 const PatchAttribs fPatchAttribs; variable
/third_party/skia/src/gpu/ops/
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()
DPathTessellateOp.cpp54 fPatchAttribs |= op->fPatchAttribs; in onCombineIfPossible()
56 if (!(fPatchAttribs & PatchAttribs::kColor) && in onCombineIfPossible()
59 fPatchAttribs |= PatchAttribs::kColor; in onCombineIfPossible()
78 fPatchAttribs); in prepareTessellator()
DStrokeTessellateOp.h41 bool anyStateDisabled = (bool)(~fPatchAttribs & neededDynamicStates); in shouldUseDynamicStates()
69 PatchAttribs fPatchAttribs = PatchAttribs::kNone; variable
DPathTessellateOp.h43 fPatchAttribs |= PatchAttribs::kWideColorIfEnabled; in PathTessellateOp()
67 PatchAttribs fPatchAttribs = PatchAttribs::kNone; variable
/third_party/skia/bench/
DTessellateBench.cpp330 , fPatchAttribs(attribs) in TessPrepareBench()
354 fTessellator = fMakeTessellatorFn(fPatchAttribs); in onDelayedSetup()
371 const PatchAttribs fPatchAttribs; member in skgpu::TessPrepareBench