Home
last modified time | relevance | path

Searched refs:FRAC (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c46 #define FRAC(f) ((f) - util_ifloor(f)) macro
283 *weight = FRAC(u); in linear_texel_locations()
422 *weight = FRAC(u); in linear_repeat_texel_location()
484 *weight = FRAC(fcol); in clamp_rect_coord_linear()
965 const GLfloat f = FRAC(lambda[i]); in sample_1d_nearest_mipmap_linear()
991 const GLfloat f = FRAC(lambda[i]); in sample_1d_linear_mipmap_linear()
1295 const GLfloat f = FRAC(lambda[i]); in sample_2d_nearest_mipmap_linear()
1321 const GLfloat f = FRAC(lambda[i]); in sample_2d_linear_mipmap_linear()
1349 const GLfloat f = FRAC(lambda[i]); in sample_2d_linear_mipmap_linear_repeat()
2193 const GLfloat f = FRAC(lambda[i]); in sample_3d_nearest_mipmap_linear()
[all …]
/external/freetype/src/raster/
Dftraster.c452 #define FRAC( x ) ( (x) & ( ras.precision - 1 ) ) macro
1046 f1 = (Int)FRAC( y1 ); in Line_Up()
1058 f2 = (Int)FRAC( y2 ); in Line_Up()
1245 f1 = (Short)( FRAC( y1 ) ); in Bezier_Up()
2032 if ( FRAC( ras.lastY ) == 0 && in Convert_Glyph()