Home
last modified time | relevance | path

Searched refs:SkNextPow2 (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/src/gpu/
DGrDynamicAtlas.cpp89 fWidth = std::min(SkNextPow2(initialSize.width()), fMaxAtlasSize); in reset()
90 fHeight = std::min(SkNextPow2(initialSize.height()), fMaxAtlasSize); in reset()
155 fWidth = std::min(SkNextPow2(w), fMaxAtlasSize); in internalPlaceRect()
158 fHeight = std::min(SkNextPow2(h), fMaxAtlasSize); in internalPlaceRect()
DGrResourceProvider.cpp251 int ceilPow2 = SkNextPow2(value); in MakeApprox()
609 width = SkNextPow2(width); in attachStencilAttachment()
610 height = SkNextPow2(height); in attachStencilAttachment()
DGrResourceCache.cpp1086 int mask = (SkNextPow2(fCount + 1) >> 5) - 1; in validate()
/third_party/skia/src/gpu/ops/
DAtlasPathRenderer.cpp138 fAtlasInitialSize = SkNextPow2(std::min(kAtlasInitialSize, (int)fAtlasMaxSize)); in AtlasPathRenderer()
193 if (SkNextPow2(widthInAtlas) == SkNextPow2(heightInAtlas)) { in addPathToAtlas()
/third_party/skia/tests/
DPathCoverageTest.cpp64 uint32_t count = std::min<uint32_t>(SkNextPow2(temp), MAX_POINTS_PER_CURVE); in compute_pointCount()
/third_party/skia/src/core/
DSkMathPriv.h259 static inline int SkNextPow2(int value) { in SkNextPow2() function
DSkGpuBlurUtils.cpp819 int width = std::max(SkNextPow2(minWidth), 32); in CreateIntegralTable()
/third_party/skia/src/ports/
DSkScalerContext_mac_ct.cpp150 return SkNextPow2(dimension); in RoundSize()
/third_party/skia/src/gpu/gradients/
DGrGradientShader.cpp420 int roundedSize = std::max(4, SkNextPow2(intervalCount)); in make_looping_binary_colorizer()