Searched refs:SkPrevLog2 (Results 1 – 4 of 4) sorted by relevance
244 static inline int SkPrevLog2(uint32_t value) { in SkPrevLog2() function276 return 1 << SkPrevLog2(value); in SkPrevPow2()
154 int maxResolveLevel = SkPrevLog2(vertexCount - 1); in WriteFixedVertexBuffer()185 int maxResolveLevel = SkPrevLog2(triangleCount + 1); in WriteFixedIndexBufferBaseIndex()
716 ? SkTPin<int>(SkPrevLog2(maxBytes), 0, SK_ARRAY_COUNT(kARGBDimensions) - 1) in GrDrawOpAtlasConfig()
888 desc.mipmapLevelCount = 1 + SkPrevLog2(std::max(dimensions.width(), dimensions.height()));