Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe.h47 struct vertex_header *v[3]; /**< 1 to 3 vertex pointers */
62 struct vertex_header **tmp; /**< temp vert storage, such as for clipping */
113 static INLINE struct vertex_header *
115 const struct vertex_header *vert, in dup_vert()
118 struct vertex_header *tmp = stage->tmp[idx]; in dup_vert()
119 const uint vsize = sizeof(struct vertex_header) in dup_vert()
Ddraw_pipe_unfilled.c61 struct vertex_header *v0 ) in point()
69 struct vertex_header *v0, in line()
70 struct vertex_header *v1 ) in line()
82 struct vertex_header *v0 = header->v[0]; in points()
83 struct vertex_header *v1 = header->v[1]; in points()
84 struct vertex_header *v2 = header->v[2]; in points()
95 struct vertex_header *v0 = header->v[0]; in lines()
96 struct vertex_header *v1 = header->v[1]; in lines()
97 struct vertex_header *v2 = header->v[2]; in lines()
Ddraw_pipe_clip.c99 struct vertex_header *dst, in copy_flat()
100 const struct vertex_header *src ) in copy_flat()
115 struct vertex_header *dst, in interp()
117 const struct vertex_header *out, in interp()
118 const struct vertex_header *in ) in interp()
192 struct vertex_header **inlist, in emit_poly()
276 struct vertex_header *vert, in getclipdist()
302 struct vertex_header *a[MAX_CLIPPED_VERTICES]; in do_clip_tri()
303 struct vertex_header *b[MAX_CLIPPED_VERTICES]; in do_clip_tri()
304 struct vertex_header **inlist = a; in do_clip_tri()
[all …]
Ddraw_pipe_stipple.c70 struct vertex_header *dst, in screen_interp()
72 const struct vertex_header *v0, in screen_interp()
73 const struct vertex_header *v1 ) in screen_interp()
93 struct vertex_header *v0new = dup_vert(stage, header->v[0], 0); in emit_segment()
94 struct vertex_header *v1new = dup_vert(stage, header->v[1], 1); in emit_segment()
123 struct vertex_header *v0 = header->v[0]; in stipple_line()
124 struct vertex_header *v1 = header->v[1]; in stipple_line()
Ddraw_pipe.c121 prim.v[0] = (struct vertex_header *)v0; in do_point()
140 prim.v[0] = (struct vertex_header *)v0; in do_line()
141 prim.v[1] = (struct vertex_header *)v1; in do_line()
159 prim.v[0] = (struct vertex_header *)v0; in do_triangle()
160 prim.v[1] = (struct vertex_header *)v1; in do_triangle()
161 prim.v[2] = (struct vertex_header *)v2; in do_triangle()
203 struct vertex_header *vertices, \
300 struct vertex_header *vertices, \
333 (struct vertex_header*)verts, in draw_pipeline_run_linear()
Ddraw_pipe_util.c84 stage->tmp = (struct vertex_header **) MALLOC( sizeof(struct vertex_header *) * nr ); in draw_alloc_temp_verts()
91 stage->tmp[i] = (struct vertex_header *)(store + i * MAX_VERTEX_SIZE); in draw_alloc_temp_verts()
132 ((struct vertex_header *)verts)->vertex_id = UNDEFINED_VERTEX_ID; in draw_reset_vertex_ids()
Ddraw_pipe_wide_line.c67 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); in wideline_line()
68 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); in wideline_line()
69 struct vertex_header *v2 = dup_vert(stage, header->v[1], 2); in wideline_line()
70 struct vertex_header *v3 = dup_vert(stage, header->v[1], 3); in wideline_line()
Ddraw_pipe_flatshade.c68 struct vertex_header *dst, in copy_colors()
69 const struct vertex_header *src ) in copy_colors()
88 struct vertex_header *dst0, in copy_colors2()
89 struct vertex_header *dst1, in copy_colors2()
90 const struct vertex_header *src ) in copy_colors2()
Ddraw_pipe_wide_point.c95 struct vertex_header *v, const float tc[4]) in set_texcoords()
132 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); in widepoint_point()
133 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); in widepoint_point()
134 struct vertex_header *v2 = dup_vert(stage, header->v[0], 2); in widepoint_point()
135 struct vertex_header *v3 = dup_vert(stage, header->v[0], 3); in widepoint_point()
Ddraw_pipe_twoside.c54 static INLINE struct vertex_header *
56 const struct vertex_header *v, in copy_bfc()
59 struct vertex_header *tmp = dup_vert( &twoside->stage, v, idx ); in copy_bfc()
Ddraw_llvm.c234 LLVMTypeRef vertex_header; in create_jit_vertex_header() local
244 vertex_header = LLVMStructTypeInContext(gallivm->context, elem_types, in create_jit_vertex_header()
247 LLVMAddTypeName(gallivm->module, struct_name, vertex_header); in create_jit_vertex_header()
249 LLVMInvalidateStructLayout(gallivm->target, vertex_header); in create_jit_vertex_header()
266 LP_CHECK_MEMBER_OFFSET(struct vertex_header, clip, in create_jit_vertex_header()
267 target, vertex_header, in create_jit_vertex_header()
269 LP_CHECK_MEMBER_OFFSET(struct vertex_header, pre_clip_pos, in create_jit_vertex_header()
270 target, vertex_header, in create_jit_vertex_header()
272 LP_CHECK_MEMBER_OFFSET(struct vertex_header, data, in create_jit_vertex_header()
273 target, vertex_header, in create_jit_vertex_header()
[all …]
Ddraw_cliptest_tmp.h33 struct vertex_header *out = info->verts; in TAG()
150 out = (struct vertex_header *)( (char *)out + info->stride ); in TAG()
Ddraw_llvm.h143 struct vertex_header *io,
154 struct vertex_header *io,
Ddraw_pt_fetch_shade_pipeline.c91 fpme->vertex_size = sizeof(struct vertex_header) + nr * 4 * sizeof(float); in fetch_pipeline_prepare()
187 (struct vertex_header *)MALLOC(output_verts->vertex_size * in draw_vertex_shader_run()
219 (struct vertex_header *)MALLOC(fpme->vertex_size * in fetch_pipeline_generic()
Ddraw_private.h73 struct vertex_header { struct
334 struct vertex_header *verts;
Ddraw_pt.h128 struct vertex_header;
Ddraw_pt_fetch_shade_pipeline_llvm.c91 fpme->vertex_size = sizeof(struct vertex_header) + nr * 4 * sizeof(float); in llvm_middle_end_prepare()
232 (struct vertex_header *)MALLOC(fpme->vertex_size * in llvm_pipeline_generic()
Ddraw_pt_post_vs.c55 initialize_vertex_header(struct vertex_header *header) in initialize_vertex_header()
Ddraw_pipe_vbuf.c131 struct vertex_header *vertex ) in emit_vertex()
Ddraw_gs.c415 (struct vertex_header *)MALLOC(input_verts->vertex_size * in draw_geometry_shader_run()
Ddraw_pipe_aapoint.c584 struct vertex_header *v[4]; in aapoint_point()
Ddraw_pipe_aaline.c561 struct vertex_header *v[8]; in aaline_line()
/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_emit.c70 const struct vertex_header *vertex) in emit_hw_vertex()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c115 const struct vertex_header *vert, in update_attrib()
Dst_cb_feedback.c84 const struct vertex_header *v) in feedback_vertex()