Keith Whitwell wrote: > Brian Paul wrote: > >>Keith Whitwell wrote: >> >>>Are there any Mesa platforms (that we care about) that don't provide a >>>GLuint64EXT? It would be helpful to me to have a 64bit integer type >>>available, though of course I can manage without. >>> >>>It seems that every platform has a gcc target at least, which would >>>imply 'long long' support. >> >>Do you need it as a bitmask or as an integer for arithmetic? >> >>Michal added the BITSET64 stuff in bitset.h a while back. >> >>I'd suggest a few changes to that file though: >> >>1. Typedef GLbitset64 to 'long long' whenever possible. >> >>2. When true 64-bit ints are not available, define GLbitset64 with a >>typedef: >> >>typedef GLuint GLbitset64[2]; >> >>instead of the BITSET64_DECLARE stuff so that GLbitset64 vars can be >>declared like any other type of variable. >> >>3. Update the BITSET64 macros accordingly. > > > I saw the bitset stuff, I'm looking for a pleasant-to-the-eye > alternative... Yes, it's for a bitmask.
Well, how about typedefing GLbitset64 to 'long long' for now and coding with the usual bitwise operators, bearing in mind that macros might be needed someday? It shouldn't be hard to make the change if it's eventually needed. -Brian ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
