Searched refs:kMaxResolveLevel (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/gpu/tessellate/ |
D | GrStencilPathShader.cpp | 305 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()
|
D | GrPathTessellator.cpp | 41 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()
|
D | GrPathTessellator.h | 61 constexpr static int kMaxResolveLevel = GrTessellationPathRenderer::kMaxResolveLevel; variable 64 int fResolveLevelCounts[kMaxResolveLevel + 1] = {0};
|
D | GrStrokeIndirectTessellator.h | 23 constexpr static int8_t kMaxResolveLevel = 15; 42 int fResolveLevelCounts[kMaxResolveLevel + 1] = {0}; // # of instances at each resolve level.
|
D | GrStrokeIndirectTessellator.cpp | 67 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;
|
D | GrTessellationPathRenderer.cpp | 158 constexpr static auto kMaxResolveLevel = GrTessellationPathRenderer::kMaxResolveLevel; in make_op() local 171 if (worstCaseResolveLevel > kMaxResolveLevel) { in make_op() 209 SkASSERT(worstCaseResolveLevel <= kMaxResolveLevel); in make_op()
|
D | GrTessellationPathRenderer.h | 34 constexpr static int kMaxResolveLevel = 10; variable
|
D | GrStencilPathShader.h | 158 SkASSERT(resolveLevel > 0 && resolveLevel <= GrTessellationPathRenderer::kMaxResolveLevel); in WriteDrawCubicsIndirectCmd()
|
D | GrStrokeTessellateShader.cpp | 1004 GrTessellationPathRenderer::kMaxResolveLevel); in onEmitCode()
|
/external/skia/tests/ |
D | StrokeIndirectTest.cpp | 277 1, kMaxResolveLevel); in verifyResolveLevels()
|