Searched refs:potWidth (Results 1 – 3 of 3) sorted by relevance
72 int potWidth = MathUtils.nextPowerOfTwo(pixmapWidth); in ensurePot() local74 if (pixmapWidth != potWidth || pixmapHeight != potHeight) { in ensurePot()75 Pixmap tmp = new Pixmap(potWidth, potHeight, pixmap.getFormat()); in ensurePot()
76 int potWidth = MathUtils.nextPowerOfTwo(pixmapWidth); in ensurePot() local78 if (pixmapWidth != potWidth || pixmapHeight != potHeight) { in ensurePot()79 Pixmap tmp = new Pixmap(potWidth, potHeight, pixmap.getFormat()); in ensurePot()
64 int potWidth = FastMath.nearestPowerOfTwo(image.getWidth()); in resizeToPowerOf2() local66 int potSize = Math.max(potWidth, potHeight); in resizeToPowerOf2()