Searched refs:GrNextPow2 (Results 1 – 9 of 9) sorted by relevance
/external/skia/bench/ |
D | RectanizerBench.cpp | 96 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)), in onDraw() 97 GrNextPow2(rand.nextRangeU(1, kHeight / 2))); in onDraw()
|
/external/skia/src/gpu/ |
D | GrTextureProvider.cpp | 92 wdesc->fWidth = SkTMax(kMinSize, GrNextPow2(desc->fWidth)); in refScratchTexture() 93 wdesc->fHeight = SkTMax(kMinSize, GrNextPow2(desc->fHeight)); in refScratchTexture()
|
D | GrRectanizer_pow2.cpp | 19 height = GrNextPow2(height); in addRect()
|
D | GrResourceProvider.cpp | 103 size = SkTMax(MIN_SIZE, GrNextPow2(SkToUInt(size))); in createIndexBuffer() 132 size = SkTMax(MIN_SIZE, GrNextPow2(SkToUInt(size))); in createVertexBuffer()
|
D | GrGpu.cpp | 63 copyParams->fWidth = GrNextPow2(width); in makeCopyForTextureParams() 64 copyParams->fHeight = GrNextPow2(height); in makeCopyForTextureParams()
|
D | GrPathUtils.cpp | 58 int pow2 = GrNextPow2(temp); in quadraticPointCount() 114 int pow2 = GrNextPow2(temp); in cubicPointCount()
|
/external/skia/samplecode/ |
D | SampleRectanizer.cpp | 40 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize)), in RectanizerView() 41 GrNextPow2(random.nextRangeU(kMinRectSize, kMaxRectSize))); in RectanizerView()
|
/external/skia/src/gpu/batches/ |
D | GrAtlasTextBatch.cpp | 233 int newAllocSize = GrNextPow2(newGeoCount); in onCombineIfPossible() 234 int currAllocSize = SkTMax<int>(kMinGeometryAllocated, GrNextPow2(fGeoCount)); in onCombineIfPossible()
|
/external/skia/include/gpu/ |
D | GrTypes.h | 113 static inline uint32_t GrNextPow2(uint32_t n) { in GrNextPow2() function 117 static inline int GrNextPow2(int n) { in GrNextPow2() function
|