Lines Matching refs:deUint32
63 …tFlags operator| (ContextFlags a, ContextFlags b) { return ContextFlags((deUint32)a|(deUint32)b); } in operator |()
64 …tFlags operator& (ContextFlags a, ContextFlags b) { return ContextFlags((deUint32)a&(deUint32)b); } in operator &()
65 inline ContextFlags operator~ (ContextFlags a) { return ContextFlags(~(deUint32)a); } in operator ~()
83 deUint32 getPacked (void) const { return m_bits; } in getPacked()
91 ApiType (deUint32 bits) : m_bits(bits) {} in ApiType()
92 static ApiType fromBits (deUint32 bits) { return ApiType(bits); } in fromBits()
94 static deUint32 pack (int major, int minor, Profile profile);
96 deUint32 m_bits;
111 inline deUint32 ApiType::pack (int major, int minor, Profile profile) in pack()
113 deUint32 bits = 0; in pack()
115 DE_ASSERT((deUint32(major) & ~((1<<MAJOR_BITS)-1)) == 0); in pack()
116 DE_ASSERT((deUint32(minor) & ~((1<<MINOR_BITS)-1)) == 0); in pack()
117 DE_ASSERT((deUint32(profile) & ~((1<<PROFILE_BITS)-1)) == 0); in pack()
119 bits |= deUint32(major) << MAJOR_SHIFT; in pack()
120 bits |= deUint32(minor) << MINOR_SHIFT; in pack()
121 bits |= deUint32(profile) << PROFILE_SHIFT; in pack()
153 static deUint32 pack (deUint32 apiBits, ContextFlags flags);
175 inline deUint32 ContextType::pack (deUint32 apiBits, ContextFlags flags) in pack()
177 deUint32 bits = apiBits; in pack()
179 DE_ASSERT((deUint32(flags) & ~((1<<FLAGS_BITS)-1)) == 0); in pack()
180 bits |= deUint32(flags) << FLAGS_SHIFT; in pack()
212 virtual deUint32 getDefaultFramebuffer (void) const { return 0; } in getDefaultFramebuffer()