Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.h42 struct cso_context;
49 struct cso_context *cso_create_context(struct pipe_context *pipe,
51 void cso_unbind_context(struct cso_context *ctx);
52 void cso_destroy_context( struct cso_context *cso );
53 struct pipe_context *cso_get_pipe_context(struct cso_context *cso);
56 enum pipe_error cso_set_blend( struct cso_context *cso,
60 enum pipe_error cso_set_depth_stencil_alpha( struct cso_context *cso,
65 enum pipe_error cso_set_rasterizer( struct cso_context *cso,
70 cso_set_samplers(struct cso_context *cso,
80 cso_single_sampler(struct cso_context *cso, enum pipe_shader_type shader_stage,
[all …]
Dcso_context.c65 struct cso_context { struct
126 struct pipe_context *cso_get_pipe_context(struct cso_context *cso) in cso_get_pipe_context() argument
131 static inline boolean delete_cso(struct cso_context *ctx, in delete_cso()
166 struct cso_context *ctx = (struct cso_context *)user_data; in sanitize_hash()
229 static void cso_init_vbuf(struct cso_context *cso, unsigned flags) in cso_init_vbuf()
247 struct cso_context *
250 struct cso_context *ctx = CALLOC_STRUCT(cso_context); in cso_create_context()
300 void cso_unbind_context(struct cso_context *ctx) in cso_unbind_context()
401 …memset(&ctx->nr_so_targets, 0, offsetof(struct cso_context, cache) - offsetof(struct cso_context, … in cso_unbind_context()
417 void cso_destroy_context( struct cso_context *ctx ) in cso_destroy_context()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.h32 struct cso_context;
39 hud_create(struct cso_context *cso, struct st_context_iface *st,
43 hud_destroy(struct hud_context *hud, struct cso_context *cso);
46 hud_run(struct hud_context *hud, struct cso_context *cso,
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw.c185 cso_multi_draw(st->cso_context, info, drawid_offset, draws, num_draws); in st_draw_gallium()
203 struct cso_context *cso = st->cso_context; in st_draw_gallium_multimode()
231 cso_draw_vbo(st->cso_context, &new_draws[i].info, i, NULL, new_draws[i].draw); in rewrite_partial_stride_indirect()
288 cso_draw_vbo(st->cso_context, &info, i, &indirect, draw); in st_indirect_draw_vbo()
308 cso_draw_vbo(st->cso_context, &info, 0, &indirect, draw); in st_indirect_draw_vbo()
336 cso_draw_vbo(st->cso_context, &info, 0, &indirect, draw); in st_draw_transform_feedback()
508 cso_set_vertex_buffers(st->cso_context, 0, 1, 0, false, &vb); in st_draw_quad()
512 cso_draw_arrays_instanced(st->cso_context, PIPE_PRIM_TRIANGLE_FAN, 0, 4, in st_draw_quad()
515 cso_draw_arrays(st->cso_context, PIPE_PRIM_TRIANGLE_FAN, 0, 4); in st_draw_quad()
541 cso_multi_draw(st->cso_context, info, drawid_offset, draws, num_draws); in st_hw_select_draw_gallium()
[all …]
Dst_atom_shader.c182 cso_set_fragment_shader_handle(st->cso_context, shader); in st_update_fp()
247 cso_set_vertex_shader_handle(st->cso_context, in st_update_vp()
308 cso_set_geometry_shader_handle(st->cso_context, shader); in st_update_gp()
318 cso_set_tessctrl_shader_handle(st->cso_context, shader); in st_update_tcp()
328 cso_set_tesseval_shader_handle(st->cso_context, shader); in st_update_tep()
338 cso_set_compute_shader_handle(st->cso_context, shader); in st_update_cp()
Dst_cb_clear.c130 cso_set_fragment_shader_handle(st->cso_context, st->clear.fs); in set_clearcolor_fs()
182 cso_set_vertex_shader_handle(st->cso_context, st->clear.vs); in set_vertex_shader()
183 cso_set_geometry_shader_handle(st->cso_context, NULL); in set_vertex_shader()
215 cso_set_vertex_shader_handle(st->cso_context, st->clear.vs_layered); in set_vertex_shader_layered()
216 cso_set_geometry_shader_handle(st->cso_context, st->clear.gs_layered); in set_vertex_shader_layered()
229 struct cso_context *cso = st->cso_context; in clear_with_quad()
325 cso_set_viewport_dims(st->cso_context, fb_width, fb_height, in clear_with_quad()
Dst_cb_bitmap.c175 struct cso_context *cso = st->cso_context; in setup_render_state()
265 cso_set_stream_outputs(st->cso_context, 0, NULL, NULL); in setup_render_state()
276 struct cso_context *cso = st->cso_context; in restore_render_state()
765 cso_set_vertex_buffers(st->cso_context, 0, 1, 0, false, &vb); in st_DrawAtlasBitmaps()
768 cso_draw_arrays(st->cso_context, PIPE_PRIM_QUADS, 0, num_verts); in st_DrawAtlasBitmaps()
Dst_atom_msaa.c138 cso_set_sample_mask(st->cso_context, sample_mask); in st_update_sample_state()
153 cso_set_min_samples(st->cso_context, in st_update_sample_shading()
Dst_atom_depth.c138 cso_set_depth_stencil_alpha(st->cso_context, dsa); in st_update_depth_stencil_alpha()
139 cso_set_stencil_ref(st->cso_context, sr); in st_update_depth_stencil_alpha()
Dst_context.h127 struct cso_context *cso_context; member
Dst_atom_viewport.c76 cso_set_viewport(st->cso_context, &st->state.viewport[0]); in st_update_viewport()
Dst_program.c275 cso_set_vertex_shader_handle(st->cso_context, NULL); in st_unbind_program()
279 cso_set_tessctrl_shader_handle(st->cso_context, NULL); in st_unbind_program()
283 cso_set_tesseval_shader_handle(st->cso_context, NULL); in st_unbind_program()
287 cso_set_geometry_shader_handle(st->cso_context, NULL); in st_unbind_program()
291 cso_set_fragment_shader_handle(st->cso_context, NULL); in st_unbind_program()
295 cso_set_compute_shader_handle(st->cso_context, NULL); in st_unbind_program()
Dst_cb_drawtex.c167 struct cso_context *cso = st->cso_context; in st_DrawTex()
Dst_atom_array.cpp332 struct cso_context *cso = st->cso_context; in st_update_array_templ()
Dst_context.c391 cso_destroy_context(st->cso_context); in st_destroy_context_priv()
519 st->cso_context = cso_create_context(pipe, cso_flags); in st_create_context_priv()
520 ctx->cso_context = st->cso_context; in st_create_context_priv()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_draw_quad.h42 struct cso_context;
45 util_draw_vertex_buffer(struct pipe_context *pipe, struct cso_context *cso,
51 util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer,
Du_tests.c70 util_set_framebuffer_cb0(struct cso_context *cso, struct pipe_context *ctx, in util_set_framebuffer_cb0()
89 util_set_blend_normal(struct cso_context *cso) in util_set_blend_normal()
98 util_set_dsa_disable(struct cso_context *cso) in util_set_dsa_disable()
106 util_set_rasterizer_normal(struct cso_context *cso) in util_set_rasterizer_normal()
119 util_set_max_viewport(struct cso_context *cso, struct pipe_resource *tex) in util_set_max_viewport()
138 util_set_interleaved_vertex_elements(struct cso_context *cso, in util_set_interleaved_vertex_elements()
155 util_set_passthrough_vertex_shader(struct cso_context *cso, in util_set_passthrough_vertex_shader()
173 util_set_common_states_and_clear(struct cso_context *cso, struct pipe_context *ctx, in util_set_common_states_and_clear()
188 util_draw_fullscreen_quad(struct cso_context *cso) in util_draw_fullscreen_quad()
201 util_draw_fullscreen_quad_fill(struct cso_context *cso, in util_draw_fullscreen_quad_fill()
[all …]
Du_draw_quad.c43 struct cso_context *cso, in util_draw_vertex_buffer()
78 util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer, in util_draw_user_vertex_buffer()
Du_vbuf.h40 struct cso_context;
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpostprocess.h37 struct cso_context;
56 struct cso_context *,
Dpp_private.h43 struct cso_context *cso;
98 struct cso_context *, struct st_context_iface *st);
Dpp_program.c44 struct cso_context *cso, struct st_context_iface *st) in pp_init_prog()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_context.c200 if (ctx->st->cso_context) { in dri_create_context()
201 ctx->pp = pp_init(ctx->st->pipe, screen->pp_enabled, ctx->st->cso_context, in dri_create_context()
203 ctx->hud = hud_create(ctx->st->cso_context, ctx->st, in dri_create_context()
242 hud_destroy(ctx->hud, ctx->st->cso_context); in dri_destroy_context()
/third_party/mesa3d/src/mesa/main/
Dcondrender.c88 cso_set_render_condition(st->cso_context, q->pq, inverted, m); in BeginConditionalRender()
99 cso_set_render_condition(st->cso_context, NULL, FALSE, 0); in EndConditionalRender()
/third_party/mesa3d/src/gallium/include/frontend/
Dapi.h396 struct cso_context *cso_context; member

123