Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.h41 struct cso_context;
44 struct cso_context *cso_create_context( struct pipe_context *pipe );
46 void cso_release_all( struct cso_context *ctx );
48 void cso_destroy_context( struct cso_context *cso );
52 enum pipe_error cso_set_blend( struct cso_context *cso,
54 void cso_save_blend(struct cso_context *cso);
55 void cso_restore_blend(struct cso_context *cso);
59 enum pipe_error cso_set_depth_stencil_alpha( struct cso_context *cso,
61 void cso_save_depth_stencil_alpha(struct cso_context *cso);
62 void cso_restore_depth_stencil_alpha(struct cso_context *cso);
[all …]
Dcso_context.c79 struct cso_context { struct
123 static boolean delete_blend_state(struct cso_context *ctx, void *state) in delete_blend_state() argument
136 static boolean delete_depth_stencil_state(struct cso_context *ctx, void *state) in delete_depth_stencil_state()
151 static boolean delete_sampler_state(struct cso_context *ctx, void *state) in delete_sampler_state()
160 static boolean delete_rasterizer_state(struct cso_context *ctx, void *state) in delete_rasterizer_state()
172 static boolean delete_vertex_elements(struct cso_context *ctx, in delete_vertex_elements()
187 static INLINE boolean delete_cso(struct cso_context *ctx, in delete_cso()
212 struct cso_context *ctx = (struct cso_context *)user_data; in sanitize_hash()
233 static void cso_init_vbuf(struct cso_context *cso) in cso_init_vbuf()
253 struct cso_context *cso_create_context( struct pipe_context *pipe ) in cso_create_context()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c85 cso_delete_fragment_shader(st->cso_context, st->clear.fs); in st_destroy_clear()
89 cso_delete_vertex_shader(st->cso_context, st->clear.vs); in st_destroy_clear()
104 cso_set_fragment_shader_handle(st->cso_context, st->clear.fs); in set_fragment_shader()
127 cso_set_vertex_shader_handle(st->cso_context, st->clear.vs); in set_vertex_shader()
177 st->cso_context, in draw_quad()
216 cso_save_blend(st->cso_context); in clear_with_quad()
217 cso_save_stencil_ref(st->cso_context); in clear_with_quad()
218 cso_save_depth_stencil_alpha(st->cso_context); in clear_with_quad()
219 cso_save_rasterizer(st->cso_context); in clear_with_quad()
220 cso_save_sample_mask(st->cso_context); in clear_with_quad()
[all …]
Dst_atom_shader.c98 cso_set_fragment_shader_handle(st->cso_context, fs); in update_fp()
101 cso_set_fragment_shader_handle(st->cso_context, in update_fp()
156 cso_set_vertex_shader_handle(st->cso_context, in update_vp()
181 cso_set_geometry_shader_handle(st->cso_context, NULL); in update_gp()
195 cso_set_geometry_shader_handle(st->cso_context, in update_gp()
Dst_cb_xformfb.c151 cso_set_stream_outputs(st->cso_context, sobj->num_targets, sobj->targets, in st_begin_transform_feedback()
161 cso_set_stream_outputs(st->cso_context, 0, NULL, 0); in st_pause_transform_feedback()
173 cso_set_stream_outputs(st->cso_context, sobj->num_targets, sobj->targets, in st_resume_transform_feedback()
204 cso_set_stream_outputs(st->cso_context, 0, NULL, 0); in st_end_transform_feedback()
Dst_draw.c120 cso_set_index_buffer(st->cso_context, ibuffer); in setup_index_buffer()
271 cso_draw_vbo(st->cso_context, &info); in st_draw_vbo()
275 cso_draw_vbo(st->cso_context, &info); in st_draw_vbo()
278 cso_draw_vbo(st->cso_context, &info); in st_draw_vbo()
Dst_context.c155 st->cso_context = cso_create_context(pipe); in st_create_context_priv()
284 struct cso_context *cso = st->cso_context; in st_destroy_context()
289 cso_release_all(st->cso_context); in st_destroy_context()
Dst_cb_drawtex.c110 struct cso_context *cso = ctx->st->cso_context; in st_DrawTex()
249 cso_set_stream_outputs(st->cso_context, 0, NULL, 0); in st_DrawTex()
304 cso_delete_vertex_shader(st->cso_context, CachedShaders[i].handle); in st_destroy_drawtex()
Dst_atom_sampler.c238 cso_single_sampler(st->cso_context, shader_stage, unit, sampler); in update_shader_samplers()
241 cso_single_sampler(st->cso_context, shader_stage, unit, NULL); in update_shader_samplers()
249 cso_single_sampler_done(st->cso_context, shader_stage); in update_shader_samplers()
Dst_context.h186 struct cso_context *cso_context; member
Dst_atom_depth.c148 cso_set_depth_stencil_alpha(st->cso_context, dsa); in update_depth_stencil_alpha()
149 cso_set_stencil_ref(st->cso_context, &sr); in update_depth_stencil_alpha()
Dst_atom_clip.c63 cso_set_clip(st->cso_context, &clip); in update_clip()
Dst_atom_msaa.c71 cso_set_sample_mask(st->cso_context, sample_mask); in update_sample_mask()
Dst_cb_bitmap.c415 struct cso_context *cso = st->cso_context; in draw_bitmap_quad()
524 cso_set_stream_outputs(st->cso_context, 0, NULL, 0); in draw_bitmap_quad()
534 util_draw_vertex_buffer(pipe, st->cso_context, vbuf, offset, in draw_bitmap_quad()
872 cso_delete_vertex_shader(st->cso_context, st->bitmap.vs); in st_destroy_bitmap()
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw_quad.h41 struct cso_context;
46 util_draw_vertex_buffer(struct pipe_context *pipe, struct cso_context *cso,
51 util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer,
55 util_draw_texquad(struct pipe_context *pipe, struct cso_context *cso,
Du_gen_mipmap.h41 struct cso_context;
47 util_create_gen_mipmap(struct pipe_context *pipe, struct cso_context *cso);
Du_draw_quad.c43 struct cso_context *cso, in util_draw_vertex_buffer()
77 util_draw_user_vertex_buffer(struct cso_context *cso, void *buffer, in util_draw_user_vertex_buffer()
99 util_draw_texquad(struct pipe_context *pipe, struct cso_context *cso, in util_draw_texquad()
Du_blit.h43 struct cso_context;
53 util_create_blit(struct pipe_context *pipe, struct cso_context *cso);
Du_vbuf.h39 struct cso_context;
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.h41 struct cso_context *cso;
/external/mesa3d/src/gallium/state_trackers/vega/
Dshaders_cache.c400 cso_delete_fragment_shader(sc->pipe->cso_context, in shaders_cache_destroy()
458 cso_delete_fragment_shader(ctx->cso_context, shader->driver); in vg_shader_destroy()
460 cso_delete_vertex_shader(ctx->cso_context, shader->driver); in vg_shader_destroy()
Dvg_context.c106 ctx->cso_context = cso_create_context(pipe); in vg_create_context()
141 ctx->blit = util_create_blit(ctx->pipe, ctx->cso_context); in vg_create_context()
168 cso_release_all(ctx->cso_context); in vg_destroy_context()
169 cso_destroy_context(ctx->cso_context); in vg_destroy_context()
Dvg_context.h123 struct cso_context *cso_context; member
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_exa.h8 struct cso_context;
Dxorg_renderer.h21 struct cso_context *cso;

12