Lines Matching refs:m_bits
78 ApiType (void) : m_bits(pack(0, 0, PROFILE_LAST)) {} in ApiType()
79 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {} in ApiType()
81 …int getMajorVersion (void) const { return int((m_bits>>MAJOR_SHIFT) & ((1u<<MAJOR_BITS)-1u))… in getMajorVersion()
82 …int getMinorVersion (void) const { return int((m_bits>>MINOR_SHIFT) & ((1u<<MINOR_BITS)-1u))… in getMinorVersion()
83 …Profile getProfile (void) const { return Profile((m_bits>>PROFILE_SHIFT) & ((1u<<PROFILE_BITS)… in getProfile()
85 bool operator== (ApiType other) const { return m_bits == other.m_bits; } in operator ==()
86 bool operator!= (ApiType other) const { return m_bits != other.m_bits; } in operator !=()
88 deUint32 getPacked (void) const { return m_bits; } in getPacked()
96 ApiType (deUint32 bits) : m_bits(bits) {} in ApiType()
101 deUint32 m_bits; member in glu::ApiType
150 …ApiType getAPI (void) const { return ApiType::fromBits(m_bits & ((1u<<TOTAL_API_BITS)-1u)); … in getAPI()
151 …ContextFlags getFlags (void) const { return ContextFlags((m_bits>>FLAGS_SHIFT) & ((1u<<FLAGS_BIT… in getFlags()
171 m_bits = pack(m_bits, flags); in ContextType()
177 m_bits = pack(m_bits, flags); in ContextType()