Neil Roberts
af591f5c09
cogl-texture-2d: Optimise _cogl_texture_2d_is_pot
This takes the simple algorithm from here: http://graphics.stanford.edu/~seander/bithacks.html#DetermineIfPowerOf2 This avoids a loop and is much faster.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%