Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrBitmapTextGeoProc.cpp35 SkASSERT(atlas && SkIsPow2(atlas->width()) && SkIsPow2(atlas->height())); in onEmitCode()
DGrDistanceFieldGeoProc.cpp88 SkASSERT(atlas && SkIsPow2(atlas->width()) && SkIsPow2(atlas->height())); in onEmitCode()
600 SkASSERT(atlas && SkIsPow2(atlas->width()) && SkIsPow2(atlas->height())); in onEmitCode()
/external/skia/src/gpu/
DGrBuffer.cpp68 if (!this->isCPUBacked() && SkIsPow2(fSizeInBytes) && in computeScratchKey()
DGrResourceProvider.cpp51 return proxy->priv().isExact() || (SkIsPow2(proxy->width()) && SkIsPow2(proxy->height())); in IsFunctionallyExact()
DGrGpu.cpp50 (!SkIsPow2(width) || !SkIsPow2(height))) { in isACopyNeededForTextureParams()
/external/skia/include/core/
DSkMath.h93 template <typename T> constexpr inline bool SkIsPow2(T value) { in SkIsPow2() function
/external/skia/tests/
DGpuSampleLocationsTest.cpp119 GrAlwaysAssert(numSamples > 1 && SkIsPow2(numSamples)); in test_sampleLocations()
/external/skia/src/core/
DSkGpuBlurUtils.cpp256 SkASSERT(SkIsPow2(scaleFactorX) && SkIsPow2(scaleFactorY)); in GaussianBlur()
DSkTDynamicHash.h169 SKTDYNAMICHASH_CHECK(SkIsPow2(fCapacity)); in validate()
DSkLiteDL.cpp499 static_assert(SkIsPow2(SKLITEDL_PAGE), "This math needs updating for non-pow2."); in push()
/external/skia/include/private/
DSkTArray.h533 static_assert(SkIsPow2(kMinHeapAllocCount), "min alloc count not power of two."); in checkRealloc()
/external/skia/src/gpu/instanced/
DInstancedOp.cpp139 SkASSERT(SkIsPow2(fInfo.fShapeTypes)); in finalize()
DInstanceProcessor.cpp249 bool hasSingleShapeType = SkIsPow2(ip.opInfo().fShapeTypes); in onEmitCode()
297 bool hasSingleInnerShapeType = SkIsPow2(ip.opInfo().fInnerShapeTypes); in onEmitCode()
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp1827 SkASSERT(1 == bitmap.height() && SkIsPow2(bitmap.width())); in GrGradientEffect()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2931 SkASSERT(SkIsPow2(w) && SkIsPow2(h)); in bindTexture()