Home
last modified time | relevance | path

Searched refs:fShaderFlags (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/gpu/tessellate/
DGrStrokeTessellateShader.h110 , fShaderFlags(shaderFlags) in GrStrokeTessellateShader()
151 if (fShaderFlags & ShaderFlags::kDynamicStroke) { in GrStrokeTessellateShader()
155 if (fShaderFlags & ShaderFlags::kDynamicColor) { in GrStrokeTessellateShader()
157 (fShaderFlags & ShaderFlags::kWideColor) in GrStrokeTessellateShader()
170 bool hasConics() const { return fShaderFlags & ShaderFlags::kHasConics; } in hasConics()
171 bool hasDynamicStroke() const { return fShaderFlags & ShaderFlags::kDynamicStroke; } in hasDynamicStroke()
172 bool hasDynamicColor() const { return fShaderFlags & ShaderFlags::kDynamicColor; } in hasDynamicColor()
187 const ShaderFlags fShaderFlags; variable
DGrStrokeFixedCountTessellator.cpp28 : fShaderFlags(shaderFlags) in InstanceWriter()
42 SkASSERT(fShaderFlags & ShaderFlags::kDynamicStroke); in updateDynamicStroke()
49 SkASSERT(fShaderFlags & ShaderFlags::kDynamicColor); in updateDynamicColor()
50 bool wideColor = fShaderFlags & ShaderFlags::kWideColor; in updateDynamicColor()
158 if (fShaderFlags & ShaderFlags::kDynamicStroke) { in writeDynamicAttribs()
161 if (fShaderFlags & ShaderFlags::kDynamicColor) { in writeDynamicAttribs()
166 const ShaderFlags fShaderFlags; member in __anon8c3ab0930111::InstanceWriter
211 InstanceWriter instanceWriter(fShaderFlags, target, matrixMinMaxScales[1], &fInstanceChunks, in prepare()
214 if (!(fShaderFlags & ShaderFlags::kDynamicStroke)) { in prepare()
231 if (fShaderFlags & ShaderFlags::kDynamicStroke) { in prepare()
[all …]
DGrStrokeTessellateOp.cpp30 fShaderFlags |= ShaderFlags::kHasConics; in GrStrokeTessellateOp()
33 fShaderFlags |= ShaderFlags::kWideColor; in GrStrokeTessellateOp()
88 auto combinedFlags = fShaderFlags | op->fShaderFlags; in onCombineIfPossible()
115 fShaderFlags = combinedFlags; in onCombineIfPossible()
185 fTessellator = arena->make<GrStrokeHardwareTessellator>(fShaderFlags, fViewMatrix, in prePrepareTessellator()
188 } else if (fTotalCombinedVerbCnt > 50 && !(fShaderFlags & ShaderFlags::kDynamicColor)) { in prePrepareTessellator()
192 fTessellator = arena->make<GrStrokeIndirectTessellator>(fShaderFlags, fViewMatrix, in prePrepareTessellator()
196 fTessellator = arena->make<GrStrokeFixedCountTessellator>(fShaderFlags, fViewMatrix, in prePrepareTessellator()
DGrStrokeHardwareTessellator.cpp55 : fShaderFlags(shaderFlags) in PatchWriter()
134 SkASSERT(fShaderFlags & ShaderFlags::kDynamicStroke); in updateDynamicStroke()
139 SkASSERT(fShaderFlags & ShaderFlags::kDynamicColor); in updateDynamicColor()
140 bool wideColor = fShaderFlags & ShaderFlags::kWideColor; in updateDynamicColor()
586 if (fShaderFlags & ShaderFlags::kDynamicStroke) { in writeDynamicAttribs()
589 if (fShaderFlags & ShaderFlags::kDynamicColor) { in writeDynamicAttribs()
594 const ShaderFlags fShaderFlags; member in __anon078330680111::PatchWriter
684 PatchWriter patchWriter(fShaderFlags, target, matrixMinMaxScales[1], &fPatchChunks, in prepare()
687 if (!(fShaderFlags & ShaderFlags::kDynamicStroke)) { in prepare()
703 if (fShaderFlags & ShaderFlags::kDynamicStroke) { in prepare()
[all …]
DGrStrokeIndirectTessellator.cpp609 SkASSERT(tessellator->fShaderFlags == fShaderFlags); in addToChain()
648 : fShaderFlags(shaderFlags) { in BinningInstanceWriter()
677 SkASSERT(fShaderFlags & ShaderFlags::kDynamicStroke); in updateDynamicStroke()
682 SkASSERT(fShaderFlags & ShaderFlags::kDynamicColor); in updateDynamicColor()
683 bool wideColor = fShaderFlags & ShaderFlags::kWideColor; in updateDynamicColor()
725 if (fShaderFlags & ShaderFlags::kDynamicStroke) { in writeDynamicAttribs()
728 if (fShaderFlags & ShaderFlags::kDynamicColor) { in writeDynamicAttribs()
733 const ShaderFlags fShaderFlags; member in __anon90f4518c0411::BinningInstanceWriter
796 BinningInstanceWriter binningWriter(indirectWriter, instanceWriter, fShaderFlags, in writeBuffers()
816 if (fShaderFlags & ShaderFlags::kDynamicStroke) { in writeBuffers()
[all …]
DGrStrokeTessellateOp.h39 bool anyStateDisabled = (bool)(~fShaderFlags & neededDynamicStates); in shouldUseDynamicStates()
65 ShaderFlags fShaderFlags = ShaderFlags::kNone; variable
DGrStrokeTessellator.h30 : fShaderFlags(shaderFlags) in GrStrokeTessellator()
48 const ShaderFlags fShaderFlags;
DGrStrokeTessellateShader.cpp1329 !(fShaderFlags & ShaderFlags::kDynamicStroke); in getGLSLProcessorKey()
1334 uint32_t key = (uint32_t)(fShaderFlags & ~ShaderFlags::kWideColor); in getGLSLProcessorKey()
/external/skia/bench/
DTessellateBench.cpp298 , fShaderFlags(shaderFlags) in TessPrepareBench()
322 fTessellator = fMakeTessellatorFn(fShaderFlags, SkMatrix::Scale(fMatrixScale, fMatrixScale), in onDelayedSetup()
336 const ShaderFlags fShaderFlags; member in TessPrepareBench
/external/skqp/src/core/
DSkCoreBlitters.h41 uint32_t fShaderFlags;
DSkBlitter.cpp904 fShaderFlags = fShaderContext->getFlags(); in SkShaderBlitter()
905 fConstInY = SkToBool(fShaderFlags & SkShaderBase::kConstInY32_Flag); in SkShaderBlitter()
/external/skia/src/core/
DSkCoreBlitters.h41 uint32_t fShaderFlags;
DSkBlitter.cpp828 fShaderFlags = fShaderContext->getFlags(); in SkShaderBlitter()
829 fConstInY = SkToBool(fShaderFlags & SkShaderBase::kConstInY32_Flag); in SkShaderBlitter()