Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c112 p->velem[0].src_offset = 0; in pp_init_prog()
113 p->velem[0].instance_divisor = 0; in pp_init_prog()
114 p->velem[0].vertex_buffer_index = 0; in pp_init_prog()
115 p->velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in pp_init_prog()
116 p->velem[1].src_offset = 1 * 4 * sizeof(float); in pp_init_prog()
117 p->velem[1].instance_divisor = 0; in pp_init_prog()
118 p->velem[1].vertex_buffer_index = 0; in pp_init_prog()
119 p->velem[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in pp_init_prog()
Dpp_program.h50 struct pipe_vertex_element velem[2]; member
Dpp_run.c174 cso_set_vertex_elements(p->cso, 2, p->velem); in pp_filter_misc_state()
/external/mesa3d/src/gallium/tests/trivial/
Dtri.c73 struct pipe_vertex_element velem[2]; member
200 memset(p->velem, 0, sizeof(p->velem)); in init_prog()
201 p->velem[0].src_offset = 0 * 4 * sizeof(float); /* offset 0, first element */ in init_prog()
202 p->velem[0].instance_divisor = 0; in init_prog()
203 p->velem[0].vertex_buffer_index = 0; in init_prog()
204 p->velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
206 p->velem[1].src_offset = 1 * 4 * sizeof(float); /* offset 16, second element */ in init_prog()
207 p->velem[1].instance_divisor = 0; in init_prog()
208 p->velem[1].vertex_buffer_index = 0; in init_prog()
209 p->velem[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
[all …]
Dquad-tex.c76 struct pipe_vertex_element velem[2]; member
259 memset(p->velem, 0, sizeof(p->velem)); in init_prog()
260 p->velem[0].src_offset = 0 * 4 * sizeof(float); /* offset 0, first element */ in init_prog()
261 p->velem[0].instance_divisor = 0; in init_prog()
262 p->velem[0].vertex_buffer_index = 0; in init_prog()
263 p->velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
265 p->velem[1].src_offset = 1 * 4 * sizeof(float); /* offset 16, second element */ in init_prog()
266 p->velem[1].instance_divisor = 0; in init_prog()
267 p->velem[1].vertex_buffer_index = 0; in init_prog()
268 p->velem[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in init_prog()
[all …]
/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.c829 struct pipe_vertex_element *velem = r300->velems->velem; in r300_emit_vertex_arrays() local
846 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
847 vb2 = &vbuf[velem[i+1].vertex_buffer_index]; in r300_emit_vertex_arrays()
853 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()
858 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
862 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays()
866 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer); in r300_emit_vertex_arrays()
872 vb1 = &vbuf[velem[i].vertex_buffer_index]; in r300_emit_vertex_arrays()
873 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()
401 vbi = r300->velems->velem[i].vertex_buffer_index; in r300_draw_arrays_immediate()
746 struct pipe_vertex_element *velems = r300->velems->velem; in r300_max_vertex_count()
/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c134 struct pipe_vertex_element velem[2]; in util_blitter_create() local
227 memset(&velem[0], 0, sizeof(velem[0]) * 2); in util_blitter_create()
229 velem[i].src_offset = i * 4 * sizeof(float); in util_blitter_create()
230 velem[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_blitter_create()
232 ctx->velem_state = pipe->create_vertex_elements_state(pipe, 2, &velem[0]); in util_blitter_create()
235 memset(&velem[0], 0, sizeof(velem[0]) * 2); in util_blitter_create()
236 velem[0].src_offset = 0; in util_blitter_create()
237 velem[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_blitter_create()
238 velem[1].src_offset = 4 * sizeof(float); in util_blitter_create()
239 velem[1].src_format = PIPE_FORMAT_R32G32B32A32_SINT; in util_blitter_create()
[all …]
Du_blit.c67 struct pipe_vertex_element velem[2]; member
134 ctx->velem[i].src_offset = i * 4 * sizeof(float); in util_create_blit()
135 ctx->velem[i].instance_divisor = 0; in util_create_blit()
136 ctx->velem[i].vertex_buffer_index = 0; in util_create_blit()
137 ctx->velem[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_create_blit()
678 cso_set_vertex_elements(ctx->cso, 2, ctx->velem); in util_blit_pixels()
879 cso_set_vertex_elements(ctx->cso, 2, ctx->velem); in util_blit_pixels_tex()
Du_gen_mipmap.c66 struct pipe_vertex_element velem[2]; member
1304 memset(&ctx->velem[0], 0, sizeof(ctx->velem[0]) * 2); in util_create_gen_mipmap()
1306 ctx->velem[i].src_offset = i * 4 * sizeof(float); in util_create_gen_mipmap()
1307 ctx->velem[i].instance_divisor = 0; in util_create_gen_mipmap()
1308 ctx->velem[i].vertex_buffer_index = 0; in util_create_gen_mipmap()
1309 ctx->velem[i].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in util_create_gen_mipmap()
1595 cso_set_vertex_elements(ctx->cso, 2, ctx->velem); in util_gen_mipmap()
Du_vbuf.c803 struct pipe_vertex_element *velem = &velems[i]; in u_vbuf_upload_buffers() local
804 unsigned index = velem->vertex_buffer_index; in u_vbuf_upload_buffers()
819 instance_div = velem->instance_divisor; in u_vbuf_upload_buffers()
820 first = vb->buffer_offset + velem->src_offset; in u_vbuf_upload_buffers()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_vertex.c51 memcpy(velems->velem, attribs, sizeof(*attribs) * count); in softpipe_create_vertex_elements_state()
69 draw_set_vertex_elements(softpipe->draw, sp_velems->count, sp_velems->velem); in softpipe_bind_vertex_elements_state()
Dsp_state.h122 struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; member
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_vertex.c50 memcpy(velems->velem, attribs, sizeof(*attribs) * count); in llvmpipe_create_vertex_elements_state()
67 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem); in llvmpipe_bind_vertex_elements_state()
Dlp_state.h85 struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; member
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
Ddxgi_native.cpp770 struct pipe_vertex_element velem[2]; in dxgi_blitter() local
771 memset(&velem[0], 0, sizeof(velem[0]) * 2); in dxgi_blitter()
772 velem[0].src_offset = 0; in dxgi_blitter()
773 velem[0].src_format = PIPE_FORMAT_R32G32_FLOAT; in dxgi_blitter()
774 velem[1].src_offset = 8; in dxgi_blitter()
775 velem[1].src_format = PIPE_FORMAT_R32G32_FLOAT; in dxgi_blitter()
776 elements = pipe->create_vertex_elements_state(pipe, 2, &velem[0]); in dxgi_blitter()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c498 struct pipe_vertex_element *velem, in generate_fetch() argument
503 const struct util_format_description *format_desc = util_format_description(velem->src_format); in generate_fetch()
508 velem->vertex_buffer_index, 0); in generate_fetch()
515 if (velem->instance_divisor) { in generate_fetch()
518 lp_build_const_int32(gallivm, velem->instance_divisor), in generate_fetch()
530 lp_build_const_int32(gallivm, velem->src_offset), in generate_fetch()
1236 struct pipe_vertex_element *velem = &draw->pt.vertex_element[j]; in draw_llvm_generate() local
1238 lp_build_const_int32(gallivm, velem->vertex_buffer_index); in draw_llvm_generate()
1241 &aos_attribs[j][i], velem, vb, true_index, in draw_llvm_generate()
/external/valgrind/memcheck/tests/
Dunit_oset.c80 static Word wordCmp(void* vkey, void* velem) in wordCmp() argument
82 return *(Word*)vkey - *(Word*)velem; in wordCmp()
448 static Word blockCmp(const void* vkey, const void* velem) in blockCmp() argument
451 const Block* elem = (const Block*)velem; in blockCmp()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_draw.c61 const struct pipe_vertex_element *ve = svga->curr.velems->velem; in svga_user_buffer_range()
122 const struct pipe_vertex_element *ve = svga->curr.velems->velem; in svga_upload_user_buffers()
Dsvga_state_vdecl.c48 const struct pipe_vertex_element *ve = svga->curr.velems->velem; in emit_hw_vs_vdecl()
Dsvga_pipe_vertex.c98 memcpy(velems->velem, attribs, sizeof(*attribs) * count); in svga_create_vertex_elements_state()
Dsvga_state_need_swtnl.c87 …svga->state.sw.ve_format[i] = svga_translate_vertex_format(svga->curr.velems->velem[i].src_format); in update_need_swvfetch()
/external/mesa3d/src/gallium/state_trackers/vega/
Drenderer.h121 struct pipe_vertex_element *velem,
/external/mesa3d/src/gallium/drivers/i915/
Di915_context.h218 struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS]; member

12