Home
last modified time | relevance | path

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

123

/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_destroy_context( struct cso_context *cso );
47 struct pipe_context *cso_get_pipe_context(struct cso_context *cso);
50 enum pipe_error cso_set_blend( struct cso_context *cso,
54 enum pipe_error cso_set_depth_stencil_alpha( struct cso_context *cso,
59 enum pipe_error cso_set_rasterizer( struct cso_context *cso,
64 cso_set_samplers(struct cso_context *cso,
74 cso_single_sampler(struct cso_context *cso, enum pipe_shader_type shader_stage,
78 cso_single_sampler_done(struct cso_context *cso,
[all …]
Dcso_context.c64 struct cso_context { struct
131 struct pipe_context *cso_get_pipe_context(struct cso_context *cso) in cso_get_pipe_context() argument
136 static boolean delete_blend_state(struct cso_context *ctx, void *state) in delete_blend_state()
149 static boolean delete_depth_stencil_state(struct cso_context *ctx, void *state) in delete_depth_stencil_state()
164 static boolean delete_sampler_state(struct cso_context *ctx, void *state) in delete_sampler_state()
173 static boolean delete_rasterizer_state(struct cso_context *ctx, void *state) in delete_rasterizer_state()
185 static boolean delete_vertex_elements(struct cso_context *ctx, in delete_vertex_elements()
200 static inline boolean delete_cso(struct cso_context *ctx, in delete_cso()
225 struct cso_context *ctx = (struct cso_context *)user_data; in sanitize_hash()
288 static void cso_init_vbuf(struct cso_context *cso, unsigned flags) in cso_init_vbuf()
[all …]
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.h32 struct cso_context;
38 hud_create(struct cso_context *cso, struct hud_context *share);
41 hud_destroy(struct hud_context *hud, struct cso_context *cso);
44 hud_run(struct hud_context *hud, struct cso_context *cso,
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c84 cso_delete_fragment_shader(st->cso_context, st->clear.fs); in st_destroy_clear()
88 cso_delete_vertex_shader(st->cso_context, st->clear.vs); in st_destroy_clear()
92 cso_delete_vertex_shader(st->cso_context, st->clear.vs_layered); in st_destroy_clear()
96 cso_delete_geometry_shader(st->cso_context, st->clear.gs_layered); in st_destroy_clear()
114 cso_set_fragment_shader_handle(st->cso_context, st->clear.fs); in set_fragment_shader()
138 cso_set_vertex_shader_handle(st->cso_context, st->clear.vs); in set_vertex_shader()
139 cso_set_geometry_shader_handle(st->cso_context, NULL); in set_vertex_shader()
165 cso_set_vertex_shader_handle(st->cso_context, st->clear.vs_layered); in set_vertex_shader_layered()
166 cso_set_geometry_shader_handle(st->cso_context, st->clear.gs_layered); in set_vertex_shader_layered()
179 struct cso_context *cso = st->cso_context; in clear_with_quad()
[all …]
Dst_atom_shader.c146 cso_set_fragment_shader_handle(st->cso_context, shader); in st_update_fp()
196 cso_set_vertex_shader_handle(st->cso_context, in st_update_vp()
228 cso_set_geometry_shader_handle(st->cso_context, shader); in st_update_gp()
238 cso_set_tessctrl_shader_handle(st->cso_context, shader); in st_update_tcp()
248 cso_set_tesseval_shader_handle(st->cso_context, shader); in st_update_tep()
258 cso_set_compute_shader_handle(st->cso_context, NULL); in st_update_cp()
277 cso_set_compute_shader_handle(st->cso_context, shader); in st_update_cp()
Dst_draw.c227 cso_draw_vbo(st->cso_context, &info); in st_draw_vbo()
290 cso_draw_vbo(st->cso_context, &info); in st_indirect_draw_vbo()
300 cso_draw_vbo(st->cso_context, &info); in st_indirect_draw_vbo()
419 assert(cso_get_aux_vertex_buffer_slot(st->cso_context) == 0); in st_draw_quad()
421 cso_set_vertex_buffers(st->cso_context, in st_draw_quad()
422 cso_get_aux_vertex_buffer_slot(st->cso_context), in st_draw_quad()
426 cso_draw_arrays_instanced(st->cso_context, PIPE_PRIM_TRIANGLE_FAN, 0, 4, in st_draw_quad()
429 cso_draw_arrays(st->cso_context, PIPE_PRIM_TRIANGLE_FAN, 0, 4); in st_draw_quad()
Dst_cb_xformfb.c153 cso_set_stream_outputs(st->cso_context, sobj->num_targets, in st_begin_transform_feedback()
163 cso_set_stream_outputs(st->cso_context, 0, NULL, NULL); in st_pause_transform_feedback()
180 cso_set_stream_outputs(st->cso_context, sobj->num_targets, in st_resume_transform_feedback()
194 cso_set_stream_outputs(st->cso_context, 0, NULL, NULL); in st_end_transform_feedback()
Dst_atom_msaa.c66 cso_set_sample_mask(st->cso_context, sample_mask); in st_update_sample_mask()
79 cso_set_min_samples(st->cso_context, in st_update_sample_shading()
Dst_cb_bitmap.c171 struct cso_context *cso = st->cso_context; in setup_render_state()
258 cso_set_stream_outputs(st->cso_context, 0, NULL, NULL); in setup_render_state()
269 struct cso_context *cso = st->cso_context; in restore_render_state()
776 cso_set_vertex_buffers(st->cso_context, in st_DrawAtlasBitmaps()
777 cso_get_aux_vertex_buffer_slot(st->cso_context), in st_DrawAtlasBitmaps()
780 cso_draw_arrays(st->cso_context, PIPE_PRIM_QUADS, 0, num_verts); in st_DrawAtlasBitmaps()
812 cso_delete_vertex_shader(st->cso_context, st->bitmap.vs); in st_destroy_bitmap()
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_constbuf.c116 cso_set_constant_buffer(st->cso_context, shader_type, 0, &cb); in st_upload_constants()
126 cso_set_constant_buffer(st->cso_context, shader_type, 0, NULL); in st_upload_constants()
222 cso_set_constant_buffer(st->cso_context, shader_type, 1 + i, &cb); in st_bind_ubos()
Dst_pbo.c193 struct cso_context *cso = st->cso_context; in st_pbo_draw()
631 cso_delete_fragment_shader(st->cso_context, st->pbo.upload_fs[i]); in st_destroy_pbo_helpers()
639 cso_delete_fragment_shader(st->cso_context, st->pbo.download_fs[i][j]); in st_destroy_pbo_helpers()
646 cso_delete_geometry_shader(st->cso_context, st->pbo.gs); in st_destroy_pbo_helpers()
651 cso_delete_vertex_shader(st->cso_context, st->pbo.vs); in st_destroy_pbo_helpers()
Dst_cb_drawtex.c111 struct cso_context *cso = st->cso_context; in st_DrawTex()
308 cso_delete_vertex_shader(st->cso_context, CachedShaders[i].handle); in st_destroy_drawtex()
Dst_atom_depth.c159 cso_set_depth_stencil_alpha(st->cso_context, dsa); in st_update_depth_stencil_alpha()
160 cso_set_stencil_ref(st->cso_context, &sr); in st_update_depth_stencil_alpha()
Dst_context.h261 struct cso_context *cso_context; member
Dst_atom_image.c157 cso_set_shader_images(st->cso_context, shader_type, 0, in st_bind_images()
162 st->cso_context, shader_type, prog->info.num_images, in st_bind_images()
Dst_atom_blend.c278 cso_set_blend(st->cso_context, blend); in st_update_blend()
287 cso_set_blend_color(st->cso_context, &bc); in st_update_blend_color()
/external/mesa3d/src/gallium/auxiliary/util/
Du_tests.c66 util_set_framebuffer_cb0(struct cso_context *cso, struct pipe_context *ctx, in util_set_framebuffer_cb0()
85 util_set_blend_normal(struct cso_context *cso) in util_set_blend_normal()
94 util_set_dsa_disable(struct cso_context *cso) in util_set_dsa_disable()
102 util_set_rasterizer_normal(struct cso_context *cso) in util_set_rasterizer_normal()
114 util_set_max_viewport(struct cso_context *cso, struct pipe_resource *tex) in util_set_max_viewport()
129 util_set_interleaved_vertex_elements(struct cso_context *cso, in util_set_interleaved_vertex_elements()
146 util_set_passthrough_vertex_shader(struct cso_context *cso, in util_set_passthrough_vertex_shader()
164 util_set_common_states_and_clear(struct cso_context *cso, struct pipe_context *ctx, in util_set_common_states_and_clear()
179 util_draw_fullscreen_quad(struct cso_context *cso) in util_draw_fullscreen_quad()
295 struct cso_context *cso; in tgsi_vs_window_space_position()
[all …]
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_blit.h41 struct cso_context;
48 util_create_blit(struct pipe_context *pipe, struct cso_context *cso);
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()
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpostprocess.h37 struct cso_context;
55 struct cso_context *);
Dpp_private.h42 struct cso_context *cso;
97 struct cso_context *);
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_context.c186 if (ctx->st->cso_context) { in dri_create_context()
187 ctx->pp = pp_init(ctx->st->pipe, screen->pp_enabled, ctx->st->cso_context); in dri_create_context()
188 ctx->hud = hud_create(ctx->st->cso_context, in dri_create_context()
227 hud_destroy(ctx->hud, ctx->st->cso_context); in dri_destroy_context()
/external/mesa3d/src/gallium/include/state_tracker/
Dst_api.h370 struct cso_context *cso_context; member

123