HomeSort by relevance Sort by last modified time
    Searched refs:MIN2 (Results 1 - 25 of 159) sorted by null

1 2 3 4 5 6 7

  /external/mesa3d/src/gallium/auxiliary/util/
u_framebuffer.c 129 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);
u_draw.c 106 max_index = MIN2(max_index, buffer_max_index);
  /external/libdrm/
util_math.h 27 #define MIN2( A, B ) ( (A)<(B) ? (A) : (B) )
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_tile.c 58 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_width, width - col)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_split_tmp.h 91 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);
draw_pt_vsplit.c 91 fetch = MIN2(fetch, draw->pt.max_index);
177 vsplit->segment_size = MIN2(SEGMENT_SIZE, vsplit->max_vertices);
  /external/mesa3d/src/mesa/tnl_dd/
t_dd_dmatmp.h 125 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( currentsz, count - j )
    [all...]
t_dd_dmatmp2.h 184 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( dmasz, count - j )
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_blend.c 266 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( rgba[i][GCOMP], dest[i][GCOMP] )
    [all...]
  /external/mesa3d/src/gallium/drivers/svga/
svga_screen.c 158 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/state_trackers/vega/
vg_context.h 201 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]);
api_path.c 448 *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])));
mask.c 74 location[2] = MIN2(tx + swidth, MIN2(dwidth, tx + twidth));
77 offsets[2] = MIN2(twidth, MIN2(dwidth - tx, swidth ));
85 location[3] = MIN2(ty + sheight, MIN2(dheight, ty + theight));
88 offsets[3] = MIN2(theight, MIN2(dheight - ty, sheight));
polygon.c 118 int size = MIN2(sizeof(float) * COMPONENTS * new_size,
204 minx = MIN2(vert[0], minx);
205 miny = MIN2(vert[1], miny);
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_fs_live_variables.cpp 199 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);
brw_context.c 167 ctx->Const.MaxTextureUnits = MIN2(ctx->Const.MaxTextureCoordUnits,
246 MIN2(ctx->Const.VertexProgram.MaxNativeParameters,
258 MIN2(ctx->Const.FragmentProgram.MaxNativeParameters,
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_render_t.c 62 int npack = MIN2(npush, MAX_PACKET * MAX_OUT_##out); \
68 int nout = MIN2(npack, MAX_OUT_##out); \
nv04_state_tex.c 81 lod_max = CLAMP(MIN2(sa->MaxLod, t->_MaxLambda),
  /external/mesa3d/src/mesa/main/
viewport.c 77 width = MIN2(width, (GLsizei) ctx->Const.MaxViewportWidth);
78 height = MIN2(height, (GLsizei) ctx->Const.MaxViewportHeight);
  /external/mesa3d/src/mesa/vbo/
vbo_primitive_restart.c 38 #define UPDATE_MIN2(a, b) (a) = MIN2((a), (b))
211 temp_prim.count = MIN2(sub_end_index, end_index) - temp_prim.start;
vbo_split_inplace.c 124 split->min_index = MIN2(split->min_index, prim->start);
142 return MIN2(split->min_index, prim->start) + split->limit - prim->start;
181 nr = MIN2( available, remaining );
  /external/mesa3d/src/gallium/drivers/nv30/
nv30_push.c 91 unsigned push = MIN2(count, ctx->packet_vertex_limit);
123 unsigned push = MIN2(count, ctx->packet_vertex_limit);
155 unsigned push = MIN2(count, ctx->packet_vertex_limit);
185 unsigned push = MIN2(count, ctx->packet_vertex_limit);
  /external/mesa3d/src/gallium/drivers/nv50/
nv50_push.c 68 unsigned push = MIN2(count, ctx->packet_vertex_limit);
101 unsigned push = MIN2(count, ctx->packet_vertex_limit);
134 unsigned push = MIN2(count, ctx->packet_vertex_limit);
165 unsigned push = MIN2(count, ctx->packet_vertex_limit);
  /external/mesa3d/src/gallium/drivers/nvc0/
nvc0_transfer.c 197 nr = MIN2(count, nr - 9);
198 nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN);
242 nr = MIN2(count, nr - 8);
243 nr = MIN2(nr, (NV04_PFIFO_MAX_PACKET_LEN - 1));
279 unsigned bytes = MIN2(size, 1 << 17);
486 nr = MIN2(nr, words);
487 nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN - 1);
  /external/mesa3d/src/mesa/state_tracker/
st_extensions.c 192 pc->MaxUniformComponents = 4 * MIN2(pc->MaxNativeParameters, MAX_UNIFORMS);
199 pc->MaxLocalParams = MIN2(pc->MaxParameters, MAX_PROGRAM_LOCAL_PARAMS);
200 pc->MaxEnvParams = MIN2(pc->MaxParameters, MAX_PROGRAM_ENV_PARAMS);
222 options->MaxUnrollIterations = MIN2(screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_INSTRUCTIONS), 65536);
232 c->MaxVarying = MIN2(c->MaxVarying, MAX_VARYING);
241 c->MaxTransformFeedbackBuffers = MIN2(c->MaxTransformFeedbackBuffers, MAX_FEEDBACK_BUFFERS);

Completed in 1541 milliseconds

1 2 3 4 5 6 7