Home
last modified time | relevance | path

Searched refs:SkPrevLog2 (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/core/
DSkMathPriv.h244 static inline int SkPrevLog2(uint32_t value) { in SkPrevLog2() function
276 return 1 << SkPrevLog2(value); in SkPrevPow2()
/third_party/skia/src/gpu/tessellate/
DPathCurveTessellator.cpp154 int maxResolveLevel = SkPrevLog2(vertexCount - 1); in WriteFixedVertexBuffer()
185 int maxResolveLevel = SkPrevLog2(triangleCount + 1); in WriteFixedIndexBufferBaseIndex()
/third_party/skia/src/gpu/
DGrDrawOpAtlas.cpp716 ? SkTPin<int>(SkPrevLog2(maxBytes), 0, SK_ARRAY_COUNT(kARGBDimensions) - 1) in GrDrawOpAtlasConfig()
/third_party/skia/src/gpu/mtl/
DGrMtlGpu.mm888 desc.mipmapLevelCount = 1 + SkPrevLog2(std::max(dimensions.width(), dimensions.height()));