Home
last modified time | relevance | path

Searched refs:SkIsPow2 (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/
DGrTexturePriv.h46 SkASSERT(SkIsPow2(fTexture->fDesc.fWidth)); in normalizeFixedX()
51 SkASSERT(SkIsPow2(fTexture->fDesc.fHeight)); in normalizeFixedY()
DGrGpu.cpp113 (!SkIsPow2(desc.fWidth) || !SkIsPow2(desc.fHeight))) { in createTexture()
DGrResourceCache.cpp455 SkASSERT(SkIsPow2(fMaxUnusedFlushes)); in purgeAsNeeded()
601 SkASSERT(SkIsPow2(fMaxUnusedFlushes)); in notifyFlushOccurred()
DSkGr.cpp98 if (!ctx->npotTextureTileSupport() && (!SkIsPow2(width) || !SkIsPow2(height))) { in get_stretch_type()
/external/skia/tools/
DPictureRenderer.h611 SkASSERT(SkIsPow2(width) && width > 0); in setTileMinPowerOf2Width()
612 if (!SkIsPow2(width) || width <= 0) { in setTileMinPowerOf2Width()
DPictureRenderingFlags.cpp183 if (!SkIsPow2(minWidth) || minWidth < 0) {
/external/skia/include/core/
DSkMath.h153 static inline bool SkIsPow2(int value) { in SkIsPow2() function
/external/skia/include/gpu/
DGrColor.h153 SkASSERT(SkIsPow2(component)); in GrColorComponentFlagToChar()
/external/skia/src/core/
DSkPixelRef.cpp50 SkASSERT(SkIsPow2(PIXELREF_MUTEX_RING_COUNT)); in get_default_mutex()
DSkTDynamicHash.h169 SKTDYNAMICHASH_CHECK(SkIsPow2(fCapacity)); in validate()
/external/skia/src/utils/
DSkTextureCompressor_ASTC.cpp383 SkASSERT(SkIsPow2(x)); in bits_for_range()
1201 if (SkIsPow2(range)) { in getColorValueEncoding()
1204 } else if ((range % 3) == 0 && SkIsPow2(range/3)) { in getColorValueEncoding()
1208 } else if ((range % 5) == 0 && SkIsPow2(range/5)) { in getColorValueEncoding()