Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMathPriv.h244 static inline int SkPrevLog2(uint32_t value) { in SkPrevLog2() function
276 return 1 << SkPrevLog2(value); in SkPrevPow2()
/external/skqp/src/core/
DSkMathPriv.h210 static inline int SkPrevLog2(uint32_t value) { in SkPrevLog2() function
/external/skqp/src/gpu/
DGrDrawOpAtlas.cpp616 ? SkTPin<int>(SkPrevLog2(maxBytes), 0, SK_ARRAY_COUNT(kARGBDimensions) - 1) in GrDrawOpAtlasConfig()
/external/skia/src/gpu/
DGrDrawOpAtlas.cpp659 ? SkTPin<int>(SkPrevLog2(maxBytes), 0, SK_ARRAY_COUNT(kARGBDimensions) - 1) in GrDrawOpAtlasConfig()
/external/skia/src/gpu/mtl/
DGrMtlGpu.mm909 desc.mipmapLevelCount = 1 + SkPrevLog2(std::max(dimensions.width(), dimensions.height()));