Searched refs:fPatchAttribs (Results 1 - 9 of 9) sorted by relevance
/third_party/skia/src/gpu/tessellate/shaders/ |
H A D | GrStrokeTessellationShader.cpp | 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() 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 D | GrStrokeTessellationShader.h | 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() 73 const PatchAttribs fPatchAttribs; member in GrStrokeTessellationShader
|
/third_party/skia/src/gpu/tessellate/ |
H A D | PatchWriter.h | 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; member in skgpu::PatchWriter
|
H A D | PatchWriter.cpp | 30 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 D | StrokeTessellateOp.cpp | 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()
|
H A D | PathTessellateOp.cpp | 54 fPatchAttribs |= op->fPatchAttribs; in onCombineIfPossible() 56 if (!(fPatchAttribs & PatchAttribs::kColor) && in onCombineIfPossible() 59 fPatchAttribs |= PatchAttribs::kColor; in onCombineIfPossible() 78 fPatchAttribs); in prepareTessellator()
|
H A D | StrokeTessellateOp.h | 41 bool anyStateDisabled = (bool)(~fPatchAttribs & neededDynamicStates); in shouldUseDynamicStates() 69 PatchAttribs fPatchAttribs = PatchAttribs::kNone; member in skgpu::v1::final
|
H A D | PathTessellateOp.h | 43 fPatchAttribs |= PatchAttribs::kWideColorIfEnabled; in PathTessellateOp() 67 PatchAttribs fPatchAttribs = PatchAttribs::kNone; member in skgpu::v1::final
|
/third_party/skia/bench/ |
H A D | TessellateBench.cpp | 330 , fPatchAttribs(attribs) in TessPrepareBench() 354 fTessellator = fMakeTessellatorFn(fPatchAttribs); 371 const PatchAttribs fPatchAttribs; member in skgpu::TessPrepareBench
|
Completed in 5 milliseconds