Searched refs:BYTE_TO_FLOAT (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | api_loopback.c | 97 COLORF( BYTE_TO_FLOAT(red), in _mesa_Color3b() 98 BYTE_TO_FLOAT(green), in _mesa_Color3b() 99 BYTE_TO_FLOAT(blue), in _mesa_Color3b() 148 COLORF( BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]), in _mesa_Color3bv() 149 BYTE_TO_FLOAT(v[2]), 1.0 ); in _mesa_Color3bv() 198 COLORF( BYTE_TO_FLOAT(red), BYTE_TO_FLOAT(green), in _mesa_Color4b() 199 BYTE_TO_FLOAT(blue), BYTE_TO_FLOAT(alpha) ); in _mesa_Color4b() 257 COLORF( BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]), in _mesa_Color4bv() 258 BYTE_TO_FLOAT(v[2]), BYTE_TO_FLOAT(v[3]) ); in _mesa_Color4bv() 370 NORMAL( BYTE_TO_FLOAT(nx), BYTE_TO_FLOAT(ny), BYTE_TO_FLOAT(nz) ); in _mesa_Normal3b() [all …]
|
D | api_arrayelt.c | 200 CALL_VertexAttrib1fNV(GET_DISPATCH(), (index, BYTE_TO_FLOAT(v[0]))); in VertexAttrib1NbvNV() 212 CALL_VertexAttrib2fNV(GET_DISPATCH(), (index, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]))); in VertexAttrib2NbvNV() 224 CALL_VertexAttrib3fNV(GET_DISPATCH(), (index, BYTE_TO_FLOAT(v[0]), in VertexAttrib3NbvNV() 225 BYTE_TO_FLOAT(v[1]), in VertexAttrib3NbvNV() 226 BYTE_TO_FLOAT(v[2]))); in VertexAttrib3NbvNV() 238 CALL_VertexAttrib4fNV(GET_DISPATCH(), (index, BYTE_TO_FLOAT(v[0]), in VertexAttrib4NbvNV() 239 BYTE_TO_FLOAT(v[1]), in VertexAttrib4NbvNV() 240 BYTE_TO_FLOAT(v[2]), in VertexAttrib4NbvNV() 241 BYTE_TO_FLOAT(v[3]))); in VertexAttrib4NbvNV() 705 CALL_VertexAttrib1fARB(GET_DISPATCH(), (index, BYTE_TO_FLOAT(v[0]))); in VertexAttrib1NbvARB() [all …]
|
D | macros.h | 54 #define BYTE_TO_FLOAT(B) ((2.0F * (B) + 1.0F) * (1.0F/255.0F)) macro 61 #define BYTE_TO_FLOATZ(B) ((B) == 0 ? 0.0F : BYTE_TO_FLOAT(B))
|
D | texcompress_rgtc.c | 360 texel[BCOMP] = BYTE_TO_FLOAT(red); in fetch_signed_l_latc1()
|
/external/mesa3d/src/mesa/math/ |
D | m_translate.c | 116 #define TRX_3FN(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) ) 118 #define TRX_4F(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) ) 122 #define TRX_4FN(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) )
|
/external/mesa3d/src/mesa/tnl/ |
D | t_draw.c | 190 CONVERT(GLbyte, BYTE_TO_FLOAT); in _tnl_import_array()
|