Searched refs:MIN2 (Results 1 - 25 of 322) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_framebuffer.c129 w = MIN2(w, fb->cbufs[i]->width);
130 h = MIN2(h, fb->cbufs[i]->height);
134 w = MIN2(w, fb->zsbuf->width);
135 h = MIN2(h, fb->zsbuf->height);
H A Du_draw.c106 max_index = MIN2(max_index, buffer_max_index);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_framebuffer.c129 w = MIN2(w, fb->cbufs[i]->width);
130 h = MIN2(h, fb->cbufs[i]->height);
134 w = MIN2(w, fb->zsbuf->width);
135 h = MIN2(h, fb->zsbuf->height);
H A Du_draw.c106 max_index = MIN2(max_index, buffer_max_index);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dradeon_tile.c58 for (j = 0; j < MIN2(tile_height, height - row); ++j)
60 unsigned columns = MIN2(tile_width, width - col);
89 for (j = 0; j < MIN2(tile_height, height - row); ++j)
91 unsigned columns = MIN2(tile_width, width - col);
120 for (j = 0; j < MIN2(tile_height, height - row); ++j)
122 unsigned columns = MIN2(tile_width, width - col);
151 for (j = 0; j < MIN2(tile_height, height - row); ++j)
153 unsigned columns = MIN2(tile_width, width - col);
182 for (j = 0; j < MIN2(tile_height, height - row); ++j)
184 unsigned columns = MIN2(tile_widt
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_tile.c58 for (j = 0; j < MIN2(tile_height, height - row); ++j)
60 unsigned columns = MIN2(tile_width, width - col);
89 for (j = 0; j < MIN2(tile_height, height - row); ++j)
91 unsigned columns = MIN2(tile_width, width - col);
120 for (j = 0; j < MIN2(tile_height, height - row); ++j)
122 unsigned columns = MIN2(tile_width, width - col);
151 for (j = 0; j < MIN2(tile_height, height - row); ++j)
153 unsigned columns = MIN2(tile_width, width - col);
182 for (j = 0; j < MIN2(tile_height, height - row); ++j)
184 unsigned columns = MIN2(tile_widt
[all...]
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_tile.c58 for (j = 0; j < MIN2(tile_height, height - row); ++j)
60 unsigned columns = MIN2(tile_width, width - col);
89 for (j = 0; j < MIN2(tile_height, height - row); ++j)
91 unsigned columns = MIN2(tile_width, width - col);
120 for (j = 0; j < MIN2(tile_height, height - row); ++j)
122 unsigned columns = MIN2(tile_width, width - col);
151 for (j = 0; j < MIN2(tile_height, height - row); ++j)
153 unsigned columns = MIN2(tile_width, width - col);
182 for (j = 0; j < MIN2(tile_height, height - row); ++j)
184 unsigned columns = MIN2(tile_widt
[all...]
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_tile.c58 for (j = 0; j < MIN2(tile_height, height - row); ++j)
60 unsigned columns = MIN2(tile_width, width - col);
89 for (j = 0; j < MIN2(tile_height, height - row); ++j)
91 unsigned columns = MIN2(tile_width, width - col);
120 for (j = 0; j < MIN2(tile_height, height - row); ++j)
122 unsigned columns = MIN2(tile_width, width - col);
151 for (j = 0; j < MIN2(tile_height, height - row); ++j)
153 unsigned columns = MIN2(tile_width, width - col);
182 for (j = 0; j < MIN2(tile_height, height - row); ++j)
184 unsigned columns = MIN2(tile_widt
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_split_tmp.h91 draw_pt_trim_count(MIN2(max_count_simple, count), first, incr);
119 draw_pt_trim_count(MIN2(max_count_loop, count), first, incr);
142 draw_pt_trim_count(MIN2(max_count_fan, count), first, incr);
H A Ddraw_pt_vsplit.c91 fetch = MIN2(fetch, draw->pt.max_index);
177 vsplit->segment_size = MIN2(SEGMENT_SIZE, vsplit->max_vertices);
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_split_tmp.h91 draw_pt_trim_count(MIN2(max_count_simple, count), first, incr);
119 draw_pt_trim_count(MIN2(max_count_loop, count), first, incr);
142 draw_pt_trim_count(MIN2(max_count_fan, count), first, incr);
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/
H A Dt_dd_dmatmp.h125 nr = MIN2( currentsz, count - j );
160 nr = MIN2( currentsz, count - j );
190 nr = MIN2( currentsz, count - j );
234 nr = MIN2( currentsz, count - j );
293 nr = MIN2( currentsz, count - j );
326 nr = MIN2( currentsz, count - j );
359 nr = MIN2( currentsz, count - j + 1 );
399 nr = MIN2( currentsz, count - j + 1 );
441 nr = MIN2( currentsz, count - j );
478 nr = MIN2( currents
[all...]
H A Dt_dd_dmatmp2.h184 nr = MIN2( dmasz, count - j );
239 nr = MIN2( dmasz, count - j );
265 nr = MIN2( dmasz, count - j );
338 nr = MIN2( dmasz, count - j );
379 nr = MIN2( dmasz, count - j );
443 nr = MIN2( dmasz, count - j );
496 nr = MIN2( dmasz, count - j );
556 nr = MIN2( dmasz, count - j );
593 nr = MIN2( dmasz, count - j );
625 nr = MIN2( dmas
[all...]
/external/mesa3d/src/mesa/tnl_dd/
H A Dt_dd_dmatmp.h125 nr = MIN2( currentsz, count - j );
160 nr = MIN2( currentsz, count - j );
190 nr = MIN2( currentsz, count - j );
234 nr = MIN2( currentsz, count - j );
293 nr = MIN2( currentsz, count - j );
326 nr = MIN2( currentsz, count - j );
359 nr = MIN2( currentsz, count - j + 1 );
399 nr = MIN2( currentsz, count - j + 1 );
441 nr = MIN2( currentsz, count - j );
478 nr = MIN2( currents
[all...]
H A Dt_dd_dmatmp2.h184 nr = MIN2( dmasz, count - j );
239 nr = MIN2( dmasz, count - j );
265 nr = MIN2( dmasz, count - j );
338 nr = MIN2( dmasz, count - j );
379 nr = MIN2( dmasz, count - j );
443 nr = MIN2( dmasz, count - j );
496 nr = MIN2( dmasz, count - j );
556 nr = MIN2( dmasz, count - j );
593 nr = MIN2( dmasz, count - j );
625 nr = MIN2( dmas
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_blend.c266 rgba[i][RCOMP] = (GLubyte) MIN2( r, 255 );
267 rgba[i][GCOMP] = (GLubyte) MIN2( g, 255 );
268 rgba[i][BCOMP] = (GLubyte) MIN2( b, 255 );
269 rgba[i][ACOMP] = (GLubyte) MIN2( a, 255 );
282 rgba[i][RCOMP] = (GLshort) MIN2( r, 255 );
283 rgba[i][GCOMP] = (GLshort) MIN2( g, 255 );
284 rgba[i][BCOMP] = (GLshort) MIN2( b, 255 );
285 rgba[i][ACOMP] = (GLshort) MIN2( a, 255 );
325 rgba[i][RCOMP] = MIN2( rgba[i][RCOMP], dest[i][RCOMP] );
326 rgba[i][GCOMP] = MIN2( rgb
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_blend.c266 rgba[i][RCOMP] = (GLubyte) MIN2( r, 255 );
267 rgba[i][GCOMP] = (GLubyte) MIN2( g, 255 );
268 rgba[i][BCOMP] = (GLubyte) MIN2( b, 255 );
269 rgba[i][ACOMP] = (GLubyte) MIN2( a, 255 );
282 rgba[i][RCOMP] = (GLshort) MIN2( r, 255 );
283 rgba[i][GCOMP] = (GLshort) MIN2( g, 255 );
284 rgba[i][BCOMP] = (GLshort) MIN2( b, 255 );
285 rgba[i][ACOMP] = (GLshort) MIN2( a, 255 );
325 rgba[i][RCOMP] = MIN2( rgba[i][RCOMP], dest[i][RCOMP] );
326 rgba[i][GCOMP] = MIN2( rgb
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_screen.c158 return MIN2(result.u, PIPE_MAX_COLOR_BUFS);
179 levels = MIN2(util_logbase2(result.u) + 1, levels);
183 levels = MIN2(util_logbase2(result.u) + 1, levels);
192 return MIN2(util_logbase2(result.u) + 1, SVGA_MAX_TEXTURE_LEVELS);
199 return MIN2(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS),
294 return MIN2(result.u, SVGA3D_TEMPREG_MAX);
346 return MIN2(result.u, SVGA3D_TEMPREG_MAX);
615 svgascreen->maxPointSize = MIN2(result.f, 80.0f);
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_screen.c158 return MIN2(result.u, PIPE_MAX_COLOR_BUFS);
179 levels = MIN2(util_logbase2(result.u) + 1, levels);
183 levels = MIN2(util_logbase2(result.u) + 1, levels);
192 return MIN2(util_logbase2(result.u) + 1, SVGA_MAX_TEXTURE_LEVELS);
199 return MIN2(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS),
294 return MIN2(result.u, SVGA3D_TEMPREG_MAX);
346 return MIN2(result.u, SVGA3D_TEMPREG_MAX);
615 svgascreen->maxPointSize = MIN2(result.f, 80.0f);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dvg_context.h201 coords[2] = MIN2(coords[2], bounds[2]);
216 coords[3] = MIN2(coords[3], bounds[3]);
260 coords[2] = MIN2(coords[2], bounds[2]);
261 coords[3] = MIN2(coords[3], bounds[3]);
H A Dapi_path.c448 *minX = MIN2(pts[0], MIN2(pts[2], MIN2(pts[4], pts[6])));
449 *minY = MIN2(pts[1], MIN2(pts[3], MIN2(pts[5], pts[7])));
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_fs_live_variables.cpp199 def[reg] = MIN2(def[reg], ip);
212 def[i] = MIN2(def[i], cfg.blocks[b]->start_ip);
217 def[i] = MIN2(def[i], cfg.blocks[b]->end_ip);
265 int end = MIN2(a_use, b_use);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_context.h201 coords[2] = MIN2(coords[2], bounds[2]);
216 coords[3] = MIN2(coords[3], bounds[3]);
260 coords[2] = MIN2(coords[2], bounds[2]);
261 coords[3] = MIN2(coords[3], bounds[3]);
H A Dapi_path.c448 *minX = MIN2(pts[0], MIN2(pts[2], MIN2(pts[4], pts[6])));
449 *minY = MIN2(pts[1], MIN2(pts[3], MIN2(pts[5], pts[7])));
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_live_variables.cpp199 def[reg] = MIN2(def[reg], ip);
212 def[i] = MIN2(def[i], cfg.blocks[b]->start_ip);
217 def[i] = MIN2(def[i], cfg.blocks[b]->end_ip);
265 int end = MIN2(a_use, b_use);

Completed in 1383 milliseconds

1234567891011>>