Neil Roberts 93321d9b89 cogl-bitmask: Use longs instead of ints
Instead of storing only 31 bits in the pointer for a CoglBitmask, it
now assumes it can store a whole unsigned long minus the one bit used
to mark whether it has been converted to a GArray or not. This works
on the assumption that we can cast an unsigned long to a pointer and
back without losing information which I think should be true for any
platforms that Cogl is interested in. This has the advantage that on
64-bit architectures we can store 63 bits before we have to resort to
using a GArray at no extra cost. The values in the GArray are now
stored as unsigned longs as well on the assumption that it is more
efficient to load and store data in chunks of longs rather than ints.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2011-11-16 15:43:25 +00:00
..
2011-11-03 13:57:01 +00:00
2011-11-01 12:03:02 +00:00
2011-09-06 11:19:20 +01:00
2010-06-01 12:08:18 +01:00
2011-06-09 16:21:15 +01:00
2011-06-09 16:21:15 +01:00
2011-08-12 15:28:44 +01:00
2011-11-01 12:03:02 +00:00
2011-11-01 12:03:02 +00:00
2011-11-14 18:37:57 +00:00
2011-10-21 12:24:01 +01:00
2011-11-01 12:03:02 +00:00
2011-11-14 18:40:27 +00:00
2011-11-01 12:03:02 +00:00
2011-08-12 15:28:42 +01:00