Home
last modified time | relevance | path

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

/aosp_15_r20/external/skia/src/gpu/ganesh/tessellate/
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()
52 const PatchAttribs fPatchAttribs; variable
H A DGrStrokeTessellationShader.cpp109 , fPatchAttribs(attribs | PatchAttribs::kJoinControlPoint) in GrStrokeTessellationShader()
125 if (fPatchAttribs & PatchAttribs::kStrokeParams) { in GrStrokeTessellationShader()
129 if (fPatchAttribs & PatchAttribs::kColor) { in GrStrokeTessellationShader()
131 (fPatchAttribs & PatchAttribs::kWideColorIfEnabled) in GrStrokeTessellationShader()
136 if (fPatchAttribs & PatchAttribs::kExplicitCurveType) { in GrStrokeTessellationShader()
144 SkASSERT(this->instanceStride() == sizeof(SkPoint) * 4 + PatchAttribsStride(fPatchAttribs)); in GrStrokeTessellationShader()
708 bool keyNeedsJoin = !(fPatchAttribs & PatchAttribs::kStrokeParams); in addToKey()
712 uint32_t key = (uint32_t)(fPatchAttribs & ~PatchAttribs::kColor); in addToKey()
/aosp_15_r20/external/skia/src/gpu/ganesh/ops/
H A DStrokeTessellateOp.cpp42 fPatchAttribs |= PatchAttribs::kWideColorIfEnabled; in StrokeTessellateOp()
78 fPatchAttribs |= PatchAttribs::kExplicitCurveType; in finalize()
105 auto combinedAttribs = fPatchAttribs | op->fPatchAttribs; in onCombineIfPossible()
132 fPatchAttribs = combinedAttribs; in onCombineIfPossible()
182 fTessellator = arena->make<StrokeTessellator>(fPatchAttribs); in prePrepareTessellator()
185 fPatchAttribs, in prePrepareTessellator()
H A DPathTessellateOp.cpp62 fPatchAttribs |= op->fPatchAttribs; in onCombineIfPossible()
64 if (!(fPatchAttribs & PatchAttribs::kColor) && in onCombineIfPossible()
67 fPatchAttribs |= PatchAttribs::kColor; in onCombineIfPossible()
86 fPatchAttribs); in prepareTessellator()
H A DStrokeTessellateOp.h62 bool anyStateDisabled = (bool)(~fPatchAttribs & neededDynamicStates); in shouldUseDynamicStates()
90 PatchAttribs fPatchAttribs = PatchAttribs::kNone; variable
H A DPathTessellateOp.h66 fPatchAttribs |= PatchAttribs::kWideColorIfEnabled; in PathTessellateOp()
90 PatchAttribs fPatchAttribs = PatchAttribs::kNone; variable
/aosp_15_r20/external/skia/bench/
H A DTessellateBench.cpp320 , fPatchAttribs(attribs) in TessPrepareBench()
344 fTessellator = std::make_unique<StrokeTessellator>(fPatchAttribs); in onDelayedSetup()
359 const PatchAttribs fPatchAttribs; member in skgpu::ganesh::TessPrepareBench