Home
last modified time | relevance | path

Searched refs:st_context (Results 1 – 25 of 104) sorted by relevance

12345

/third_party/mesa3d/src/mesa/state_tracker/
Dst_texture.h61 struct st_context *st;
151 st_texture_create(struct st_context *st,
177 st_texture_match_image(struct st_context *st,
185 st_texture_image_map(struct st_context *st, struct gl_texture_image *stImage,
192 st_texture_image_unmap(struct st_context *st,
215 st_destroy_bound_texture_handles(struct st_context *st);
218 st_destroy_bound_image_handles(struct st_context *st);
221 st_astc_format_fallback(const struct st_context *st, mesa_format format);
224 st_compressed_format_fallback(struct st_context *st, mesa_format format);
227 st_convert_image(const struct st_context *st, const struct gl_image_unit *u,
[all …]
Dst_program.h65 st_get_external_sampler_key(struct st_context *st, struct gl_program *prog) in st_get_external_sampler_key()
156 struct st_context *st; /**< variants are per-context */
200 struct st_context *st;
230 struct st_context *st; /**< variants are per-context */
282 st_get_generic_varying_index(struct st_context *st, GLuint attr) in st_get_generic_varying_index()
293 st_get_fp_variant(struct st_context *st,
298 st_get_common_variant(struct st_context *st,
303 st_release_variants(struct st_context *st, struct gl_program *p);
306 st_release_program(struct st_context *st, struct gl_program **p);
309 st_destroy_program_variants(struct st_context *st);
[all …]
Dst_pbo.h29 struct st_context;
76 st_pbo_addresses_setup(struct st_context *st,
81 st_pbo_addresses_pixelstore(struct st_context *st,
92 st_pbo_draw(struct st_context *st, const struct st_pbo_addresses *addr,
96 st_pbo_create_vs(struct st_context *st);
99 st_pbo_create_gs(struct st_context *st);
102 st_pbo_get_upload_fs(struct st_context *st,
108 st_pbo_get_download_fs(struct st_context *st, enum pipe_texture_target target,
128 st_init_pbo_helpers(struct st_context *st);
131 st_destroy_pbo_helpers(struct st_context *st);
Dst_cb_flush.c50 st_flush(struct st_context *st, in st_flush()
68 st_finish(struct st_context *st) in st_finish()
87 struct st_context *st = st_context(ctx); in st_glFlush()
102 struct st_context *st = st_context(ctx); in st_glFinish()
132 struct st_context *st = data; in st_device_reset_callback()
149 struct st_context *st = st_context(ctx); in st_get_graphics_reset_status()
166 st_install_device_reset_callback(struct st_context *st) in st_install_device_reset_callback()
Dst_atom_constbuf.c55 st_unbind_unused_cb0(struct st_context *st, enum pipe_shader_type shader_type) in st_unbind_unused_cb0()
70 st_upload_constants(struct st_context *st, struct gl_program *prog, gl_shader_stage stage) in st_upload_constants()
214 st_update_vs_constants(struct st_context *st) in st_update_vs_constants()
223 st_update_fs_constants(struct st_context *st) in st_update_fs_constants()
232 st_update_gs_constants(struct st_context *st) in st_update_gs_constants()
240 st_update_tcs_constants(struct st_context *st) in st_update_tcs_constants()
248 st_update_tes_constants(struct st_context *st) in st_update_tes_constants()
256 st_update_cs_constants(struct st_context *st) in st_update_cs_constants()
262 st_bind_ubos(struct st_context *st, struct gl_program *prog, in st_bind_ubos()
301 st_bind_vs_ubos(struct st_context *st) in st_bind_vs_ubos()
[all …]
Dst_atom.h43 struct st_context;
62 void st_init_atoms( struct st_context *st );
63 void st_destroy_atoms( struct st_context *st );
64 void st_validate_state( struct st_context *st, enum st_pipeline pipeline );
65 void st_update_edgeflags(struct st_context *st, bool per_vertex_edgeflags);
68 st_setup_arrays(struct st_context *st,
76 st_setup_current_user(struct st_context *st,
83 st_update_array_with_popcnt(struct st_context *st);
107 #define ST_STATE(FLAG, st_update) void st_update(struct st_context *st);
Dst_sampler_view.h58 st_texture_release_context_sampler_view(struct st_context *st,
62 st_texture_release_all_sampler_views(struct st_context *st,
66 st_delete_texture_sampler_views(struct st_context *st,
70 st_texture_get_current_sampler_view(const struct st_context *st,
74 st_get_texture_sampler_view_from_stobj(struct st_context *st,
82 st_get_buffer_sampler_view_from_stobj(struct st_context *st,
87 st_get_sampler_view_format(const struct st_context *st,
Dst_context.h52 struct st_context;
120 struct st_context struct
396 static inline struct st_context * argument
397 st_context(struct gl_context *ctx) in st_context() function
403 extern struct st_context *
406 struct st_context *share,
411 st_destroy_context(struct st_context *st);
415 st_invalidate_buffers(struct st_context *st);
419 st_save_zombie_sampler_view(struct st_context *st,
423 st_save_zombie_shader(struct st_context *st,
[all …]
Dst_draw.c88 prepare_draw(struct st_context *st, struct gl_context *ctx, uint64_t state_mask, in prepare_draw()
131 struct st_context *st, in prepare_indexed_draw()
178 struct st_context *st = st_context(ctx); in st_draw_gallium()
195 struct st_context *st = st_context(ctx); in st_draw_gallium_multimode()
221 rewrite_partial_stride_indirect(struct st_context *st, in rewrite_partial_stride_indirect()
248 struct st_context *st = st_context(ctx); in st_indirect_draw_vbo()
317 struct st_context *st = st_context(ctx); in st_draw_transform_feedback()
348 struct st_context *st = st_context(ctx); in st_draw_gallium_vertex_state()
409 st_destroy_draw(struct st_context *st) in st_destroy_draw()
419 st_get_draw_context(struct st_context *st) in st_get_draw_context()
[all …]
Dst_manager.c168 st_context_validate(struct st_context *st, in st_context_validate()
222 struct st_context *st) in st_framebuffer_validate()
583 st_framebuffer_create(struct st_context *st, in st_framebuffer_create()
758 st_framebuffers_purge(struct st_context *st) in st_framebuffers_purge()
791 struct st_context *st = (struct st_context *) stctxi; in st_context_flush()
836 struct st_context *st = (struct st_context *) stctxi; in st_context_teximage()
922 struct st_context *st = (struct st_context *) stctxi; in st_context_copy()
923 struct st_context *src = (struct st_context *) stsrci; in st_context_copy()
933 struct st_context *st = (struct st_context *) stctxi; in st_context_share()
934 struct st_context *src = (struct st_context *) stsrci; in st_context_share()
[all …]
Dst_nir.h44 char *st_finalize_nir(struct st_context *st, struct gl_program *prog,
54 void st_nir_assign_varying_locations(struct st_context *st,
60 void st_nir_lower_uniforms(struct st_context *st, struct nir_shader *nir);
63 st_nir_finish_builtin_shader(struct st_context *st,
67 st_nir_make_passthrough_shader(struct st_context *st,
79 st_nir_make_clearcolor_shader(struct st_context *st);
Dst_atom_atomicbuf.c69 st_bind_atomics(struct st_context *st, struct gl_program *prog, in st_bind_atomics()
99 st_bind_vs_atomics(struct st_context *st) in st_bind_vs_atomics()
108 st_bind_fs_atomics(struct st_context *st) in st_bind_fs_atomics()
117 st_bind_gs_atomics(struct st_context *st) in st_bind_gs_atomics()
126 st_bind_tcs_atomics(struct st_context *st) in st_bind_tcs_atomics()
135 st_bind_tes_atomics(struct st_context *st) in st_bind_tes_atomics()
144 st_bind_cs_atomics(struct st_context *st) in st_bind_cs_atomics()
157 st_bind_hw_atomic_buffers(struct st_context *st) in st_bind_hw_atomic_buffers()
Dst_atom_storagebuf.c43 st_bind_ssbos(struct st_context *st, struct gl_program *prog, in st_bind_ssbos()
95 void st_bind_vs_ssbos(struct st_context *st) in st_bind_vs_ssbos()
103 void st_bind_fs_ssbos(struct st_context *st) in st_bind_fs_ssbos()
111 void st_bind_gs_ssbos(struct st_context *st) in st_bind_gs_ssbos()
119 void st_bind_tcs_ssbos(struct st_context *st) in st_bind_tcs_ssbos()
127 void st_bind_tes_ssbos(struct st_context *st) in st_bind_tes_ssbos()
135 void st_bind_cs_ssbos(struct st_context *st) in st_bind_cs_ssbos()
Dst_atom_image.c51 st_convert_image(const struct st_context *st, const struct gl_image_unit *u, in st_convert_image()
141 st_convert_image_from_unit(const struct st_context *st, in st_convert_image_from_unit()
157 st_bind_images(struct st_context *st, struct gl_program *prog, in st_bind_images()
184 void st_bind_vs_images(struct st_context *st) in st_bind_vs_images()
192 void st_bind_fs_images(struct st_context *st) in st_bind_fs_images()
200 void st_bind_gs_images(struct st_context *st) in st_bind_gs_images()
208 void st_bind_tcs_images(struct st_context *st) in st_bind_tcs_images()
216 void st_bind_tes_images(struct st_context *st) in st_bind_tes_images()
224 void st_bind_cs_images(struct st_context *st) in st_bind_cs_images()
Dst_context.c104 st_invalidate_buffers(struct st_context *st) in st_invalidate_buffers()
132 struct st_context *st = st_context(ctx); in st_invalidate_state()
222 st_save_zombie_sampler_view(struct st_context *st, in st_save_zombie_sampler_view()
252 st_save_zombie_shader(struct st_context *st, in st_save_zombie_shader()
281 free_zombie_sampler_views(struct st_context *st) in free_zombie_sampler_views()
311 free_zombie_shaders(struct st_context *st) in free_zombie_shaders()
367 st_context_free_zombie_objects(struct st_context *st) in st_context_free_zombie_objects()
375 st_destroy_context_priv(struct st_context *st, bool destroy_pipe) in st_destroy_context_priv()
401 st_init_driver_flags(struct st_context *st) in st_init_driver_flags()
456 st_have_perfmon(struct st_context *st) in st_have_perfmon()
[all …]
Dst_format.h43 struct st_context;
48 st_mesa_format_to_pipe_format(const struct st_context *st, mesa_format mesaFormat);
55 st_choose_format(struct st_context *st, GLenum internalFormat,
62 st_choose_matching_format_noverify(struct st_context *st,
66 st_choose_matching_format(struct st_context *st, unsigned bind,
Dst_atom_sampler.c59 st_convert_sampler(const struct st_context *st, in st_convert_sampler()
152 st_convert_sampler_from_unit(const struct st_context *st, in st_convert_sampler_from_unit()
175 update_shader_samplers(struct st_context *st, in update_shader_samplers()
280 st_update_vertex_samplers(struct st_context *st) in st_update_vertex_samplers()
293 st_update_tessctrl_samplers(struct st_context *st) in st_update_tessctrl_samplers()
306 st_update_tesseval_samplers(struct st_context *st) in st_update_tesseval_samplers()
319 st_update_geometry_samplers(struct st_context *st) in st_update_geometry_samplers()
332 st_update_fragment_samplers(struct st_context *st) in st_update_fragment_samplers()
345 st_update_compute_samplers(struct st_context *st) in st_update_compute_samplers()
Dst_atom_texture.c59 st_update_single_texture(struct st_context *st, in st_update_single_texture()
90 st_get_sampler_views(struct st_context *st, in st_get_sampler_views()
258 update_textures(struct st_context *st, in update_textures()
277 st_update_vertex_textures(struct st_context *st) in st_update_vertex_textures()
289 st_update_fragment_textures(struct st_context *st) in st_update_fragment_textures()
299 st_update_geometry_textures(struct st_context *st) in st_update_geometry_textures()
311 st_update_tessctrl_textures(struct st_context *st) in st_update_tessctrl_textures()
323 st_update_tesseval_textures(struct st_context *st) in st_update_tesseval_textures()
335 st_update_compute_textures(struct st_context *st) in st_update_compute_textures()
Dst_cb_bitmap.c103 unpack_bitmap(struct st_context *st, in unpack_bitmap()
124 struct st_context *st = st_context(ctx); in make_bitmap_texture()
173 struct st_context *st = st_context(ctx); in setup_render_state()
275 struct st_context *st = st_context(ctx); in restore_render_state()
299 struct st_context *st = st_context(ctx); in draw_bitmap_quad()
348 reset_cache(struct st_context *st) in reset_cache()
396 create_cache_trans(struct st_context *st) in create_cache_trans()
421 st_flush_bitmap_cache(struct st_context *st) in st_flush_bitmap_cache()
477 struct st_context *st = ctx->st; in accum_bitmap()
546 init_bitmap_state(struct st_context *st) in init_bitmap_state()
[all …]
Dst_cb_flush.h37 struct st_context;
47 st_flush(struct st_context *st,
52 st_finish(struct st_context *st);
55 st_install_device_reset_callback(struct st_context *st);
Dst_program.c73 destroy_program_variants(struct st_context *st, struct gl_program *target);
222 delete_variant(struct st_context *st, struct st_variant *v, GLenum target) in delete_variant()
270 st_unbind_program(struct st_context *st, struct gl_program *p) in st_unbind_program()
307 st_release_variants(struct st_context *st, struct gl_program *p) in st_release_variants()
344 st_release_program(struct st_context *st, struct gl_program **p) in st_release_program()
374 st_prog_to_nir_postprocess(struct st_context *st, nir_shader *nir, in st_prog_to_nir_postprocess()
411 st_translate_prog_to_nir(struct st_context *st, struct gl_program *prog, in st_translate_prog_to_nir()
498 st_create_nir_shader(struct st_context *st, struct pipe_shader_state *state) in st_create_nir_shader()
577 st_translate_vertex_program(struct st_context *st, in st_translate_vertex_program()
612 get_nir_shader(struct st_context *st, struct gl_program *prog) in get_nir_shader()
[all …]
Dst_texture.c56 st_texture_create(struct st_context *st, in st_texture_create()
205 st_texture_match_image(struct st_context *st, in st_texture_match_image()
251 st_texture_image_map(struct st_context *st, struct gl_texture_image *stImage, in st_texture_image_map()
303 st_texture_image_unmap(struct st_context *st, in st_texture_image_unmap()
411 struct st_context *st = st_context(ctx); in st_create_color_map_texture()
432 st_destroy_bound_texture_handles_per_stage(struct st_context *st, in st_destroy_bound_texture_handles_per_stage()
458 st_destroy_bound_texture_handles(struct st_context *st) in st_destroy_bound_texture_handles()
472 st_destroy_bound_image_handles_per_stage(struct st_context *st, in st_destroy_bound_image_handles_per_stage()
498 st_destroy_bound_image_handles(struct st_context *st) in st_destroy_bound_image_handles()
512 st_create_texture_handle_from_unit(struct st_context *st, in st_create_texture_handle_from_unit()
[all …]
Dst_atom_array.cpp78 setup_arrays(struct st_context *st, in setup_arrays()
182 st_setup_arrays(struct st_context *st, in st_setup_arrays()
205 st_setup_current(struct st_context *st, in st_setup_current()
269 st_setup_current_user(struct st_context *st, in st_setup_current_user()
300 st_update_array_templ(struct st_context *st) in st_update_array_templ()
357 st_update_array_impl(struct st_context *st) in st_update_array_impl()
375 st_update_array(struct st_context *st) in st_update_array()
381 st_update_array_with_popcnt(struct st_context *st) in st_update_array_with_popcnt()
392 struct st_context *st = st_context(ctx); in st_create_gallium_vertex_state()
Dst_atom.c44 typedef void (*update_func_t)(struct st_context *st);
60 void st_init_atoms( struct st_context *st ) in st_init_atoms()
69 void st_destroy_atoms( struct st_context *st ) in st_destroy_atoms()
77 static void check_program_state( struct st_context *st ) in check_program_state()
166 void st_update_edgeflags(struct st_context *st, bool per_vertex_edgeflags) in st_update_edgeflags()
188 static void check_attrib_edgeflag(struct st_context *st) in check_attrib_edgeflag()
197 void st_validate_state( struct st_context *st, enum st_pipeline pipeline ) in st_validate_state()
Dst_draw.h42 struct st_context;
47 void st_destroy_draw( struct st_context *st );
49 struct draw_context *st_get_draw_context(struct st_context *st);
79 st_draw_quad(struct st_context *st,

12345