Home
last modified time | relevance | path

Searched refs:cso_context (Results 1 – 25 of 62) 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
125 struct pipe_context *cso_get_pipe_context(struct cso_context *cso) in cso_get_pipe_context() argument
130 static inline boolean delete_cso(struct cso_context *ctx, in delete_cso()
165 struct cso_context *ctx = (struct cso_context *)user_data; in sanitize_hash()
228 static void cso_init_vbuf(struct cso_context *cso, unsigned flags) in cso_init_vbuf()
246 struct cso_context *
249 struct cso_context *ctx = CALLOC_STRUCT(cso_context); in cso_create_context()
295 void cso_unbind_context(struct cso_context *ctx) in cso_unbind_context()
393 …memset(&ctx->nr_so_targets, 0, offsetof(struct cso_context, cache) - offsetof(struct cso_context, … in cso_unbind_context()
407 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,
Dhud_private.h52 struct cso_context *cso;
/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/mesa/state_tracker/
Dst_draw.c187 cso_multi_draw(st->cso_context, info, drawid_offset, draws, num_draws); in st_draw_gallium()
205 struct cso_context *cso = st->cso_context; in st_draw_gallium_multimode()
275 cso_draw_vbo(st->cso_context, &info, i, &indirect, draw); in st_indirect_draw_vbo()
286 cso_draw_vbo(st->cso_context, &info, 0, &indirect, draw); in st_indirect_draw_vbo()
313 cso_draw_vbo(st->cso_context, &info, 0, &indirect, draw); in st_draw_transform_feedback()
486 cso_set_vertex_buffers(st->cso_context, 0, 1, &vb); in st_draw_quad()
490 cso_draw_arrays_instanced(st->cso_context, PIPE_PRIM_TRIANGLE_FAN, 0, 4, in st_draw_quad()
493 cso_draw_arrays(st->cso_context, PIPE_PRIM_TRIANGLE_FAN, 0, 4); in st_draw_quad()
Dst_cb_clear.c135 cso_set_fragment_shader_handle(st->cso_context, st->clear.fs); in set_fragment_shader()
191 cso_set_vertex_shader_handle(st->cso_context, st->clear.vs); in set_vertex_shader()
192 cso_set_geometry_shader_handle(st->cso_context, NULL); in set_vertex_shader()
224 cso_set_vertex_shader_handle(st->cso_context, st->clear.vs_layered); in set_vertex_shader_layered()
225 cso_set_geometry_shader_handle(st->cso_context, st->clear.gs_layered); in set_vertex_shader_layered()
238 struct cso_context *cso = st->cso_context; in clear_with_quad()
334 cso_set_viewport_dims(st->cso_context, fb_width, fb_height, in clear_with_quad()
Dst_cb_xformfb.c150 cso_set_stream_outputs(st->cso_context, sobj->num_targets, in st_begin_transform_feedback()
160 cso_set_stream_outputs(st->cso_context, 0, NULL, NULL); in st_pause_transform_feedback()
177 cso_set_stream_outputs(st->cso_context, sobj->num_targets, in st_resume_transform_feedback()
191 cso_set_stream_outputs(st->cso_context, 0, NULL, NULL); in st_end_transform_feedback()
Dst_atom_shader.c194 cso_set_fragment_shader_handle(st->cso_context, shader); in st_update_fp()
270 cso_set_vertex_shader_handle(st->cso_context, in st_update_vp()
344 cso_set_geometry_shader_handle(st->cso_context, shader); in st_update_gp()
354 cso_set_tessctrl_shader_handle(st->cso_context, shader); in st_update_tcp()
364 cso_set_tesseval_shader_handle(st->cso_context, shader); in st_update_tep()
374 cso_set_compute_shader_handle(st->cso_context, shader); in st_update_cp()
Dst_cb_condrender.c97 cso_set_render_condition(st->cso_context, stq->pq, inverted, m); in st_BeginConditionalRender()
112 cso_set_render_condition(st->cso_context, NULL, FALSE, 0); in st_EndConditionalRender()
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_cb_bitmap.c174 struct cso_context *cso = st->cso_context; in setup_render_state()
264 cso_set_stream_outputs(st->cso_context, 0, NULL, NULL); in setup_render_state()
275 struct cso_context *cso = st->cso_context; in restore_render_state()
769 cso_set_vertex_buffers(st->cso_context, 0, 1, &vb); in st_DrawAtlasBitmaps()
772 cso_draw_arrays(st->cso_context, PIPE_PRIM_QUADS, 0, num_verts); in st_DrawAtlasBitmaps()
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.h129 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_atom_array.c313 struct cso_context *cso = st->cso_context; in st_update_array()
Dst_cb_drawtex.c167 struct cso_context *cso = st->cso_context; in st_DrawTex()
/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.c194 if (ctx->st->cso_context) { in dri_create_context()
195 ctx->pp = pp_init(ctx->st->pipe, screen->pp_enabled, ctx->st->cso_context, in dri_create_context()
197 ctx->hud = hud_create(ctx->st->cso_context, ctx->st, in dri_create_context()
236 hud_destroy(ctx->hud, ctx->st->cso_context); in dri_destroy_context()
/third_party/mesa3d/src/gallium/include/frontend/
Dapi.h384 struct cso_context *cso_context; member

123