Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.h44 struct draw_context;
70 struct draw_context *draw_create( struct pipe_context *pipe );
73 struct draw_context *draw_create_with_llvm_context(struct pipe_context *pipe,
77 struct draw_context *draw_create_no_llvm(struct pipe_context *pipe);
79 void draw_destroy( struct draw_context *draw );
81 void draw_flush(struct draw_context *draw);
83 void draw_set_viewport_states( struct draw_context *draw,
88 void draw_set_clip_state( struct draw_context *pipe,
106 void draw_set_rasterizer_state( struct draw_context *draw,
110 void draw_set_rasterize_stage( struct draw_context *draw,
[all …]
Ddraw_pipe.h58 struct draw_context *draw; /**< parent context */
84 extern struct draw_stage *draw_unfilled_stage( struct draw_context *context );
85 extern struct draw_stage *draw_twoside_stage( struct draw_context *context );
86 extern struct draw_stage *draw_offset_stage( struct draw_context *context );
87 extern struct draw_stage *draw_clip_stage( struct draw_context *context );
88 extern struct draw_stage *draw_flatshade_stage( struct draw_context *context );
89 extern struct draw_stage *draw_cull_stage( struct draw_context *context );
90 extern struct draw_stage *draw_user_cull_stage( struct draw_context *draw );
91 extern struct draw_stage *draw_stipple_stage( struct draw_context *context );
92 extern struct draw_stage *draw_wide_line_stage( struct draw_context *context );
[all …]
Ddraw_private.h95 struct draw_context;
142 struct draw_context struct
475 boolean draw_init(struct draw_context *draw);
476 void draw_new_instance(struct draw_context *draw);
481 boolean draw_vs_init( struct draw_context *draw );
482 void draw_vs_destroy( struct draw_context *draw );
488 boolean draw_gs_init( struct draw_context *draw );
491 void draw_gs_destroy( struct draw_context *draw );
496 uint draw_current_shader_outputs(const struct draw_context *draw);
497 uint draw_current_shader_position_output(const struct draw_context *draw);
[all …]
Ddraw_context.c80 static struct draw_context *
84 struct draw_context *draw = CALLOC_STRUCT( draw_context ); in draw_create_context()
119 struct draw_context *
127 struct draw_context *
138 struct draw_context *
145 boolean draw_init(struct draw_context *draw) in draw_init()
193 void draw_new_instance(struct draw_context *draw) in draw_new_instance()
200 void draw_destroy( struct draw_context *draw ) in draw_destroy()
246 void draw_flush( struct draw_context *draw ) in draw_flush()
259 void draw_set_zs_format(struct draw_context *draw, enum pipe_format format) in draw_set_zs_format()
[all …]
Ddraw_pt.h39 struct draw_context;
142 struct draw_pt_front_end *draw_pt_vsplit(struct draw_context *draw);
151 struct draw_pt_middle_end *draw_pt_middle_fse( struct draw_context *draw );
152 struct draw_pt_middle_end *draw_pt_fetch_pipeline_or_emit(struct draw_context *draw);
153 struct draw_pt_middle_end *draw_pt_fetch_pipeline_or_emit_llvm(struct draw_context *draw);
176 struct pt_emit *draw_pt_emit_create( struct draw_context *draw );
192 struct pt_so_emit *draw_pt_so_emit_create( struct draw_context *draw );
216 struct pt_fetch *draw_pt_fetch_create( struct draw_context *draw );
236 struct pt_post_vs *draw_pt_post_vs_create( struct draw_context *draw );
Ddraw_vs.h39 struct draw_context;
105 struct draw_context *draw;
131 struct draw_context *draw );
161 draw_create_vs_exec(struct draw_context *draw,
169 draw_create_vs_llvm(struct draw_context *draw,
181 struct translate *draw_vs_get_fetch( struct draw_context *draw,
185 struct translate *draw_vs_get_emit( struct draw_context *draw,
Ddraw_pipe.c40 boolean draw_pipeline_init( struct draw_context *draw ) in draw_pipeline_init()
80 void draw_pipeline_destroy( struct draw_context *draw ) in draw_pipeline_destroy()
119 static void do_point( struct draw_context *draw, in do_point()
136 static void do_line( struct draw_context *draw, in do_line()
156 static void do_triangle( struct draw_context *draw, in do_triangle()
205 struct draw_context *draw, \
230 void draw_pipeline_run( struct draw_context *draw, in draw_pipeline_run()
304 struct draw_context *draw, \
317 void draw_pipeline_run_linear( struct draw_context *draw, in draw_pipeline_run_linear()
350 void draw_pipeline_flush( struct draw_context *draw, in draw_pipeline_flush()
Ddraw_prim_assembler.h52 draw_prim_assembler_create(struct draw_context *draw);
58 draw_prim_assembler_is_required(const struct draw_context *draw,
63 draw_prim_assembler_run(struct draw_context *draw,
Ddraw_vs.c57 draw_create_vertex_shader(struct draw_context *draw, in draw_create_vertex_shader()
121 draw_bind_vertex_shader(struct draw_context *draw, in draw_bind_vertex_shader()
147 draw_delete_vertex_shader(struct draw_context *draw, in draw_delete_vertex_shader()
163 draw_vs_init( struct draw_context *draw ) in draw_vs_init()
185 draw_vs_destroy( struct draw_context *draw ) in draw_vs_destroy()
236 draw_vs_get_fetch( struct draw_context *draw, in draw_vs_get_fetch()
250 draw_vs_get_emit( struct draw_context *draw, in draw_vs_get_emit()
Ddraw_fs.c43 draw_create_fragment_shader(struct draw_context *draw, in draw_create_fragment_shader()
62 draw_bind_fragment_shader(struct draw_context *draw, in draw_bind_fragment_shader()
72 draw_delete_fragment_shader(struct draw_context *draw, in draw_delete_fragment_shader()
Ddraw_pt_so_emit.c44 struct draw_context *draw;
58 draw_so_info(const struct draw_context *draw) in draw_so_info()
74 draw_has_so(const struct draw_context *draw) in draw_has_so()
86 struct draw_context *draw = emit->draw; in draw_pt_so_emit_prepare()
121 struct draw_context *draw = so->draw; in so_emit_prim()
276 struct draw_context *draw = emit->draw; in draw_pt_so_emit()
331 struct pt_so_emit *draw_pt_so_emit_create( struct draw_context *draw ) in draw_pt_so_emit_create()
Ddraw_tess.h32 struct draw_context;
56 struct draw_context *draw;
76 struct draw_context *draw;
Ddraw_prim_assembler.c41 struct draw_context *draw;
58 needs_primid(const struct draw_context *draw) in needs_primid()
75 draw_prim_assembler_is_required(const struct draw_context *draw, in draw_prim_assembler_is_required()
229 struct draw_context *draw = ia->draw; in draw_prim_assembler_prepare_outputs()
261 draw_prim_assembler_run(struct draw_context *draw, in draw_prim_assembler_run()
316 draw_prim_assembler_create(struct draw_context *draw) in draw_prim_assembler_create()
Ddraw_gs.h37 struct draw_context;
68 struct draw_context *draw;
145 struct draw_context *draw);
Ddraw_pt_fetch_shade_emit.c51 struct draw_context *draw;
75 struct draw_context *draw = fse->draw; in fse_prepare()
195 struct draw_context *draw = fse->draw; in fse_run_linear()
259 struct draw_context *draw = fse->draw; in fse_run()
317 struct draw_context *draw = fse->draw; in fse_run_linear_elts()
368 draw_pt_middle_fse(struct draw_context *draw) in draw_pt_middle_fse()
Ddraw_pt_vsplit.c41 struct draw_context *draw;
124 struct draw_context *draw = vsplit->draw; in vsplit_add_cache_ubyte()
141 struct draw_context *draw = vsplit->draw; in vsplit_add_cache_ushort()
163 struct draw_context *draw = vsplit->draw; in vsplit_add_cache_uint()
252 struct draw_pt_front_end *draw_pt_vsplit(struct draw_context *draw) in draw_pt_vsplit()
Ddraw_pt_fetch.c39 struct draw_context *draw;
60 struct draw_context *draw = fetch->draw; in draw_pt_fetch_prepare()
148 struct draw_context *draw = fetch->draw; in draw_pt_fetch_run()
176 struct draw_context *draw = fetch->draw; in draw_pt_fetch_run_linear()
199 draw_pt_fetch_create(struct draw_context *draw) in draw_pt_fetch_create()
Ddraw_pt_emit.c39 struct draw_context *draw;
58 struct draw_context *draw = emit->draw; in draw_pt_emit_prepare()
145 struct draw_context *draw = emit->draw; in draw_pt_emit()
219 struct draw_context *draw = emit->draw; in draw_pt_emit_linear()
295 draw_pt_emit_create(struct draw_context *draw) in draw_pt_emit_create()
Ddraw_pipe_pstipple.c173 struct draw_context *draw = pstip->stage.draw; in bind_pstip_fragment_shader()
197 struct draw_context *draw = stage->draw; in pstip_first_tri()
242 struct draw_context *draw = stage->draw; in pstip_flush()
297 draw_pstip_stage(struct draw_context *draw, struct pipe_context *pipe) in draw_pstip_stage()
331 struct draw_context *draw = (struct draw_context *) pipe->draw; in pstip_stage_from_pipe()
471 draw_install_pstipple_stage(struct draw_context *draw, in draw_install_pstipple_stage()
Ddraw_pt.c57 draw_pt_arrays(struct draw_context *draw, in draw_pt_arrays()
164 void draw_pt_flush( struct draw_context *draw, unsigned flags ) in draw_pt_flush()
183 boolean draw_pt_init( struct draw_context *draw ) in draw_pt_init()
209 void draw_pt_destroy( struct draw_context *draw ) in draw_pt_destroy()
237 draw_print_arrays(struct draw_context *draw, uint prim, int start, uint count, int index_bias) in draw_print_arrays()
348 prim_restart_loop(struct draw_context *draw, in prim_restart_loop()
402 draw_pt_arrays_restart(struct draw_context *draw, in draw_pt_arrays_restart()
457 draw_instances(struct draw_context *draw, in draw_instances()
496 draw_vbo(struct draw_context *draw, in draw_vbo()
Ddraw_vbuf.h45 struct draw_context;
148 draw_vbuf_stage( struct draw_context *draw,
Ddraw_pipe_aaline.c345 struct draw_context *draw = aaline->stage.draw; in bind_aaline_fragment_shader()
490 struct draw_context *draw = stage->draw; in aaline_first_line()
536 struct draw_context *draw = stage->draw; in aaline_flush()
583 draw_aaline_stage(struct draw_context *draw) in draw_aaline_stage()
611 struct draw_context *draw = (struct draw_context *) pipe->draw; in aaline_stage_from_pipe()
697 draw_aaline_prepare_outputs(struct draw_context *draw, in draw_aaline_prepare_outputs()
724 draw_install_aaline_stage(struct draw_context *draw, struct pipe_context *pipe) in draw_install_aaline_stage()
Ddraw_pipe_wide_line.c144 struct draw_context *draw = stage->draw; in wideline_first_line()
163 struct draw_context *draw = stage->draw; in wideline_flush()
191 struct draw_stage *draw_wide_line_stage( struct draw_context *draw ) in draw_wide_line_stage()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/cocoa/
Dgstglcaopengllayer.m55 if (self->draw_context)
56 gst_object_unref (self->draw_context);
131 if (self->draw_context)
132 gst_object_unref (self->draw_context);
140 self->draw_context = gst_gl_context_new_wrapped (display,
145 if (!self->draw_context) {
150 gst_gl_context_activate (self->draw_context, TRUE);
151 gst_gl_context_set_shared_with (self->draw_context, self->gst_gl_context);
152 if (!gst_gl_context_fill_info (self->draw_context, &error)) {
156 gst_gl_context_activate (self->draw_context, FALSE);
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_feedback.c83 feedback_vertex(struct gl_context *ctx, const struct draw_context *draw, in feedback_vertex()
125 struct draw_context *draw = stage->draw; in feedback_tri()
138 struct draw_context *draw = stage->draw; in feedback_line()
155 struct draw_context *draw = stage->draw; in feedback_point()
186 draw_glfeedback_stage(struct gl_context *ctx, struct draw_context *draw) in draw_glfeedback_stage()
259 draw_glselect_stage(struct gl_context *ctx, struct draw_context *draw) in draw_glselect_stage()
281 struct draw_context *draw = st_get_draw_context(st); in st_RenderMode()

123