Searched refs:SkIsPow2 (Results 1 – 11 of 11) sorted by relevance
46 SkASSERT(SkIsPow2(fTexture->fDesc.fWidth)); in normalizeFixedX()51 SkASSERT(SkIsPow2(fTexture->fDesc.fHeight)); in normalizeFixedY()
113 (!SkIsPow2(desc.fWidth) || !SkIsPow2(desc.fHeight))) { in createTexture()
455 SkASSERT(SkIsPow2(fMaxUnusedFlushes)); in purgeAsNeeded()601 SkASSERT(SkIsPow2(fMaxUnusedFlushes)); in notifyFlushOccurred()
98 if (!ctx->npotTextureTileSupport() && (!SkIsPow2(width) || !SkIsPow2(height))) { in get_stretch_type()
611 SkASSERT(SkIsPow2(width) && width > 0); in setTileMinPowerOf2Width()612 if (!SkIsPow2(width) || width <= 0) { in setTileMinPowerOf2Width()
183 if (!SkIsPow2(minWidth) || minWidth < 0) {
153 static inline bool SkIsPow2(int value) { in SkIsPow2() function
153 SkASSERT(SkIsPow2(component)); in GrColorComponentFlagToChar()
50 SkASSERT(SkIsPow2(PIXELREF_MUTEX_RING_COUNT)); in get_default_mutex()
169 SKTDYNAMICHASH_CHECK(SkIsPow2(fCapacity)); in validate()
383 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()