Home
last modified time | relevance | path

Searched refs:r600_context (Results 1 – 25 of 42) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600.h98 struct r600_context;
101 void si_get_backend_mask(struct r600_context *ctx);
102 void si_context_flush(struct r600_context *ctx, unsigned flags);
104 struct r600_query *r600_context_query_create(struct r600_context *ctx, unsigned query_type);
105 void r600_context_query_destroy(struct r600_context *ctx, struct r600_query *query);
106 boolean r600_context_query_result(struct r600_context *ctx,
109 void r600_query_begin(struct r600_context *ctx, struct r600_query *query);
110 void r600_query_end(struct r600_context *ctx, struct r600_query *query);
111 void r600_context_queries_suspend(struct r600_context *ctx);
112 void r600_context_queries_resume(struct r600_context *ctx);
[all …]
Dr600_query.c28 struct r600_context *rctx = (struct r600_context *)ctx; in r600_create_query()
35 struct r600_context *rctx = (struct r600_context *)ctx; in r600_destroy_query()
42 struct r600_context *rctx = (struct r600_context *)ctx; in r600_begin_query()
53 struct r600_context *rctx = (struct r600_context *)ctx; in r600_end_query()
64 struct r600_context *rctx = (struct r600_context *)ctx; in r600_get_query_result()
74 struct r600_context *rctx = (struct r600_context *)ctx; in r600_render_condition()
120 void r600_init_query_functions(struct r600_context *rctx) in r600_init_query_functions()
Dradeonsi_pm4.h37 struct r600_context;
82 void si_pm4_free_state(struct r600_context *rctx,
86 uint32_t si_pm4_sync_flags(struct r600_context *rctx);
87 unsigned si_pm4_dirty_dw(struct r600_context *rctx);
88 void si_pm4_emit(struct r600_context *rctx, struct si_pm4_state *state);
89 void si_pm4_emit_dirty(struct r600_context *rctx);
90 void si_pm4_reset_emitted(struct r600_context *rctx);
Dradeonsi_pipe.h113 struct r600_context { struct
190 void si_init_blit_functions(struct r600_context *rctx); argument
193 void si_flush_depth_textures(struct r600_context *rctx);
202 void r600_upload_index_buffer(struct r600_context *rctx,
211 void r600_init_query_functions(struct r600_context *rctx);
214 void r600_init_context_resource_functions(struct r600_context *r600);
218 void si_init_surface_functions(struct r600_context *r600);
221 void r600_translate_index_buffer(struct r600_context *r600,
Dr600_buffer.c55 struct r600_context *rctx = (struct r600_context*)ctx; in r600_get_transfer()
76 struct r600_context *rctx = (struct r600_context*)pipe; in r600_buffer_transfer_map()
101 struct r600_context *rctx = (struct r600_context*)ctx; in r600_transfer_destroy()
181 void r600_upload_index_buffer(struct r600_context *rctx, in r600_upload_index_buffer()
188 void r600_upload_const_buffer(struct r600_context *rctx, struct si_resource **rbuffer, in r600_upload_const_buffer()
Dr600_blit.c47 struct r600_context *rctx = (struct r600_context *)ctx; in r600_blitter_begin()
90 struct r600_context *rctx = (struct r600_context *)ctx; in r600_blitter_end()
118 struct r600_context *rctx = (struct r600_context *)ctx; in si_blit_uncompress_depth()
156 void si_flush_depth_textures(struct r600_context *rctx) in si_flush_depth_textures()
198 struct r600_context *rctx = (struct r600_context *)ctx; in r600_clear()
214 struct r600_context *rctx = (struct r600_context *)ctx; in r600_clear_render_target()
230 struct r600_context *rctx = (struct r600_context *)ctx; in r600_clear_depth_stencil()
249 struct r600_context *rctx = (struct r600_context *)ctx; in r600_hw_copy_region()
377 void si_init_blit_functions(struct r600_context *rctx) in si_init_blit_functions()
Dsi_state.c40 static void si_update_fb_blend_state(struct r600_context *rctx) in si_update_fb_blend_state()
197 struct r600_context *rctx = (struct r600_context *)ctx; in si_bind_blend_state()
204 struct r600_context *rctx = (struct r600_context *)ctx; in si_delete_blend_state()
211 struct r600_context *rctx = (struct r600_context *)ctx; in si_set_blend_color()
232 struct r600_context *rctx = (struct r600_context *)ctx; in si_set_clip_state()
255 struct r600_context *rctx = (struct r600_context *)ctx; in si_set_scissor_state()
279 struct r600_context *rctx = (struct r600_context *)ctx; in si_set_viewport_state()
303 static void si_update_fb_rs_state(struct r600_context *rctx) in si_update_fb_rs_state()
471 struct r600_context *rctx = (struct r600_context *)ctx; in si_bind_rs_state()
490 struct r600_context *rctx = (struct r600_context *)ctx; in si_delete_rs_state()
[all …]
Dradeonsi_pm4.c157 void si_pm4_free_state(struct r600_context *rctx, in si_pm4_free_state()
174 uint32_t si_pm4_sync_flags(struct r600_context *rctx) in si_pm4_sync_flags()
189 unsigned si_pm4_dirty_dw(struct r600_context *rctx) in si_pm4_dirty_dw()
205 void si_pm4_emit(struct r600_context *rctx, struct si_pm4_state *state) in si_pm4_emit()
222 void si_pm4_emit_dirty(struct r600_context *rctx) in si_pm4_emit_dirty()
235 void si_pm4_reset_emitted(struct r600_context *rctx) in si_pm4_reset_emitted()
Dsi_state_draw.c42 struct r600_context *rctx = (struct r600_context *)ctx; in si_pipe_shader_vs()
100 struct r600_context *rctx = (struct r600_context *)ctx; in si_pipe_shader_ps()
244 static bool si_update_draw_info_state(struct r600_context *rctx, in si_update_draw_info_state()
298 static void si_update_alpha_ref(struct r600_context *rctx) in si_update_alpha_ref()
315 static void si_update_spi_map(struct r600_context *rctx) in si_update_spi_map()
359 static void si_update_derived_state(struct r600_context *rctx) in si_update_derived_state()
403 static void si_vertex_buffer_update(struct r600_context *rctx) in si_vertex_buffer_update()
456 static void si_state_draw(struct r600_context *rctx, in si_state_draw()
516 struct r600_context *rctx = (struct r600_context *)ctx; in si_draw_vbo()
Dr600_hw_context.c36 void si_get_backend_mask(struct r600_context *ctx) in si_get_backend_mask()
119 void si_need_cs_space(struct r600_context *ctx, unsigned num_dw, in si_need_cs_space()
156 static void r600_flush_framebuffer(struct r600_context *ctx) in r600_flush_framebuffer()
180 void si_context_flush(struct r600_context *ctx, unsigned flags) in si_context_flush()
238 void si_context_emit_fence(struct r600_context *ctx, struct si_resource *fence_bo, unsigned offset,… in si_context_emit_fence()
279 static boolean r600_query_result(struct r600_context *ctx, struct r600_query *query, boolean wait) in r600_query_result()
360 void r600_query_begin(struct r600_context *ctx, struct r600_query *query) in r600_query_begin()
447 void r600_query_end(struct r600_context *ctx, struct r600_query *query) in r600_query_end()
491 void r600_query_predication(struct r600_context *ctx, struct r600_query *query, int operation, in r600_query_predication()
534 struct r600_query *r600_context_query_create(struct r600_context *ctx, unsigned query_type) in r600_context_query_create()
[all …]
Dr600_resource.h73 struct r600_context;
75 void r600_upload_const_buffer(struct r600_context *rctx, struct si_resource **rbuffer,
Dradeonsi_pipe.c56 static struct r600_fence *r600_create_fence(struct r600_context *rctx) in r600_create_fence()
137 struct r600_context *rctx = (struct r600_context *)ctx; in radeonsi_flush()
173 struct r600_context *rctx = (struct r600_context *)context; in r600_destroy_context()
192 struct r600_context *rctx = CALLOC_STRUCT(r600_context); in r600_create_context()
/external/mesa3d/src/gallium/drivers/r600/
Dr600.h187 struct r600_context;
190 void r600_get_backend_mask(struct r600_context *ctx);
191 int r600_context_init(struct r600_context *ctx);
192 void r600_context_fini(struct r600_context *ctx);
193 void r600_context_pipe_state_emit(struct r600_context *ctx, struct r600_pipe_state *state, unsigned…
194 void r600_context_pipe_state_set(struct r600_context *ctx, struct r600_pipe_state *state);
195 void r600_context_flush(struct r600_context *ctx, unsigned flags);
197 void r600_context_emit_fence(struct r600_context *ctx, struct r600_resource *fence,
199 void r600_inval_shader_cache(struct r600_context *ctx);
200 void r600_inval_texture_cache(struct r600_context *ctx);
[all …]
Dr600_hw_context_priv.h52 int r600_context_add_block(struct r600_context *ctx, const struct r600_reg *reg, unsigned nreg,
54 void r600_context_dirty_block(struct r600_context *ctx, struct r600_block *block,
56 int r600_setup_block_table(struct r600_context *ctx);
57 int r600_state_sampler_init(struct r600_context *ctx, uint32_t offset);
58 void r600_context_pipe_state_set_sampler(struct r600_context *ctx, struct r600_pipe_state *state, u…
59 void r600_context_ps_partial_flush(struct r600_context *ctx);
64 void evergreen_flush_vgt_streamout(struct r600_context *ctx);
65 void evergreen_set_streamout_enable(struct r600_context *ctx, unsigned buffer_enable_bit);
Dr600_pipe.h57 void (*emit)(struct r600_context *ctx, struct r600_atom *state);
324 struct r600_context { struct
467 static INLINE void r600_emit_atom(struct r600_context *rctx, struct r600_atom *atom) in r600_emit_atom() argument
475 static INLINE void r600_atom_dirty(struct r600_context *rctx, struct r600_atom *state) in r600_atom_dirty()
493 void evergreen_init_state_functions(struct r600_context *rctx);
494 void evergreen_init_atom_start_cs(struct r600_context *rctx);
498 void *evergreen_create_db_flush_dsa(struct r600_context *rctx);
499 void *evergreen_create_resolve_blend(struct r600_context *rctx);
500 void *evergreen_create_decompress_blend(struct r600_context *rctx);
501 void evergreen_polygon_offset_update(struct r600_context *rctx);
[all …]
Devergreen_compute.c87 struct r600_context * rctx, in evergreen_cs_set_vertex_buffer()
122 struct r600_context *ctx = (struct r600_context *)ctx_; in evergreen_create_compute_state()
136 shader->ctx = (struct r600_context*)ctx; in evergreen_create_compute_state()
170 struct r600_context *ctx = (struct r600_context *)ctx_; in evergreen_bind_compute_state()
194 struct r600_context *ctx = (struct r600_context *)ctx_; in evergreen_compute_upload_input()
253 struct r600_context *rctx, in evergreen_emit_direct_dispatch()
317 static void compute_emit_cs(struct r600_context *ctx, const uint *block_layout, in compute_emit_cs()
425 struct r600_context *rctx, in evergreen_emit_cs_shader()
455 struct r600_context *ctx = (struct r600_context *)ctx_; in evergreen_launch_grid()
467 struct r600_context *ctx = (struct r600_context *)ctx_; in evergreen_set_compute_resources()
[all …]
Dr600_state_common.c37 static void r600_emit_command_buffer(struct r600_context *rctx, struct r600_atom *atom) in r600_emit_command_buffer()
61 static void r600_emit_surface_sync(struct r600_context *rctx, struct r600_atom *atom) in r600_emit_surface_sync()
75 static void r600_emit_r6xx_flush_and_inv(struct r600_context *rctx, struct r600_atom *atom) in r600_emit_r6xx_flush_and_inv()
83 void (*emit)(struct r600_context *ctx, struct r600_atom *state), in r600_init_atom()
91 static void r600_emit_alphatest_state(struct r600_context *rctx, struct r600_atom *atom) in r600_emit_alphatest_state()
107 void r600_init_common_atoms(struct r600_context *rctx) in r600_init_common_atoms()
115 unsigned r600_get_cb_flush_flags(struct r600_context *rctx) in r600_get_cb_flush_flags()
136 struct r600_context *rctx = (struct r600_context *)ctx; in r600_texture_barrier()
172 static void r600_bind_blend_state_internal(struct r600_context *rctx, in r600_bind_blend_state_internal()
202 struct r600_context *rctx = (struct r600_context *)ctx; in r600_bind_blend_state()
[all …]
Dr600_query.c40 static struct r600_resource *r600_new_query_buffer(struct r600_context *ctx, unsigned type) in r600_new_query_buffer()
88 static void r600_emit_query_begin(struct r600_context *ctx, struct r600_query *query) in r600_emit_query_begin()
146 static void r600_emit_query_end(struct r600_context *ctx, struct r600_query *query) in r600_emit_query_end()
204 static void r600_emit_query_predication(struct r600_context *ctx, struct r600_query *query, in r600_emit_query_predication()
253 struct r600_context *rctx = (struct r600_context *)ctx; in r600_create_query()
316 static void r600_update_occlusion_query_state(struct r600_context *rctx, in r600_update_occlusion_query_state()
337 struct r600_context *rctx = (struct r600_context *)ctx; in r600_begin_query()
377 struct r600_context *rctx = (struct r600_context *)ctx; in r600_end_query()
407 static boolean r600_get_query_buffer_result(struct r600_context *ctx, in r600_get_query_buffer_result()
502 struct r600_context *rctx = (struct r600_context *)ctx; in r600_get_query_result()
[all …]
Dr600_blit.c51 struct r600_context *rctx = (struct r600_context *)ctx; in r600_blitter_begin()
100 struct r600_context *rctx = (struct r600_context *)ctx; in r600_blitter_end()
137 struct r600_context *rctx = (struct r600_context *)ctx; in r600_blit_decompress_depth()
230 void r600_decompress_depth_textures(struct r600_context *rctx, in r600_decompress_depth_textures()
260 struct r600_context *rctx = (struct r600_context *)ctx; in r600_blit_decompress_color()
303 void r600_decompress_color_textures(struct r600_context *rctx, in r600_decompress_color_textures()
337 struct r600_context *rctx = (struct r600_context *)ctx; in r600_copy_first_sample()
412 struct r600_context *rctx = (struct r600_context *)ctx; in r600_color_resolve()
503 struct r600_context *rctx = (struct r600_context *)ctx; in r600_clear()
519 struct r600_context *rctx = (struct r600_context *)ctx; in r600_clear_render_target()
[all …]
Dr600_buffer.c46 struct r600_context *rctx = (struct r600_context*)ctx; in r600_get_transfer()
67 static void r600_set_constants_dirty_if_bound(struct r600_context *rctx, in r600_set_constants_dirty_if_bound()
90 struct r600_context *rctx = (struct r600_context*)pipe; in r600_buffer_transfer_map()
181 struct r600_context *rctx = (struct r600_context*)ctx; in r600_transfer_destroy()
Dr600_hw_context.c32 void r600_get_backend_mask(struct r600_context *ctx) in r600_get_backend_mask()
117 void r600_context_ps_partial_flush(struct r600_context *ctx) in r600_context_ps_partial_flush()
130 static void r600_init_block(struct r600_context *ctx, in r600_init_block()
184 int r600_context_add_block(struct r600_context *ctx, const struct r600_reg *reg, unsigned nreg, in r600_context_add_block()
525 static int r600_loop_const_init(struct r600_context *ctx, uint32_t offset) in r600_loop_const_init()
540 void r600_context_fini(struct r600_context *ctx) in r600_context_fini()
568 int r600_setup_block_table(struct r600_context *ctx) in r600_setup_block_table()
599 int r600_context_init(struct r600_context *ctx) in r600_context_init()
633 void r600_need_cs_space(struct r600_context *ctx, unsigned num_dw, in r600_need_cs_space()
687 void r600_context_dirty_block(struct r600_context *ctx, in r600_context_dirty_block()
[all …]
Devergreen_compute_internal.h71 struct r600_context *ctx;
91 void evergreen_emit_ctx_reg_set(struct r600_context *ctx, unsigned index, int num);
93 void evergreen_emit_ctx_value(struct r600_context *ctx, unsigned value);
95 void evergreen_emit_ctx_reloc(struct r600_context *ctx, struct r600_resource *bo, enum radeon_bo_us…
Dr600_state.c644 void r600_polygon_offset_update(struct r600_context *rctx) in r600_polygon_offset_update()
698 struct r600_context *rctx = (struct r600_context *)ctx; in r600_create_blend_state_mode()
800 struct r600_context *rctx = (struct r600_context *)ctx; in r600_create_dsa_state()
856 struct r600_context *rctx = (struct r600_context *)ctx; in r600_create_rs_state()
1133 struct r600_context *rctx = (struct r600_context *)ctx; in r600_set_clip_state()
1174 void r600_set_scissor_state(struct r600_context *rctx, in r600_set_scissor_state()
1199 struct r600_context *rctx = (struct r600_context *)ctx; in r600_pipe_set_scissor_state()
1214 struct r600_context *rctx = (struct r600_context *)ctx; in r600_set_viewport_state()
1254 static void r600_init_color_surface(struct r600_context *rctx, in r600_init_color_surface()
1476 static void r600_init_depth_surface(struct r600_context *rctx, in r600_init_depth_surface()
[all …]
Devergreen_compute.h38 void evergreen_init_atom_start_compute_cs(struct r600_context *rctx);
39 void evergreen_init_compute_state_functions(struct r600_context *rctx);
40 void evergreen_emit_cs_shader(struct r600_context *rctx, struct r600_atom * atom);
Devergreen_state.c686 struct r600_context *rctx = (struct r600_context *)ctx; in evergreen_create_blend_state_mode()
780 struct r600_context *rctx = (struct r600_context *)ctx; in evergreen_create_dsa_state()
837 struct r600_context *rctx = (struct r600_context *)ctx; in evergreen_create_rs_state()
1134 struct r600_context *rctx = (struct r600_context *)ctx; in evergreen_set_clip_state()
1175 static void evergreen_get_scissor_rect(struct r600_context *rctx, in evergreen_get_scissor_rect()
1198 struct r600_context *rctx = (struct r600_context *)ctx; in evergreen_set_scissor_state()
1219 struct r600_context *rctx = (struct r600_context *)ctx; in evergreen_set_viewport_state()
1239 void evergreen_init_color_surface(struct r600_context *rctx, in evergreen_init_color_surface()
1433 static void evergreen_init_depth_surface(struct r600_context *rctx, in evergreen_init_depth_surface()
1560 struct r600_context *rctx = (struct r600_context *)ctx; in evergreen_set_ms_pos()
[all …]

12