Searched refs:SkIsPow2 (Results 1 – 15 of 15) sorted by relevance
35 SkASSERT(atlas && SkIsPow2(atlas->width()) && SkIsPow2(atlas->height())); in onEmitCode()
88 SkASSERT(atlas && SkIsPow2(atlas->width()) && SkIsPow2(atlas->height())); in onEmitCode()600 SkASSERT(atlas && SkIsPow2(atlas->width()) && SkIsPow2(atlas->height())); in onEmitCode()
68 if (!this->isCPUBacked() && SkIsPow2(fSizeInBytes) && in computeScratchKey()
51 return proxy->priv().isExact() || (SkIsPow2(proxy->width()) && SkIsPow2(proxy->height())); in IsFunctionallyExact()
50 (!SkIsPow2(width) || !SkIsPow2(height))) { in isACopyNeededForTextureParams()
93 template <typename T> constexpr inline bool SkIsPow2(T value) { in SkIsPow2() function
119 GrAlwaysAssert(numSamples > 1 && SkIsPow2(numSamples)); in test_sampleLocations()
256 SkASSERT(SkIsPow2(scaleFactorX) && SkIsPow2(scaleFactorY)); in GaussianBlur()
169 SKTDYNAMICHASH_CHECK(SkIsPow2(fCapacity)); in validate()
499 static_assert(SkIsPow2(SKLITEDL_PAGE), "This math needs updating for non-pow2."); in push()
533 static_assert(SkIsPow2(kMinHeapAllocCount), "min alloc count not power of two."); in checkRealloc()
139 SkASSERT(SkIsPow2(fInfo.fShapeTypes)); in finalize()
249 bool hasSingleShapeType = SkIsPow2(ip.opInfo().fShapeTypes); in onEmitCode()297 bool hasSingleInnerShapeType = SkIsPow2(ip.opInfo().fInnerShapeTypes); in onEmitCode()
1827 SkASSERT(1 == bitmap.height() && SkIsPow2(bitmap.width())); in GrGradientEffect()
2931 SkASSERT(SkIsPow2(w) && SkIsPow2(h)); in bindTexture()