Home
last modified time | relevance | path

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

/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/skia/src/gpu/
DGrTextureProvider.cpp92 wdesc->fWidth = SkTMax(kMinSize, GrNextPow2(desc->fWidth)); in refScratchTexture()
93 wdesc->fHeight = SkTMax(kMinSize, GrNextPow2(desc->fHeight)); in refScratchTexture()
DGrRectanizer_pow2.cpp19 height = GrNextPow2(height); in addRect()
DGrResourceProvider.cpp103 size = SkTMax(MIN_SIZE, GrNextPow2(SkToUInt(size))); in createIndexBuffer()
132 size = SkTMax(MIN_SIZE, GrNextPow2(SkToUInt(size))); in createVertexBuffer()
DGrGpu.cpp63 copyParams->fWidth = GrNextPow2(width); in makeCopyForTextureParams()
64 copyParams->fHeight = GrNextPow2(height); in makeCopyForTextureParams()
DGrPathUtils.cpp58 int pow2 = GrNextPow2(temp); in quadraticPointCount()
114 int pow2 = GrNextPow2(temp); in cubicPointCount()
/external/skia/samplecode/
DSampleRectanizer.cpp40 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)), in RectanizerView()
41 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize))); in RectanizerView()
/external/skia/src/gpu/batches/
DGrAtlasTextBatch.cpp233 int newAllocSize = GrNextPow2(newGeoCount); in onCombineIfPossible()
234 int currAllocSize = SkTMax<int>(kMinGeometryAllocated, GrNextPow2(fGeoCount)); in onCombineIfPossible()
/external/skia/include/gpu/
DGrTypes.h113 static inline uint32_t GrNextPow2(uint32_t n) { in GrNextPow2() function
117 static inline int GrNextPow2(int n) { in GrNextPow2() function