Searched refs:FLOAT_TO_SHORT (Results 1 - 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/main/
H A Daccum.c142 const GLshort clearR = FLOAT_TO_SHORT(ctx->Accum.ClearColor[0]);
143 const GLshort clearG = FLOAT_TO_SHORT(ctx->Accum.ClearColor[1]);
144 const GLshort clearB = FLOAT_TO_SHORT(ctx->Accum.ClearColor[2]);
145 const GLshort clearA = FLOAT_TO_SHORT(ctx->Accum.ClearColor[3]);
H A Dmacros.h81 #define FLOAT_TO_SHORT(X) ( (((GLint) (65535.0F * (X))) - 1) / 2 ) macro
H A Dpack.c1069 dst[i] = FLOAT_TO_SHORT( depthSpan[i] );

Completed in 109 milliseconds