Searched refs:fPatchAttribs (Results 1 – 9 of 9) sorted by relevance
30 : 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
30 bool needsInnerTriangles = !(fPatchAttribs & PatchAttribs::kFanPoint); in chopAndWriteQuads()74 bool needsInnerTriangles = !(fPatchAttribs & PatchAttribs::kFanPoint); in chopAndWriteConics()112 bool needsInnerTriangles = !(fPatchAttribs & PatchAttribs::kFanPoint); in chopAndWriteCubics()
28 , 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()
41 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
51 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()
54 fPatchAttribs |= op->fPatchAttribs; in onCombineIfPossible()56 if (!(fPatchAttribs & PatchAttribs::kColor) && in onCombineIfPossible()59 fPatchAttribs |= PatchAttribs::kColor; in onCombineIfPossible()78 fPatchAttribs); in prepareTessellator()
41 bool anyStateDisabled = (bool)(~fPatchAttribs & neededDynamicStates); in shouldUseDynamicStates()69 PatchAttribs fPatchAttribs = PatchAttribs::kNone; variable
43 fPatchAttribs |= PatchAttribs::kWideColorIfEnabled; in PathTessellateOp()67 PatchAttribs fPatchAttribs = PatchAttribs::kNone; variable
330 , fPatchAttribs(attribs) in TessPrepareBench()354 fTessellator = fMakeTessellatorFn(fPatchAttribs); in onDelayedSetup()371 const PatchAttribs fPatchAttribs; member in skgpu::TessPrepareBench