Lines Matching refs:m_bits
73 ApiType (void) : m_bits(pack(0, 0, PROFILE_LAST)) {} in ApiType()
74 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {} in ApiType()
76 …int getMajorVersion (void) const { return int((m_bits>>MAJOR_SHIFT) & ((1u<<MAJOR_BITS)-1u))… in getMajorVersion()
77 …int getMinorVersion (void) const { return int((m_bits>>MINOR_SHIFT) & ((1u<<MINOR_BITS)-1u))… in getMinorVersion()
78 …Profile getProfile (void) const { return Profile((m_bits>>PROFILE_SHIFT) & ((1u<<PROFILE_BITS)… in getProfile()
80 bool operator== (ApiType other) const { return m_bits == other.m_bits; } in operator ==()
81 bool operator!= (ApiType other) const { return m_bits != other.m_bits; } in operator !=()
83 deUint32 getPacked (void) const { return m_bits; } in getPacked()
91 ApiType (deUint32 bits) : m_bits(bits) {} in ApiType()
96 deUint32 m_bits; member in glu::ApiType
145 …ApiType getAPI (void) const { return ApiType::fromBits(m_bits & ((1u<<TOTAL_API_BITS)-1u)); … in getAPI()
146 …ContextFlags getFlags (void) const { return ContextFlags((m_bits>>FLAGS_SHIFT) & ((1u<<FLAGS_BIT… in getFlags()
166 m_bits = pack(m_bits, flags); in ContextType()
172 m_bits = pack(m_bits, flags); in ContextType()