Home | History | Annotate | Download | only in glshared

Lines Matching defs:Fixed

468 	class Fixed
471 static Fixed create (deInt32 value) { Fixed v; v.m_value = value; return v; }
474 inline Fixed operator+ (const Fixed& other) const { return create(m_value + other.getValue()); }
475 inline Fixed operator* (const Fixed& other) const { return create(m_value * other.getValue()); }
476 inline Fixed operator/ (const Fixed& other) const { return create(m_value / other.getValue()); }
477 inline Fixed operator- (const Fixed
479 inline Fixed& operator+= (const Fixed& other) { m_value += other.getValue(); return *this; }
480 inline Fixed& operator*= (const Fixed& other) { m_value *= other.getValue(); return *this; }
481 inline Fixed& operator/= (const Fixed& other) { m_value /= other.getValue(); return *this; }
482 inline Fixed& operator-= (const Fixed& other) { m_value -= other.getValue(); return *this; }
484 inline bool operator== (const Fixed& other) const { return m_value == other.m_value; }
485 inline bool operator!= (const Fixed& other) const { return m_value != other.m_value; }
486 inline bool operator< (const Fixed& other) const { return m_value < other.m_value; }
487 inline bool operator> (const Fixed& other) const { return m_value > other.m_value; }
488 inline bool operator<= (const Fixed& other) const { return m_value <= other.m_value; }
489 inline bool operator>= (const Fixed& other) const { return m_value >= other.m_value; }
501 explicit GLValue (Fixed value) : type(DrawTestSpec::INPUTTYPE_FIXED), fi(value) {}
521 Fixed fi;
611 rangesHi[(int)DrawTestSpec::INPUTTYPE_FIXED] = GLValue(Fixed::create(32760));
629 rangesLo[(int)DrawTestSpec::INPUTTYPE_FIXED] = GLValue(Fixed::create(-32760));
646 template<> struct GLValueTypeTraits<GLValue::Fixed> { static const DrawTestSpec::InputType Type = DrawTestSpec::INPUTTYPE_FIXED; };
660 template<> GLValue::Fixed inline extractGLValue<GLValue::Fixed> (const GLValue& v) { return v.fi; };
723 inline GLValue::Fixed getRandom (deRandom& rnd, GLValue::Fixed min, GLValue::Fixed max)
728 return GLValue::Fixed::create((min == max ? min : min + (deRandom_getUint32(&rnd) % (max.to<deUint32>() - min.to<deUint32>()))));
802 inline GLValue::Fixed minValue (void)
804 return GLValue::Fixed::create(4 * 1);
829 inline GLValue::Fixed abs (GLValue::Fixed val)
831 return GLValue::Fixed::create(0x7FFFu & val.getValue());
1583 alignmentSafeAssignment<deInt32>(data, getRandom<GLValue::Fixed>(rnd, min.fi, max.fi));
1629 case DrawTestSpec::INPUTTYPE_FIXED: return createBasicArray<deInt32, GLValue::Fixed> (seed, elementCount, componentCount, offset, stride);
2336 "fixed", // INPUTTYPE_FIXED,