Searched refs:isPowerOfTwo (Results 1 – 2 of 2) sorted by relevance
45 static inline bool isPowerOfTwo(unsigned int n) { in isPowerOfTwo() function228 if (!extensions.hasNPot() && (!isPowerOfTwo(width) || !isPowerOfTwo(height)) && in bitmapShaderHelper()
60 static bool isPowerOfTwo(uint32_t val) { in isPowerOfTwo() function99 if (!isPowerOfTwo(FontBitmap::width)) { in loadIntoTexture()