Lines Matching refs:GLfloat
43 extern GLfloat _mesa_ubyte_to_float_color_tab[256];
65 #define USHORT_TO_FLOAT(S) ((GLfloat) (S) * (1.0F / 65535.0F))
86 #define UINT_TO_FLOAT(U) ((GLfloat) ((U) * (1.0F / 4294967295.0)))
93 #define INT_TO_FLOAT(I) ((GLfloat) ((2.0F * (I) + 1.0F) * (1.0F/4294967294.0)))
172 #define STRIDE_F(p, i) (p = (GLfloat *)((GLubyte *)p + i))
178 #define STRIDE_4F(p, i) (p = (GLfloat (*)[4])((GLubyte *)p + i))
248 memcpy(DST, SRC, sizeof(GLfloat) * 4); \
386 const GLfloat *_tmp = (SRC); \
507 const GLfloat *_tmp = (SRC); \
600 GLfloat inf = UBYTE_TO_FLOAT( inub ); \
601 GLfloat outf = UBYTE_TO_FLOAT( outub ); \
602 GLfloat dstf = LINTERP( t, outf, inf ); \
608 GLfloat inf = CHAN_TO_FLOAT( inc ); \
609 GLfloat outf = CHAN_TO_FLOAT( outc ); \
610 GLfloat dstf = LINTERP( t, outf, inf ); \
615 dstui = (GLuint) (GLint) LINTERP( (t), (GLfloat) (outui), (GLfloat) (inui) )
699 GLfloat len = (GLfloat) LEN_SQUARED_3FV(V); \
702 (V)[0] = (GLfloat) ((V)[0] * len); \
703 (V)[1] = (GLfloat) ((V)[1] * len); \
704 (V)[2] = (GLfloat) ((V)[2] * len); \
717 #define ENUM_TO_FLOAT(E) ((GLfloat)(GLint)(E))