/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tile.c | 58 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_8_x_4_8bit() 60 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit() 89 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_4_x_4_16bit() 91 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit() 120 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_8_x_2_16bit() 122 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_2_16bit() 151 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_4_x_2_32bit() 153 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_2_32bit() 182 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_2_x_2_64bit() 184 unsigned columns = MIN2(tile_width, width - col); in micro_tile_2_x_2_64bit() [all …]
|
D | radeon_mipmap_tree.c | 270 minLod = MIN2(minLod, tObj->MaxLevel); in calculate_min_max_lod() 272 maxLod = MIN2(maxLod, tObj->MaxLevel); in calculate_min_max_lod() 273 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod() 332 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture() 381 numLevels = MIN2(texObj->MaxLevel - texObj->BaseLevel + 1, texImg->MaxNumLevels); in radeon_try_alloc_miptree()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_tile.c | 58 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_8_x_4_8bit() 60 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_4_8bit() 89 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_4_x_4_16bit() 91 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_4_16bit() 120 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_8_x_2_16bit() 122 unsigned columns = MIN2(tile_width, width - col); in micro_tile_8_x_2_16bit() 151 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_4_x_2_32bit() 153 unsigned columns = MIN2(tile_width, width - col); in micro_tile_4_x_2_32bit() 182 for (j = 0; j < MIN2(tile_height, height - row); ++j) in micro_tile_2_x_2_64bit() 184 unsigned columns = MIN2(tile_width, width - col); in micro_tile_2_x_2_64bit() [all …]
|
D | radeon_mipmap_tree.c | 270 minLod = MIN2(minLod, tObj->MaxLevel); in calculate_min_max_lod() 272 maxLod = MIN2(maxLod, tObj->MaxLevel); in calculate_min_max_lod() 273 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod() 332 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture() 381 numLevels = MIN2(texObj->MaxLevel - texObj->BaseLevel + 1, texImg->MaxNumLevels); in radeon_try_alloc_miptree()
|
/external/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_dmatmp.h | 125 nr = MIN2( currentsz, count - j ); in TAG() 160 nr = MIN2( currentsz, count - j ); in TAG() 190 nr = MIN2( currentsz, count - j ); in TAG() 234 nr = MIN2( currentsz, count - j ); in TAG() 293 nr = MIN2( currentsz, count - j ); in TAG() 326 nr = MIN2( currentsz, count - j ); in TAG() 359 nr = MIN2( currentsz, count - j + 1 ); in TAG() 399 nr = MIN2( currentsz, count - j + 1 ); in TAG() 441 nr = MIN2( currentsz, count - j ); in TAG() 478 nr = MIN2( currentsz, count - j ); in TAG() [all …]
|
D | t_dd_dmatmp2.h | 184 nr = MIN2( dmasz, count - j ); in TAG() 239 nr = MIN2( dmasz, count - j ); in TAG() 265 nr = MIN2( dmasz, count - j ); in TAG() 338 nr = MIN2( dmasz, count - j ); in TAG() 379 nr = MIN2( dmasz, count - j ); in TAG() 443 nr = MIN2( dmasz, count - j ); in TAG() 496 nr = MIN2( dmasz, count - j ); in TAG() 556 nr = MIN2( dmasz, count - j ); in TAG() 593 nr = MIN2( dmasz, count - j ); in TAG() 625 nr = MIN2( dmasz, count - j ); in TAG() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_framebuffer.c | 129 w = MIN2(w, fb->cbufs[i]->width); in util_framebuffer_min_size() 130 h = MIN2(h, fb->cbufs[i]->height); in util_framebuffer_min_size() 134 w = MIN2(w, fb->zsbuf->width); in util_framebuffer_min_size() 135 h = MIN2(h, fb->zsbuf->height); in util_framebuffer_min_size()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_blend.c | 266 rgba[i][RCOMP] = (GLubyte) MIN2( r, 255 ); in blend_add() 267 rgba[i][GCOMP] = (GLubyte) MIN2( g, 255 ); in blend_add() 268 rgba[i][BCOMP] = (GLubyte) MIN2( b, 255 ); in blend_add() 269 rgba[i][ACOMP] = (GLubyte) MIN2( a, 255 ); in blend_add() 282 rgba[i][RCOMP] = (GLshort) MIN2( r, 255 ); in blend_add() 283 rgba[i][GCOMP] = (GLshort) MIN2( g, 255 ); in blend_add() 284 rgba[i][BCOMP] = (GLshort) MIN2( b, 255 ); in blend_add() 285 rgba[i][ACOMP] = (GLshort) MIN2( a, 255 ); in blend_add() 325 rgba[i][RCOMP] = MIN2( rgba[i][RCOMP], dest[i][RCOMP] ); in blend_min() 326 rgba[i][GCOMP] = MIN2( rgba[i][GCOMP], dest[i][GCOMP] ); in blend_min() [all …]
|
D | s_blit.c | 120 const GLint srcXpos = MIN2(srcX0, srcX1); in blit_nearest() 121 const GLint srcYpos = MIN2(srcY0, srcY1); in blit_nearest() 122 const GLint dstXpos = MIN2(dstX0, dstX1); in blit_nearest() 123 const GLint dstYpos = MIN2(dstY0, dstY1); in blit_nearest() 501 const GLint srcXpos = MIN2(srcX0, srcX1); in blit_linear() 502 const GLint srcYpos = MIN2(srcY0, srcY1); in blit_linear() 503 const GLint dstXpos = MIN2(dstX0, dstX1); in blit_linear() 504 const GLint dstYpos = MIN2(dstY0, dstY1); in blit_linear()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_screen.c | 158 return MIN2(result.u, PIPE_MAX_COLOR_BUFS); in svga_get_param() 179 levels = MIN2(util_logbase2(result.u) + 1, levels); in svga_get_param() 183 levels = MIN2(util_logbase2(result.u) + 1, levels); in svga_get_param() 192 return MIN2(util_logbase2(result.u) + 1, SVGA_MAX_TEXTURE_LEVELS); in svga_get_param() 199 return MIN2(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS), in svga_get_param() 294 return MIN2(result.u, SVGA3D_TEMPREG_MAX); in svga_get_shader_param() 346 return MIN2(result.u, SVGA3D_TEMPREG_MAX); in svga_get_shader_param() 615 svgascreen->maxPointSize = MIN2(result.f, 80.0f); in svga_screen_create()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_split_tmp.h | 91 draw_pt_trim_count(MIN2(max_count_simple, count), first, incr); in FUNC() 119 draw_pt_trim_count(MIN2(max_count_loop, count), first, incr); in FUNC() 142 draw_pt_trim_count(MIN2(max_count_fan, count), first, incr); in FUNC()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | mask.c | 74 location[2] = MIN2(tx + swidth, MIN2(dwidth, tx + twidth)); in intersect_rectangles() 77 offsets[2] = MIN2(twidth, MIN2(dwidth - tx, swidth )); in intersect_rectangles() 85 location[3] = MIN2(ty + sheight, MIN2(dheight, ty + theight)); in intersect_rectangles() 88 offsets[3] = MIN2(theight, MIN2(dheight - ty, sheight)); in intersect_rectangles()
|
D | vg_context.h | 201 coords[2] = MIN2(coords[2], bounds[2]); in vg_shift_rectx() 216 coords[3] = MIN2(coords[3], bounds[3]); in vg_shift_recty() 260 coords[2] = MIN2(coords[2], bounds[2]); in vg_bound_rect() 261 coords[3] = MIN2(coords[3], bounds[3]); in vg_bound_rect()
|
D | api_path.c | 448 *minX = MIN2(pts[0], MIN2(pts[2], MIN2(pts[4], pts[6]))); in vegaPathTransformedBounds() 449 *minY = MIN2(pts[1], MIN2(pts[3], MIN2(pts[5], pts[7]))); in vegaPathTransformedBounds()
|
D | polygon.c | 118 int size = MIN2(sizeof(float) * COMPONENTS * new_size, in polygon_resize() 204 minx = MIN2(vert[0], minx); in polygon_bounding_rect() 205 miny = MIN2(vert[1], miny); in polygon_bounding_rect()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_fs_live_variables.cpp | 199 def[reg] = MIN2(def[reg], ip); in calculate_live_intervals() 212 def[i] = MIN2(def[i], cfg.blocks[b]->start_ip); in calculate_live_intervals() 217 def[i] = MIN2(def[i], cfg.blocks[b]->end_ip); in calculate_live_intervals() 265 int end = MIN2(a_use, b_use); in virtual_grf_interferes()
|
D | brw_optimize.c | 154 const int right = MIN2(write_end, reg_end); in brw_is_grf_written() 201 const int right0 = MIN2(write_end0, reg_end); in brw_is_mrf_written_alu() 203 const int right1 = MIN2(write_end1, reg_end); in brw_is_mrf_written_alu() 219 const int right = MIN2(write_end, reg_end); in brw_is_mrf_written_alu() 240 const int right = MIN2(write_end, reg_end); in brw_is_mrf_written_send() 288 const int right = MIN2(read_end, reg_end); in brw_is_mrf_read()
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_push.c | 91 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i08() 123 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i16() 155 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i32() 185 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_seq()
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_transfer.c | 197 nr = MIN2(count, nr - 9); in nvc0_m2mf_push_linear() 198 nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN); in nvc0_m2mf_push_linear() 242 nr = MIN2(count, nr - 8); in nve4_p2mf_push_linear() 243 nr = MIN2(nr, (NV04_PFIFO_MAX_PACKET_LEN - 1)); in nve4_p2mf_push_linear() 279 unsigned bytes = MIN2(size, 1 << 17); in nvc0_m2mf_copy_linear() 486 nr = MIN2(nr, words); in nvc0_cb_push() 487 nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN - 1); in nvc0_cb_push()
|
D | nvc0_push.c | 126 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i08() 167 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i16() 208 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i32() 247 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_seq()
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_push.c | 68 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i08() 101 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i16() 134 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i32() 165 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_seq()
|
D | nv50_transfer.c | 194 nr = MIN2(count, nr - 1); in nv50_sifc_linear_u8() 195 nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN); in nv50_sifc_linear_u8() 227 unsigned bytes = MIN2(size, 1 << 17); in nv50_m2mf_copy_linear() 403 nr = MIN2(nr - 7, words); in nv50_cb_push() 404 nr = MIN2(nr, NV04_PFIFO_MAX_PACKET_LEN - 1); in nv50_cb_push()
|
/external/mesa3d/src/mesa/main/ |
D | viewport.c | 77 width = MIN2(width, (GLsizei) ctx->Const.MaxViewportWidth); in _mesa_set_viewport() 78 height = MIN2(height, (GLsizei) ctx->Const.MaxViewportHeight); in _mesa_set_viewport()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_extensions.c | 192 pc->MaxUniformComponents = 4 * MIN2(pc->MaxNativeParameters, MAX_UNIFORMS); in st_init_limits() 199 pc->MaxLocalParams = MIN2(pc->MaxParameters, MAX_PROGRAM_LOCAL_PARAMS); in st_init_limits() 200 pc->MaxEnvParams = MIN2(pc->MaxParameters, MAX_PROGRAM_ENV_PARAMS); in st_init_limits() 222 …options->MaxUnrollIterations = MIN2(screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_MAX_INSTR… in st_init_limits() 232 c->MaxVarying = MIN2(c->MaxVarying, MAX_VARYING); in st_init_limits() 241 c->MaxTransformFeedbackBuffers = MIN2(c->MaxTransformFeedbackBuffers, MAX_FEEDBACK_BUFFERS); in st_init_limits()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_split_inplace.c | 124 split->min_index = MIN2(split->min_index, prim->start); in update_index_bounds() 142 return MIN2(split->min_index, prim->start) + split->limit - prim->start; in get_max_vertices() 181 nr = MIN2( available, remaining ); in split_prims()
|