Searched refs:resolveLevel (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/gpu/tessellate/ |
D | GrStrokeIndirectTessellator.cpp | 151 int8_t resolveLevel = sk_float_nextlog2(numCombinedSegments); in writeResolveLevel() local 152 resolveLevel = std::min(resolveLevel, kMaxResolveLevel); in writeResolveLevel() 153 ++fResolveLevelCounts[(*resolveLevelPtr = resolveLevel)]; in writeResolveLevel() 628 constexpr static int num_edges_in_resolve_level(int resolveLevel) { in num_edges_in_resolve_level() argument 630 int numSegments = 1 << resolveLevel; in num_edges_in_resolve_level() 688 void writeStroke(int8_t resolveLevel, const SkPoint pts[4], SkPoint prevControlPoint, in writeStroke() argument 690 SkASSERT(0 <= resolveLevel && resolveLevel < kNumBins); in writeStroke() 691 float numEdges = fNumEdgesPerResolveLevel[resolveLevel]; in writeStroke() 692 fInstanceWriters[resolveLevel].writeArray(pts, 4); in writeStroke() 693 fInstanceWriters[resolveLevel].write(prevControlPoint, in writeStroke() [all …]
|
D | GrPathTessellator.cpp | 137 for (int resolveLevel = 1; resolveLevel <= kMaxResolveLevel; ++resolveLevel) { in prepare() local 138 int instanceCountAtCurrLevel = fResolveLevelCounts[resolveLevel]; in prepare() 140 SkDEBUGCODE(instanceLocations[resolveLevel] = nullptr;) in prepare() 143 instanceLocations[resolveLevel] = instanceData + runningInstanceCount * 4; in prepare() 145 GrMiddleOutCubicShader::WriteDrawCubicsIndirectCmd(&indirectWriter, resolveLevel, in prepare() 159 for (int resolveLevel = 1; resolveLevel <= kMaxResolveLevel; ++resolveLevel) { in prepare() local 160 if (!instanceLocations[resolveLevel]) { in prepare() 161 endLocations[resolveLevel] = nullptr; in prepare() 164 endLocations[lastResolveLevel] = instanceLocations[resolveLevel]; in prepare() 165 lastResolveLevel = resolveLevel; in prepare()
|
D | GrStencilPathShader.h | 144 constexpr static int NumVerticesAtResolveLevel(int resolveLevel) { in NumVerticesAtResolveLevel() argument 150 return ((1 << resolveLevel) - 1) * 3; in NumVerticesAtResolveLevel() 156 int resolveLevel, uint32_t instanceCount, in WriteDrawCubicsIndirectCmd() argument 158 SkASSERT(resolveLevel > 0 && resolveLevel <= GrTessellationPathRenderer::kMaxResolveLevel); in WriteDrawCubicsIndirectCmd() 163 uint32_t indexCount = NumVerticesAtResolveLevel(resolveLevel); in WriteDrawCubicsIndirectCmd()
|
/external/skia/tests/ |
D | StrokeIndirectTest.cpp | 452 int resolveLevel = sk_float_nextlog2(numSegments); in verifyBuffers() local 453 REPORTER_ASSERT(r, 1 << resolveLevel == numSegments); in verifyBuffers() 481 if (!check_resolve_level(r, numSegments, resolveLevel, tolerance, false) && in verifyBuffers() 482 !check_resolve_level(r, alternateNumSegments, resolveLevel, tolerance, true)) { in verifyBuffers()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_state_cache.mm | 198 dst.resolveLevel = src.level.get(); 225 dst.resolveLevel = 0;
|