Home
last modified time | relevance | path

Searched refs:GrNextPow2 (Results 1 – 18 of 18) sorted by relevance

/external/skqp/src/gpu/
DGrSurface.cpp23 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(desc.fWidth)) in WorstCaseSize()
26 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(desc.fHeight)) in WorstCaseSize()
70 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(width)) in ComputeSize()
73 ? SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(height)) in ComputeSize()
DGrRectanizer_pow2.cpp18 height = GrNextPow2(height); in addRect()
DGrResourceProvider.cpp192 wdesc->fWidth = SkTMax(kMinScratchTextureSize, GrNextPow2(desc.fWidth)); in createApproxTexture()
193 wdesc->fHeight = SkTMax(kMinScratchTextureSize, GrNextPow2(desc.fHeight)); in createApproxTexture()
DGrGpu.cpp56 copyParams->fWidth = GrNextPow2(width); in IsACopyNeededForRepeatWrapMode()
57 copyParams->fHeight = GrNextPow2(height); in IsACopyNeededForRepeatWrapMode()
DGrSurfaceProxy.cpp310 return SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(fWidth)); in worstCaseWidth()
322 return SkTMax(GrResourceProvider::kMinScratchTextureSize, GrNextPow2(fHeight)); in worstCaseHeight()
DGrPathUtils.cpp67 int pow2 = GrNextPow2(temp); in quadraticPointCount()
123 int pow2 = GrNextPow2(temp); in cubicPointCount()
/external/skia/bench/
DRectanizerBench.cpp96 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)), in onDraw()
97 GrNextPow2(rand.nextRangeU(1, kHeight / 2))); in onDraw()
/external/skqp/bench/
DRectanizerBench.cpp94 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)), in onDraw()
95 GrNextPow2(rand.nextRangeU(1, kHeight / 2))); in onDraw()
/external/skia/samplecode/
DSampleRectanizer.cpp42 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)), in RectanizerView()
43 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize))); in RectanizerView()
/external/skqp/samplecode/
DSampleRectanizer.cpp42 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)), in RectanizerView()
43 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize))); in RectanizerView()
/external/skia/src/gpu/
DGrRectanizerPow2.cpp18 height = GrNextPow2(height); in addRect()
/external/skqp/tools/sk_app/
DGLWindowContext.cpp27 fDisplayParams.fMSAASampleCount = GrNextPow2(fDisplayParams.fMSAASampleCount); in GLWindowContext()
/external/skia/tools/sk_app/
DGLWindowContext.cpp27 fDisplayParams.fMSAASampleCount = GrNextPow2(fDisplayParams.fMSAASampleCount); in GLWindowContext()
DMetalWindowContext.mm29 fDisplayParams.fMSAASampleCount = GrNextPow2(fDisplayParams.fMSAASampleCount);
/external/skqp/src/gpu/mock/
DGrMockCaps.h53 return requestCount > kMaxSampleCnt ? 0 : GrNextPow2(requestCount); in getRenderTargetSampleCount()
/external/skqp/src/core/
DSkMathPriv.h220 static inline uint32_t GrNextPow2(uint32_t n) { in GrNextPow2() function
/external/skia/src/gpu/mock/
DGrMockCaps.h96 return requestCount > kMaxSampleCnt ? 0 : GrNextPow2(requestCount); in getRenderTargetSampleCount()
/external/skia/src/core/
DSkMathPriv.h289 static inline uint32_t GrNextPow2(uint32_t n) { in GrNextPow2() function