Searched refs:num_segs (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | texfilt.c | 51 static void generate_tunnel( unsigned num_segs, GLfloat ** pos_data, 220 static void generate_tunnel( unsigned num_segs, GLfloat ** pos_data, argument 227 const GLfloat angle_step = (2 * M_PI) / num_segs; 228 const GLfloat tex_coord_step = 2.0 / num_segs; 236 position = realloc( *pos_data, sizeof( GLfloat ) * num_segs * 4 * 4 ); 237 texture = realloc( *tex_data, sizeof( GLfloat ) * num_segs * 4 * 2 ); 242 for ( i = 0 ; i < num_segs ; i++ ) {
|
| /xsrc/external/mit/freetype/dist/src/sfnt/ |
| H A D | ttcmap.c | 899 FT_UInt num_segs; local in function:tt_cmap4_validate 923 num_segs = TT_NEXT_USHORT( p ); /* read segCountX2 */ 928 if ( num_segs & 1 ) 932 num_segs /= 2; 934 if ( length < 16 + num_segs * 2 * 4 ) 953 /* `search range' is the greatest power of 2 that is <= num_segs */ 955 if ( search_range > num_segs || 956 search_range * 2 < num_segs || 957 search_range + range_shift != num_segs || 963 starts = table + 16 + num_segs * 1096 FT_UInt i, num_segs; local in function:tt_cmap4_char_map_linear 1230 FT_UInt max, min, mid, num_segs; local in function:tt_cmap4_char_map_binary [all...] |
Completed in 5 milliseconds