Searched refs:nearestPowerOfTwo (Results 1 – 3 of 3) sorted by relevance
64 int potWidth = FastMath.nearestPowerOfTwo(image.getWidth()); in resizeToPowerOf2()65 int potHeight = FastMath.nearestPowerOfTwo(image.getHeight()); in resizeToPowerOf2()
94 width = FastMath.nearestPowerOfTwo(width); in uploadTextureBitmap()95 height = FastMath.nearestPowerOfTwo(height); in uploadTextureBitmap()
90 public static int nearestPowerOfTwo(int number) { in nearestPowerOfTwo() method in FastMath