/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_index_modify.c | 31 int index_bias, in util_shorten_ubyte_elts_to_userptr() argument 52 *out_map = (unsigned short)(*in_map + index_bias); in util_shorten_ubyte_elts_to_userptr() 64 int index_bias, in util_shorten_ubyte_elts() argument 79 util_shorten_ubyte_elts_to_userptr(context, ib, index_bias, in util_shorten_ubyte_elts() 92 int index_bias, in util_rebuild_ushort_elts_to_userptr() argument 112 *out_map = (unsigned short)(*in_map + index_bias); in util_rebuild_ushort_elts_to_userptr() 124 int index_bias, in util_rebuild_ushort_elts() argument 138 util_rebuild_ushort_elts_to_userptr(context, ib, index_bias, in util_rebuild_ushort_elts() 151 int index_bias, in util_rebuild_uint_elts_to_userptr() argument 171 *out_map = (unsigned int)(*in_map + index_bias); in util_rebuild_uint_elts_to_userptr() [all …]
|
D | u_index_modify.h | 32 int index_bias, 40 int index_bias, 48 int index_bias, 55 int index_bias, 62 int index_bias, 69 int index_bias,
|
D | u_draw.h | 67 util_draw_elements(struct pipe_context *pipe, int index_bias, in util_draw_elements() argument 77 info.index_bias = index_bias; in util_draw_elements() 104 int index_bias, in util_draw_elements_instanced() argument 116 info.index_bias = index_bias; in util_draw_elements_instanced() 125 int index_bias, in util_draw_range_elements() argument 137 info.index_bias = index_bias; in util_draw_range_elements()
|
D | u_vbuf.c | 1034 start_vertex = min_index + info->index_bias; in u_vbuf_draw_vbo() 1116 new_info.index_bias = 0; in u_vbuf_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_render.c | 116 void r500_emit_index_bias(struct r300_context *r300, int index_bias) in r500_emit_index_bias() argument 122 (index_bias & 0xFFFFFF) | (index_bias < 0 ? 1<<24 : 0)); in r500_emit_index_bias() 148 static void r300_split_index_bias(struct r300_context *r300, int index_bias, in r300_split_index_bias() argument 156 if (index_bias < 0) { in r300_split_index_bias() 168 *buffer_offset = MAX2(-max_neg_bias, index_bias); in r300_split_index_bias() 171 *buffer_offset = index_bias; in r300_split_index_bias() 174 *index_offset = index_bias - *buffer_offset; in r300_split_index_bias() 240 int index_bias, int instance_id) in r300_emit_states() argument 263 r500_emit_index_bias(r300, index_bias); in r300_emit_states() 304 int index_bias, in r300_prepare_for_rendering() argument [all …]
|
D | r300_context.h | 718 void r500_emit_index_bias(struct r300_context *r300, int index_bias);
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_elements.c | 103 int index_bias, in svga_hwtnl_simple_draw_range_elements() argument 148 range.indexBias = index_bias; in svga_hwtnl_simple_draw_range_elements() 168 int index_bias, in svga_hwtnl_draw_range_elements() argument 209 index_bias, in svga_hwtnl_draw_range_elements() 237 index_bias, in svga_hwtnl_draw_range_elements()
|
D | svga_draw.c | 279 int index_bias) in svga_hwtnl_set_index_bias() argument 281 hwtnl->index_bias = index_bias; in svga_hwtnl_set_index_bias() 306 int index_bias = (int) range->indexBias + hwtnl->index_bias; in svga_hwtnl_prim() local 372 if (index_bias >= 0) { in svga_hwtnl_prim() 373 assert(offset + index_bias*stride + width <= size); in svga_hwtnl_prim() 435 hwtnl->cmd.prim[hwtnl->cmd.prim_count].indexBias += hwtnl->index_bias; in svga_hwtnl_prim()
|
D | svga_pipe_draw.c | 222 int index_bias, in retry_draw_range_elements() argument 240 ret = svga_upload_user_buffers( svga, min_index + index_bias, in retry_draw_range_elements() 250 index_buffer, index_size, index_bias, in retry_draw_range_elements() 264 index_buffer, index_size, index_bias, in retry_draw_range_elements() 387 info->index_bias, in svga_draw_vbo()
|
D | svga_draw.h | 72 int index_bias, 87 int index_bias);
|
D | svga_draw_private.h | 125 int index_bias; member 159 int index_bias,
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_vbo_translate.c | 59 nvc0_vertex_configure_translate(struct nvc0_context *nvc0, int32_t index_bias) in nvc0_vertex_configure_translate() argument 74 if (index_bias && !unlikely(nvc0->vertex->instance_bufs & (1 << i))) in nvc0_vertex_configure_translate() 75 map += (intptr_t)index_bias * vb->stride; in nvc0_vertex_configure_translate() 95 int32_t index_bias) in nvc0_push_map_edgeflag() argument 106 if (index_bias) in nvc0_push_map_edgeflag() 107 ctx->edgeflag.data += (intptr_t)index_bias * vb->stride; in nvc0_push_map_edgeflag() 440 nvc0_vertex_configure_translate(nvc0, info->index_bias); in nvc0_push_vbo() 443 nvc0_push_map_edgeflag(&ctx, nvc0, info->index_bias); in nvc0_push_vbo() 579 if (!index_size || info->index_bias) in nvc0_push_upload_vertex_ids() 589 if (!info->index_bias) { in nvc0_push_upload_vertex_ids() [all …]
|
D | nvc0_vbo.c | 567 if (nvc0->state.index_bias) { in nvc0_draw_arrays() 570 nvc0->state.index_bias = 0; in nvc0_draw_arrays() 688 unsigned instance_count, int32_t index_bias) in nvc0_draw_elements() argument 696 if (index_bias != nvc0->state.index_bias) { in nvc0_draw_elements() 699 PUSH_DATA (push, index_bias); in nvc0_draw_elements() 700 nvc0->state.index_bias = index_bias; in nvc0_draw_elements() 791 nvc0->vb_elt_first = info->min_index + info->index_bias; in nvc0_draw_vbo() 868 info->instance_count, info->index_bias); in nvc0_draw_vbo()
|
D | nvc0_push.c | 304 boolean apply_bias = info->indexed && info->index_bias; in nvc0_push_vbo() 317 data += info->index_bias * vb->stride; in nvc0_push_vbo()
|
D | nvc0_context.h | 98 int32_t index_bias; member
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_vbo.c | 451 if (nv50->state.index_bias) { in nv50_draw_arrays() 454 nv50->state.index_bias = 0; in nv50_draw_arrays() 565 unsigned instance_count, int32_t index_bias) in nv50_draw_elements() argument 573 if (index_bias != nv50->state.index_bias) { in nv50_draw_elements() 575 PUSH_DATA (push, index_bias); in nv50_draw_elements() 576 nv50->state.index_bias = index_bias; in nv50_draw_elements() 722 nv50->vb_elt_first = info->min_index + info->index_bias; in nv50_draw_vbo() 795 info->instance_count, info->index_bias); in nv50_draw_vbo()
|
D | nv50_push.c | 215 boolean apply_bias = info->indexed && info->index_bias; in nv50_push_vbo() 233 data += (ptrdiff_t)info->index_bias * vb->stride; in nv50_push_vbo()
|
D | nv50_context.h | 92 int32_t index_bias; member
|
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv30_vbo.c | 454 unsigned instance_count, int32_t index_bias) in nv30_draw_elements() argument 462 if (index_bias != nv30->state.index_bias) { in nv30_draw_elements() 464 PUSH_DATA (push, index_bias); in nv30_draw_elements() 465 nv30->state.index_bias = index_bias; in nv30_draw_elements() 610 info->instance_count, info->index_bias); in nv30_draw_vbo()
|
D | nv30_push.c | 202 boolean apply_bias = info->indexed && info->index_bias; in nv30_push_vbo() 218 data += info->index_bias * vb->stride; in nv30_push_vbo()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_context.h | 735 info.index_bias = base_vertex_location; in DrawIndexed() 760 info.index_bias = 0; in Draw() 787 info.index_bias = base_vertex_location; in DrawIndexedInstanced() 814 info.index_bias = 0; in DrawInstanced() 839 info.index_bias = 0; in DrawAuto() 863 unsigned index_bias; in DrawIndexedInstancedIndirect() member 873 info.index_bias = data.index_bias; in DrawIndexedInstancedIndirect() 906 info.index_bias = 0; in DrawInstancedIndirect()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 539 int index_bias; /**< a bias to be added to each index */ member
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_draw.c | 264 info.index_bias = prims[i].basevertex; in st_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_state_common.c | 1184 info.index_bias = info.start; in r600_draw_vbo() 1192 r600_pipe_state_add_reg(&rctx->vgt, R_028408_VGT_INDX_OFFSET, info.index_bias); in r600_draw_vbo() 1204 r600_pipe_state_mod_reg(&rctx->vgt, info.index_bias); in r600_draw_vbo()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt.c | 461 draw->pt.user.eltBias = info->index_bias; in draw_vbo()
|