Home
last modified time | relevance | path

Searched refs:kMaxResolveLevel (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/tessellate/
DGrStencilPathShader.cpp305 constexpr static int kMaxResolveLevel = GrTessellationPathRenderer::kMaxResolveLevel; variable
318 constexpr static int kIndexCount = 3 + NumVerticesAtResolveLevel(kMaxResolveLevel); in FindOrMakeMiddleOutIndexBuffer()
339 indexData[i++] = (1 << kMaxResolveLevel) + 4; // % 4 == 0 in FindOrMakeMiddleOutIndexBuffer()
340 indexData[i++] = (1 << kMaxResolveLevel) + 5; // % 4 == 1 in FindOrMakeMiddleOutIndexBuffer()
341 indexData[i++] = (1 << kMaxResolveLevel) + 6; // % 4 == 2 in FindOrMakeMiddleOutIndexBuffer()
347 for (uint16_t advance = 1 << (kMaxResolveLevel - 1); advance; advance >>= 1) { in FindOrMakeMiddleOutIndexBuffer()
353 } while (T != (1 << kMaxResolveLevel)); in FindOrMakeMiddleOutIndexBuffer()
370 args.fVertBuilder->defineConstantf("int", "kMaxVertexID", "%i", 1 << kMaxResolveLevel); in onEmitCode()
DGrPathTessellator.cpp41 level = std::min(level, kMaxResolveLevel); in GrPathIndirectTessellator()
112 int indirectLockCnt = kMaxResolveLevel + 1; in prepare()
123 SkPoint* instanceLocations[kMaxResolveLevel + 1]; in prepare()
137 for (int resolveLevel = 1; resolveLevel <= kMaxResolveLevel; ++resolveLevel) { in prepare()
157 SkPoint* endLocations[kMaxResolveLevel + 1]; in prepare()
159 for (int resolveLevel = 1; resolveLevel <= kMaxResolveLevel; ++resolveLevel) { in prepare()
195 level = std::min(level, kMaxResolveLevel); in prepare()
215 for (int i = 1; i <= kMaxResolveLevel; ++i) { in prepare()
DGrPathTessellator.h61 constexpr static int kMaxResolveLevel = GrTessellationPathRenderer::kMaxResolveLevel; variable
64 int fResolveLevelCounts[kMaxResolveLevel + 1] = {0};
DGrStrokeIndirectTessellator.h23 constexpr static int8_t kMaxResolveLevel = 15;
42 int fResolveLevelCounts[kMaxResolveLevel + 1] = {0}; // # of instances at each resolve level.
DGrStrokeIndirectTessellator.cpp67 constexpr static int8_t kMaxResolveLevel = GrStrokeIndirectTessellator::kMaxResolveLevel; member in __anon90f4518c0111::ResolveLevelCounter
81 1, kMaxResolveLevel); in updateTolerances()
152 resolveLevel = std::min(resolveLevel, kMaxResolveLevel); in writeResolveLevel()
408 auto level = skvx::pin<N,int>(exp, 0, kMaxResolveLevel); in writeResolveLevels()
555 static_assert(kMaxResolveLevel <= 0xf); in GrStrokeIndirectTessellator()
564 static_assert(kMaxResolveLevel <= 0xf); in GrStrokeIndirectTessellator()
643 constexpr static int kNumBins = GrStrokeIndirectTessellator::kMaxResolveLevel + 1;
DGrTessellationPathRenderer.cpp158 constexpr static auto kMaxResolveLevel = GrTessellationPathRenderer::kMaxResolveLevel; in make_op() local
171 if (worstCaseResolveLevel > kMaxResolveLevel) { in make_op()
209 SkASSERT(worstCaseResolveLevel <= kMaxResolveLevel); in make_op()
DGrTessellationPathRenderer.h34 constexpr static int kMaxResolveLevel = 10; variable
DGrStencilPathShader.h158 SkASSERT(resolveLevel > 0 && resolveLevel <= GrTessellationPathRenderer::kMaxResolveLevel); in WriteDrawCubicsIndirectCmd()
DGrStrokeTessellateShader.cpp1004 GrTessellationPathRenderer::kMaxResolveLevel); in onEmitCode()
/external/skia/tests/
DStrokeIndirectTest.cpp277 1, kMaxResolveLevel); in verifyResolveLevels()