Home
last modified time | relevance | path

Searched refs:cso_context (Results 1 – 25 of 57) 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 );
45 void cso_destroy_context( struct cso_context *cso );
48 enum pipe_error cso_set_blend( struct cso_context *cso,
52 enum pipe_error cso_set_depth_stencil_alpha( struct cso_context *cso,
57 enum pipe_error cso_set_rasterizer( struct cso_context *cso,
62 cso_set_samplers(struct cso_context *cso,
72 cso_single_sampler(struct cso_context *cso, unsigned shader_stage,
76 cso_single_sampler_done(struct cso_context *cso,
80 enum pipe_error cso_set_vertex_elements(struct cso_context *ctx,
[all …]
Dcso_context.c65 struct cso_context { struct
128 static boolean delete_blend_state(struct cso_context *ctx, void *state) in delete_blend_state() argument
141 static boolean delete_depth_stencil_state(struct cso_context *ctx, void *state) in delete_depth_stencil_state()
156 static boolean delete_sampler_state(struct cso_context *ctx, void *state) in delete_sampler_state()
165 static boolean delete_rasterizer_state(struct cso_context *ctx, void *state) in delete_rasterizer_state()
177 static boolean delete_vertex_elements(struct cso_context *ctx, in delete_vertex_elements()
192 static inline boolean delete_cso(struct cso_context *ctx, in delete_cso()
217 struct cso_context *ctx = (struct cso_context *)user_data; in sanitize_hash()
280 static void cso_init_vbuf(struct cso_context *cso) in cso_init_vbuf()
291 struct cso_context *cso_create_context( struct pipe_context *pipe ) in cso_create_context()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_shader.c152 cso_set_fragment_shader_handle(st->cso_context, in update_fp()
203 cso_set_vertex_shader_handle(st->cso_context, in update_vp()
222 cso_set_geometry_shader_handle(st->cso_context, NULL); in update_gp()
235 cso_set_geometry_shader_handle(st->cso_context, in update_gp()
251 cso_set_tessctrl_shader_handle(st->cso_context, NULL); in update_tcp()
264 cso_set_tessctrl_shader_handle(st->cso_context, in update_tcp()
280 cso_set_tesseval_shader_handle(st->cso_context, NULL); in update_tep()
293 cso_set_tesseval_shader_handle(st->cso_context, in update_tep()
309 cso_set_compute_shader_handle(st->cso_context, NULL); in update_cp()
321 cso_set_compute_shader_handle(st->cso_context, in update_cp()
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_draw.c124 cso_set_index_buffer(st->cso_context, ibuffer); in setup_index_buffer()
269 cso_draw_vbo(st->cso_context, &info); in st_draw_vbo()
273 cso_draw_vbo(st->cso_context, &info); in st_draw_vbo()
276 cso_draw_vbo(st->cso_context, &info); in st_draw_vbo()
349 cso_draw_vbo(st->cso_context, &info); in st_indirect_draw_vbo()
359 cso_draw_vbo(st->cso_context, &info); in st_indirect_draw_vbo()
477 assert(cso_get_aux_vertex_buffer_slot(st->cso_context) == 0); in st_draw_quad()
479 cso_set_vertex_buffers(st->cso_context, in st_draw_quad()
480 cso_get_aux_vertex_buffer_slot(st->cso_context), in st_draw_quad()
484 cso_draw_arrays_instanced(st->cso_context, PIPE_PRIM_TRIANGLE_FAN, 0, 4, in st_draw_quad()
[all …]
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_cb_bitmap.c192 struct cso_context *cso = st->cso_context; in setup_render_state()
279 cso_set_stream_outputs(st->cso_context, 0, NULL, NULL); in setup_render_state()
290 struct cso_context *cso = st->cso_context; in restore_render_state()
794 cso_set_vertex_buffers(st->cso_context, in st_DrawAtlasBitmaps()
795 cso_get_aux_vertex_buffer_slot(st->cso_context), in st_DrawAtlasBitmaps()
798 cso_draw_arrays(st->cso_context, PIPE_PRIM_QUADS, 0, num_verts); in st_DrawAtlasBitmaps()
829 cso_delete_vertex_shader(st->cso_context, st->bitmap.vs); in st_destroy_bitmap()
Dst_atom_msaa.c71 cso_set_sample_mask(st->cso_context, sample_mask); in update_sample_mask()
84 st->cso_context, in update_sample_shading()
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_pbo.c193 struct cso_context *cso = st->cso_context; in st_pbo_draw()
644 cso_delete_fragment_shader(st->cso_context, st->pbo.upload_fs[i]); in st_destroy_pbo_helpers()
652 cso_delete_fragment_shader(st->cso_context, st->pbo.download_fs[i][j]); in st_destroy_pbo_helpers()
659 cso_delete_geometry_shader(st->cso_context, st->pbo.gs); in st_destroy_pbo_helpers()
664 cso_delete_vertex_shader(st->cso_context, st->pbo.vs); in st_destroy_pbo_helpers()
Dst_atom_constbuf.c124 cso_set_constant_buffer(st->cso_context, shader_type, 0, &cb); in st_upload_constants()
134 cso_set_constant_buffer(st->cso_context, shader_type, 0, NULL); in st_upload_constants()
275 cso_set_constant_buffer(st->cso_context, shader_type, 1 + i, &cb); in st_bind_ubos()
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 update_depth_stencil_alpha()
160 cso_set_stencil_ref(st->cso_context, &sr); in update_depth_stencil_alpha()
Dst_context.h243 struct cso_context *cso_context; member
Dst_atom_image.c121 cso_set_shader_images(st->cso_context, shader_type, 0, in st_bind_images()
126 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 update_blend()
283 cso_set_blend_color(st->cso_context, &bc); in update_blend()
/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,
55 util_draw_texquad(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()
100 util_draw_texquad(struct pipe_context *pipe, struct cso_context *cso, in util_draw_texquad()
Du_blit.h41 struct cso_context;
48 util_create_blit(struct pipe_context *pipe, struct cso_context *cso);
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.h32 struct cso_context;
37 hud_create(struct pipe_context *pipe, struct cso_context *cso);
/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.c154 if (ctx->st->cso_context) { in dri_create_context()
155 ctx->pp = pp_init(ctx->st->pipe, screen->pp_enabled, ctx->st->cso_context); in dri_create_context()
156 ctx->hud = hud_create(ctx->st->pipe, ctx->st->cso_context); in dri_create_context()
/external/mesa3d/src/gallium/include/state_tracker/
Dst_api.h370 struct cso_context *cso_context; member

123