/external/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_program.c | 112 p->velem.count = 2; in pp_init_prog() 113 p->velem.velems[0].src_offset = 0; in pp_init_prog() 114 p->velem.velems[0].instance_divisor = 0; in pp_init_prog() 115 p->velem.velems[0].vertex_buffer_index = 0; in pp_init_prog() 116 p->velem.velems[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in pp_init_prog() 117 p->velem.velems[1].src_offset = 1 * 4 * sizeof(float); in pp_init_prog() 118 p->velem.velems[1].instance_divisor = 0; in pp_init_prog() 119 p->velem.velems[1].vertex_buffer_index = 0; in pp_init_prog() 120 p->velem.velems[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in pp_init_prog()
|
D | pp_private.h | 52 struct cso_velems_state velem; member
|
D | pp_run.c | 280 cso_set_vertex_elements(p->cso, &p->velem); in pp_filter_misc_state()
|
/external/mesa3d/src/gallium/tests/trivial/ |
D | tri.c | 73 struct cso_velems_state velem; member 199 memset(&p->velem, 0, sizeof(p->velem)); in init_prog() 200 p->velem.count = 2; in init_prog() 202 p->velem.velems[0].src_offset = 0 * 4 * sizeof(float); /* offset 0, first element */ in init_prog() 203 p->velem.velems[0].instance_divisor = 0; in init_prog() 204 p->velem.velems[0].vertex_buffer_index = 0; in init_prog() 205 p->velem.velems[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog() 207 p->velem.velems[1].src_offset = 1 * 4 * sizeof(float); /* offset 16, second element */ in init_prog() 208 p->velem.velems[1].instance_divisor = 0; in init_prog() 209 p->velem.velems[1].vertex_buffer_index = 0; in init_prog() [all …]
|
D | quad-tex.c | 77 struct cso_velems_state velem; member 256 memset(&p->velem, 0, sizeof(p->velem)); in init_prog() 257 p->velem.count = 2; in init_prog() 259 p->velem.velems[0].src_offset = 0 * 4 * sizeof(float); /* offset 0, first element */ in init_prog() 260 p->velem.velems[0].instance_divisor = 0; in init_prog() 261 p->velem.velems[0].vertex_buffer_index = 0; in init_prog() 262 p->velem.velems[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog() 264 p->velem.velems[1].src_offset = 1 * 4 * sizeof(float); /* offset 16, second element */ in init_prog() 265 p->velem.velems[1].instance_divisor = 0; in init_prog() 266 p->velem.velems[1].vertex_buffer_index = 0; in init_prog() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | XUnresolvedVariable.java | 120 ElemVariable velem = (ElemVariable)m_obj; in execute() local 124 if(-1 != velem.m_frameSize) in execute() 125 vars.link(velem.m_frameSize); in execute() 126 XObject var = velem.getValue(m_transformer, m_context); in execute() 135 if(-1 != velem.m_frameSize) in execute()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_emit.c | 934 struct pipe_vertex_element *velem = r300->velems->velem; in r300_emit_vertex_arrays() local 951 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays() 952 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays() 958 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays() 959 OUT_CS(vb2->buffer_offset + velem[i+1].src_offset + offset * vb2->stride); in r300_emit_vertex_arrays() 963 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays() 967 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays() 971 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays() 977 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays() 978 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays() [all …]
|
D | r300_render.c | 152 struct pipe_vertex_element *velem = r300->velems->velem; in r300_split_index_bias() local 162 vb = &vbufs[velem[i].vertex_buffer_index]; in r300_split_index_bias() 163 size = (vb->buffer_offset + velem[i].src_offset) / vb->stride; in r300_split_index_bias() 338 struct pipe_vertex_element* velem; in r300_draw_arrays_immediate() local 367 velem = &r300->velems->velem[i]; in r300_draw_arrays_immediate() 369 vbi = velem->vertex_buffer_index; in r300_draw_arrays_immediate() 380 mapelem[i] = map[vbi] + (velem->src_offset / 4); in r300_draw_arrays_immediate() 736 struct pipe_vertex_element *velems = r300->velems->velem; in r300_max_vertex_count()
|
D | r300_state.c | 1791 format = velems->velem[i].src_format; in r300_vertex_psc() 1847 memcpy(velems->velem, attribs, sizeof(struct pipe_vertex_element) * count); in r300_create_vertex_elements_state() 1856 align(util_format_get_blocksize(velems->velem[i].src_format), 4); in r300_create_vertex_elements_state() 1877 draw_set_vertex_elements(r300->draw, velems->count, velems->velem); in r300_bind_vertex_elements_state()
|
D | r300_context.h | 412 struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; member
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_vertex.c | 51 memcpy(velems->velem, attribs, sizeof(*attribs) * count); in llvmpipe_create_vertex_elements_state() 68 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem); in llvmpipe_bind_vertex_elements_state()
|
D | lp_state.h | 101 struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; member
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_vertex.c | 52 memcpy(velems->velem, attribs, sizeof(*attribs) * count); in softpipe_create_vertex_elements_state() 70 draw_set_vertex_elements(softpipe->draw, sp_velems->count, sp_velems->velem); in softpipe_bind_vertex_elements_state()
|
D | sp_state.h | 127 struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; member
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_pbo.c | 222 struct cso_velems_state velem; in st_pbo_draw() local 249 velem.count = 1; in st_pbo_draw() 250 velem.velems[0].src_offset = 0; in st_pbo_draw() 251 velem.velems[0].instance_divisor = 0; in st_pbo_draw() 252 velem.velems[0].vertex_buffer_index = 0; in st_pbo_draw() 253 velem.velems[0].src_format = PIPE_FORMAT_R32G32_FLOAT; in st_pbo_draw() 255 cso_set_vertex_elements(cso, &velem); in st_pbo_draw()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_vertex.c | 129 const struct pipe_vertex_element *elem = velems->velem + i; in define_input_element_object() 206 const enum pipe_format f = velems->velem[i].src_format; in translate_vertex_decls() 242 memcpy(velems->velem, attribs, sizeof(*attribs) * count); in svga_create_vertex_elements_state()
|
D | svga_state_vdecl.c | 45 const struct pipe_vertex_element *ve = svga->curr.velems->velem; in emit_hw_vs_vdecl()
|
D | svga_swtnl_state.c | 123 svga->curr.velems->velem); in update_swtnl_draw()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_tests.c | 137 struct cso_velems_state velem; in util_set_interleaved_vertex_elements() local 140 memset(&velem, 0, sizeof(velem)); in util_set_interleaved_vertex_elements() 141 velem.count = num_elements; in util_set_interleaved_vertex_elements() 143 velem.velems[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_set_interleaved_vertex_elements() 144 velem.velems[i].src_offset = i * 16; in util_set_interleaved_vertex_elements() 147 cso_set_vertex_elements(cso, &velem); in util_set_interleaved_vertex_elements()
|
D | u_vbuf.c | 968 const struct pipe_vertex_element *velem, in get_upload_offset_size() argument 978 unsigned instance_div = velem->instance_divisor; in get_upload_offset_size() 979 *offset = vb->buffer_offset + velem->src_offset; in get_upload_offset_size() 1021 const struct pipe_vertex_element *velem = &velems[i]; in u_vbuf_upload_buffers() local 1022 unsigned index = velem->vertex_buffer_index; in u_vbuf_upload_buffers() 1026 if (!get_upload_offset_size(mgr, vb, ve, velem, index, i, start_vertex, in u_vbuf_upload_buffers() 1053 const struct pipe_vertex_element *velem = &velems[i]; in u_vbuf_upload_buffers() local 1054 unsigned index = velem->vertex_buffer_index; in u_vbuf_upload_buffers() 1058 if (!get_upload_offset_size(mgr, vb, ve, velem, index, i, start_vertex, in u_vbuf_upload_buffers()
|
D | u_blitter.c | 168 struct pipe_vertex_element velem[2]; in util_blitter_create() local 312 memset(&velem[0], 0, sizeof(velem[0]) * 2); in util_blitter_create() 314 velem[i].src_offset = i * 4 * sizeof(float); in util_blitter_create() 315 velem[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_blitter_create() 316 velem[i].vertex_buffer_index = ctx->base.vb_slot; in util_blitter_create() 318 ctx->velem_state = pipe->create_vertex_elements_state(pipe, 2, &velem[0]); in util_blitter_create() 329 velem[0].src_format = formats[i]; in util_blitter_create() 330 velem[0].vertex_buffer_index = ctx->base.vb_slot; in util_blitter_create() 332 pipe->create_vertex_elements_state(pipe, 1, &velem[0]); in util_blitter_create()
|
/external/mesa3d/src/gallium/tools/trace/ |
D | dump_state.py | 500 for velem in self._state.vertex_elements: 501 vbuf = self._state.vertex_buffers[velem.vertex_buffer_index] 508 offset = vbuf.buffer_offset + velem.src_offset + vbuf.stride*index 526 }[velem.src_format]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_context.h | 215 struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; member
|
D | i915_state.c | 1027 memcpy(velems->velem, attribs, sizeof(*attribs) * count); in i915_create_vertex_elements_state() 1047 i915_velems->count, i915_velems->velem); in i915_bind_vertex_elements_state()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 2069 struct pipe_vertex_element *velem = &key->vertex_element[j]; in draw_llvm_generate() local 2071 lp_build_const_int32(gallivm, velem->vertex_buffer_index); in draw_llvm_generate() 2073 util_format_get_blocksize(velem->src_format)); in draw_llvm_generate() 2075 velem->src_offset); in draw_llvm_generate() 2078 if (velem->src_format != PIPE_FORMAT_NONE) { in draw_llvm_generate() 2112 if (velem->instance_divisor) { in draw_llvm_generate() 2123 velem->instance_divisor), in draw_llvm_generate() 2237 struct pipe_vertex_element *velem = &key->vertex_element[j]; in draw_llvm_generate() local 2239 util_format_description(velem->src_format); in draw_llvm_generate() 2246 else if (velem->instance_divisor) { in draw_llvm_generate()
|