Home
last modified time | relevance | path

Searched refs:buffer_offset (Results 1 – 25 of 80) sorted by relevance

1234

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_so.c40 unsigned buffer_offset, in softpipe_create_so_target() argument
49 t->target.buffer_offset = buffer_offset; in softpipe_create_so_target()
/external/mesa3d/src/mesa/vbo/
Dvbo_save_draw.c68 offset = (node->buffer_offset + in _playback_copy_to_current()
71 offset = node->buffer_offset; in _playback_copy_to_current()
140 GLuint buffer_offset = node->buffer_offset; in vbo_bind_vertex_list() local
202 arrays[attr].Ptr = (const GLubyte *) NULL + buffer_offset; in vbo_bind_vertex_list()
219 buffer_offset += node_attrsz[src] * sizeof(GLfloat); in vbo_bind_vertex_list()
240 (const GLfloat *)(buffer + list->buffer_offset), in vbo_save_loopback_vertex_list()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c149 int *buffer_offset, int *index_offset) in r300_split_index_bias() argument
163 size = (vb->buffer_offset + velem[i].src_offset) / vb->stride; 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()
239 int buffer_offset, in r300_emit_states() argument
271 r300->vertex_arrays_offset != buffer_offset || in r300_emit_states()
273 r300_emit_vertex_arrays(r300, buffer_offset, indexed, instance_id); in r300_emit_states()
277 r300->vertex_arrays_offset = buffer_offset; in r300_emit_states()
303 int buffer_offset, in r300_prepare_for_rendering() argument
[all …]
Dr300_emit.c853 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays()
854 OUT_CS(vb2->buffer_offset + velem[i+1].src_offset + offset * vb2->stride); in r300_emit_vertex_arrays()
862 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays()
879 offset1 = vb1->buffer_offset + velem[i].src_offset + in r300_emit_vertex_arrays()
883 offset1 = vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride; in r300_emit_vertex_arrays()
887 offset2 = vb2->buffer_offset + velem[i+1].src_offset + in r300_emit_vertex_arrays()
891 offset2 = vb2->buffer_offset + velem[i+1].src_offset + offset * vb2->stride; in r300_emit_vertex_arrays()
906 offset1 = vb1->buffer_offset + velem[i].src_offset + in r300_emit_vertex_arrays()
910 offset1 = vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride; in r300_emit_vertex_arrays()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_streamout.c73 cs->buf[cs->cdw++] = (t[i]->b.buffer_offset +
104 cs->buf[cs->cdw++] = t[i]->b.buffer_offset >> 2; /* buffer offset in DW */
204 unsigned buffer_offset, in si_create_so_target() argument
220 t->b.buffer_offset = buffer_offset; in si_create_so_target()
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw.c78 if (buffer->buffer_offset >= buffer_size) { in util_draw_max_index()
83 buffer_size -= buffer->buffer_offset; in util_draw_max_index()
Du_vbuf.c280 unsigned offset = vb->buffer_offset + vb->stride * start_vertex; in u_vbuf_translate_buffers()
369 mgr->real_vertex_buffer[out_vb].buffer_offset = out_offset; in u_vbuf_translate_buffers()
730 real_vb->buffer_offset = orig_vb->buffer_offset = vb->buffer_offset; in u_vbuf_set_vertex_buffers()
743 if ((!mgr->caps.buffer_offset_unaligned && vb->buffer_offset % 4 != 0) || in u_vbuf_set_vertex_buffers()
820 first = vb->buffer_offset + velem->src_offset; in u_vbuf_upload_buffers()
866 &real_vb->buffer_offset, &real_vb->buffer); in u_vbuf_upload_buffers()
870 real_vb->buffer_offset -= start; in u_vbuf_upload_buffers()
Du_debug_describe.c90 ptr->buffer_offset, ptr->buffer_size); in debug_describe_so_target()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h445 unsigned buffer_offset; /**< offset to start of data in buffer, in bytes */ member
457 unsigned buffer_offset; /**< offset to start of data in buffer, in bytes */ member
482 unsigned buffer_offset; /**< offset where data should be written, in bytes */ member
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vertex_buffers.c51 quad.buffer_offset = 0; in vl_vb_upload_quads()
96 pos.buffer_offset = 0; in vl_vb_upload_pos()
271 buf.buffer_offset = 0; in vl_vb_get_ycbcr()
286 buf.buffer_offset = 0; in vl_vb_get_mv()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c428 vbuffer->buffer_offset = 0; in setup_interleaved_attribs()
441 vbuffer->buffer_offset = pointer_to_offset(low_addr); in setup_interleaved_attribs()
448 vbuffer->buffer_offset = 0; in setup_interleaved_attribs()
492 vbuffer[attr].buffer_offset = pointer_to_offset(array->Ptr); in setup_non_interleaved_attribs()
511 vbuffer[attr].buffer_offset = 0; in setup_non_interleaved_attribs()
Dst_atom_constbuf.c83 params->ParameterValues, &cb.buffer_offset, &cb.buffer); in st_upload_constants()
88 cb.buffer_offset = 0; in st_upload_constants()
Dst_draw_feedback.c174 vbuffers[attr].buffer_offset = pointer_to_offset(low_addr); in st_feedback_draw_vbo()
186 vbuffers[attr].buffer_offset = 0; in st_feedback_draw_vbo()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_vdecl.c78 unsigned int offset = vb->buffer_offset + ve[i].src_offset; in emit_hw_vs_vdecl()
116 decl.array.offset = (vb->buffer_offset in emit_hw_vs_vdecl()
/external/mesa3d/src/gallium/drivers/noop/
Dnoop_state.c251 unsigned buffer_offset, in noop_create_stream_output_target() argument
260 t->buffer_offset = buffer_offset; in noop_create_stream_output_target()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_sol.c54 unsigned buffer_offset = in gen6_update_sol_surfaces() local
60 linked_xfb_info->BufferStride[buffer], buffer_offset); in gen6_update_sol_surfaces()
Dintel_buffer_objects.c496 intel->upload.buffer_offset, in intel_upload_finish()
539 intel->upload.buffer_offset, in intel_upload_data()
548 intel->upload.buffer_offset = base; in intel_upload_data()
579 intel->upload.buffer_offset, in intel_upload_map()
587 intel->upload.buffer_offset = base; in intel_upload_map()
/external/v8/src/runtime/
Druntime-typedarray.cc505 size_t buffer_offset = data_view_byte_offset + byte_offset; in DataViewGetValue() local
507 buffer_offset + sizeof(T)); in DataViewGetValue()
509 static_cast<uint8_t*>(buffer->backing_store()) + buffer_offset; in DataViewGetValue()
546 size_t buffer_offset = data_view_byte_offset + byte_offset; in DataViewSetValue() local
548 buffer_offset + sizeof(T)); in DataViewSetValue()
550 static_cast<uint8_t*>(buffer->backing_store()) + buffer_offset; in DataViewSetValue()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_buffer_objects.c496 intel->upload.buffer_offset, in intel_upload_finish()
539 intel->upload.buffer_offset, in intel_upload_data()
548 intel->upload.buffer_offset = base; in intel_upload_data()
579 intel->upload.buffer_offset, in intel_upload_map()
587 intel->upload.buffer_offset = base; in intel_upload_map()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_buffer_objects.c496 intel->upload.buffer_offset, in intel_upload_finish()
539 intel->upload.buffer_offset, in intel_upload_data()
548 intel->upload.buffer_offset = base; in intel_upload_data()
579 intel->upload.buffer_offset, in intel_upload_map()
587 intel->upload.buffer_offset = base; in intel_upload_map()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_state.c672 nvc0->constbuf[s][i].offset = cb->buffer_offset; in nvc0_set_constant_buffer()
799 nvc0->vtxbuf[i].buffer_offset = vb[i].buffer_offset; in nvc0_set_vertex_buffers()
818 nvc0->vtxbuf[i].buffer_offset == vb[i].buffer_offset && in nvc0_set_vertex_buffers()
822 nvc0->vtxbuf[i].buffer_offset = vb[i].buffer_offset; in nvc0_set_vertex_buffers()
887 targ->pipe.buffer_offset = offset; in nvc0_so_target_create()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch.c163 draw->pt.vertex_buffer[i].buffer_offset), in draw_pt_fetch_run()
190 draw->pt.vertex_buffer[i].buffer_offset), in draw_pt_fetch_run_linear()
/external/mesa3d/src/gallium/tests/graw/
Dtri-instanced.c136 vbuf[0].buffer_offset = 0; in set_vertices()
145 vbuf[1].buffer_offset = 0; in set_vertices()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c550 vb[i].buffer_offset = input[i].buffer_offset; in r600_set_vertex_buffers()
962 u_upload_data(rctx->uploader, 0, size, tmpPtr, &cb->buffer_offset, &cb->buffer); in r600_set_constant_buffer()
965 u_upload_data(rctx->uploader, 0, input->buffer_size, ptr, &cb->buffer_offset, &cb->buffer); in r600_set_constant_buffer()
971 cb->buffer_offset = input->buffer_offset; in r600_set_constant_buffer()
984 unsigned buffer_offset, in r600_create_so_target() argument
999 t->b.buffer_offset = buffer_offset; in r600_create_so_target()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_vbo.c46 data = nouveau_resource_map_offset(&nv30->base, res, vb->buffer_offset + in nv30_emit_vtxattr()
114 assert(vb->stride > vb->buffer_offset); in nv30_prevalidate_vbufs()
154 offset = vb->buffer_offset + ve->src_offset; in nv30_update_user_vbufs()
236 offset = ve->src_offset + vb->buffer_offset; in nv30_vbo_validate()

1234