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.
2010-05-20 12:40:59 +01:00
..
2010-05-19 15:28:04 +01:00
2010-04-08 19:53:38 +01:00
2010-04-08 19:53:38 +01:00
2010-03-01 12:56:10 +00:00
2010-05-19 15:28:04 +01:00
2010-03-03 17:02:51 +00:00