Home
last modified time | relevance | path

Searched refs:velem (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/gallium/tests/trivial/
Dtri.c73 struct pipe_vertex_element velem[2]; member
198 memset(p->velem, 0, sizeof(p->velem)); in init_prog()
199 p->velem[0].src_offset = 0 * 4 * sizeof(float); /* offset 0, first element */ in init_prog()
200 p->velem[0].instance_divisor = 0; in init_prog()
201 p->velem[0].vertex_buffer_index = 0; in init_prog()
202 p->velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
204 p->velem[1].src_offset = 1 * 4 * sizeof(float); /* offset 16, second element */ in init_prog()
205 p->velem[1].instance_divisor = 0; in init_prog()
206 p->velem[1].vertex_buffer_index = 0; in init_prog()
207 p->velem[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
[all …]
Dquad-tex.c76 struct pipe_vertex_element velem[2]; member
253 memset(p->velem, 0, sizeof(p->velem)); in init_prog()
254 p->velem[0].src_offset = 0 * 4 * sizeof(float); /* offset 0, first element */ in init_prog()
255 p->velem[0].instance_divisor = 0; in init_prog()
256 p->velem[0].vertex_buffer_index = 0; in init_prog()
257 p->velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
259 p->velem[1].src_offset = 1 * 4 * sizeof(float); /* offset 16, second element */ in init_prog()
260 p->velem[1].instance_divisor = 0; in init_prog()
261 p->velem[1].vertex_buffer_index = 0; in init_prog()
262 p->velem[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
[all …]
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c111 p->velem[0].src_offset = 0; in pp_init_prog()
112 p->velem[0].instance_divisor = 0; in pp_init_prog()
113 p->velem[0].vertex_buffer_index = 0; in pp_init_prog()
114 p->velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in pp_init_prog()
115 p->velem[1].src_offset = 1 * 4 * sizeof(float); in pp_init_prog()
116 p->velem[1].instance_divisor = 0; in pp_init_prog()
117 p->velem[1].vertex_buffer_index = 0; in pp_init_prog()
118 p->velem[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in pp_init_prog()
Dpp_private.h51 struct pipe_vertex_element velem[2]; member
Dpp_run.c280 cso_set_vertex_elements(p->cso, 2, p->velem); in pp_filter_misc_state()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DXUnresolvedVariable.java120 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/
Dr300_emit.c932 struct pipe_vertex_element *velem = r300->velems->velem; in r300_emit_vertex_arrays() local
949 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
950 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
956 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays()
957 OUT_CS(vb2->buffer_offset + velem[i+1].src_offset + offset * vb2->stride); in r300_emit_vertex_arrays()
961 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
965 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays()
969 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer); in r300_emit_vertex_arrays()
975 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
976 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
[all …]
Dr300_render.c152 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()
735 struct pipe_vertex_element *velems = r300->velems->velem; in r300_max_vertex_count()
Dr300_state.c1829 format = velems->velem[i].src_format; in r300_vertex_psc()
1885 memcpy(velems->velem, attribs, sizeof(struct pipe_vertex_element) * count); in r300_create_vertex_elements_state()
1894 align(util_format_get_blocksize(velems->velem[i].src_format), 4); in r300_create_vertex_elements_state()
1915 draw_set_vertex_elements(r300->draw, velems->count, velems->velem); in r300_bind_vertex_elements_state()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c219 struct pipe_vertex_element velem; in st_pbo_draw() local
248 velem.src_offset = 0; in st_pbo_draw()
249 velem.instance_divisor = 0; in st_pbo_draw()
250 velem.vertex_buffer_index = cso_get_aux_vertex_buffer_slot(cso); in st_pbo_draw()
251 velem.src_format = PIPE_FORMAT_R32G32_FLOAT; in st_pbo_draw()
253 cso_set_vertex_elements(cso, 1, &velem); in st_pbo_draw()
255 cso_set_vertex_buffers(cso, velem.vertex_buffer_index, 1, &vbo); in st_pbo_draw()
/external/mesa3d/src/gallium/auxiliary/util/
Du_tests.c133 struct pipe_vertex_element *velem = in util_set_interleaved_vertex_elements() local
137 velem[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_set_interleaved_vertex_elements()
138 velem[i].src_offset = i * 16; in util_set_interleaved_vertex_elements()
141 cso_set_vertex_elements(cso, num_elements, velem); in util_set_interleaved_vertex_elements()
142 free(velem); in util_set_interleaved_vertex_elements()
Du_blit.c65 struct pipe_vertex_element velem[2]; member
113 ctx->velem[i].src_offset = i * 4 * sizeof(float); in util_create_blit()
114 ctx->velem[i].instance_divisor = 0; in util_create_blit()
115 ctx->velem[i].vertex_buffer_index = cso_get_aux_vertex_buffer_slot(cso); in util_create_blit()
116 ctx->velem[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_create_blit()
571 cso_set_vertex_elements(ctx->cso, 2, ctx->velem); in util_blit_pixels_tex()
Du_blitter.c156 struct pipe_vertex_element velem[2]; in util_blitter_create() local
287 memset(&velem[0], 0, sizeof(velem[0]) * 2); in util_blitter_create()
289 velem[i].src_offset = i * 4 * sizeof(float); in util_blitter_create()
290 velem[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_blitter_create()
291 velem[i].vertex_buffer_index = ctx->base.vb_slot; in util_blitter_create()
293 ctx->velem_state = pipe->create_vertex_elements_state(pipe, 2, &velem[0]); in util_blitter_create()
304 velem[0].src_format = formats[i]; in util_blitter_create()
305 velem[0].vertex_buffer_index = ctx->base.vb_slot; in util_blitter_create()
307 pipe->create_vertex_elements_state(pipe, 1, &velem[0]); in util_blitter_create()
Du_vbuf.c929 struct pipe_vertex_element *velem = &velems[i]; in u_vbuf_upload_buffers() local
930 unsigned index = velem->vertex_buffer_index; in u_vbuf_upload_buffers()
945 instance_div = velem->instance_divisor; in u_vbuf_upload_buffers()
946 first = vb->buffer_offset + velem->src_offset; in u_vbuf_upload_buffers()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_vertex.c52 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()
Dsp_state.h127 struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; member
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_vertex.c51 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()
Dlp_state.h78 struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_vertex.c138 const struct pipe_vertex_element *elem = velems->velem + i; in define_input_element_object()
221 const enum pipe_format f = velems->velem[i].src_format; in translate_vertex_decls()
257 memcpy(velems->velem, attribs, sizeof(*attribs) * count); in svga_create_vertex_elements_state()
Dsvga_state_vdecl.c45 const struct pipe_vertex_element *ve = svga->curr.velems->velem; in emit_hw_vs_vdecl()
Dsvga_swtnl_state.c120 svga->curr.velems->velem ); in update_swtnl_draw()
/external/valgrind/memcheck/tests/
Dunit_oset.c81 static Word wordCmp(void* vkey, void* velem) in wordCmp() argument
83 return *(Word*)vkey - *(Word*)velem; in wordCmp()
452 static Word blockCmp(const void* vkey, const void* velem) in blockCmp() argument
455 const Block* elem = (const Block*)velem; in blockCmp()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py499 for velem in self._state.vertex_elements:
500 vbuf = self._state.vertex_buffers[velem.vertex_buffer_index]
506 offset = vbuf.buffer_offset + velem.src_offset + vbuf.stride*index
524 }[velem.src_format]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1691 struct pipe_vertex_element *velem = &key->vertex_element[j]; in draw_llvm_generate() local
1693 lp_build_const_int32(gallivm, velem->vertex_buffer_index); in draw_llvm_generate()
1695 util_format_get_blocksize(velem->src_format)); in draw_llvm_generate()
1697 velem->src_offset); in draw_llvm_generate()
1700 if (velem->src_format != PIPE_FORMAT_NONE) { in draw_llvm_generate()
1732 if (velem->instance_divisor) { in draw_llvm_generate()
1743 velem->instance_divisor), in draw_llvm_generate()
1856 struct pipe_vertex_element *velem = &key->vertex_element[j]; in draw_llvm_generate() local
1858 util_format_description(velem->src_format); in draw_llvm_generate()
1865 else if (velem->instance_divisor) { in draw_llvm_generate()
/external/mesa3d/src/gallium/drivers/i915/
Di915_context.h215 struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; member

12