/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_state.c | 47 update_draw_cost(struct fd_context *ctx) assert_dt in update_draw_cost() 65 struct fd_context *ctx = fd_context(pctx); in fd_set_blend_color() 74 struct fd_context *ctx = fd_context(pctx); in fd_set_stencil_ref() 83 struct fd_context *ctx = fd_context(pctx); in fd_set_clip_state() 91 struct fd_context *ctx = fd_context(pctx); in fd_set_sample_mask() 99 struct fd_context *ctx = fd_context(pctx); in fd_set_min_samples() 117 struct fd_context *ctx = fd_context(pctx); in fd_set_constant_buffer() 147 struct fd_context *ctx = fd_context(pctx); in fd_set_shader_buffers() 193 struct fd_context *ctx = fd_context(pctx); in fd_set_shader_images() 254 struct fd_context *ctx = fd_context(pctx); in fd_set_framebuffer_state() [all …]
|
D | freedreno_context.h | 198 struct fd_context { struct 450 void (*rebind_resource)(struct fd_context *ctx, struct fd_resource *rsc) dt; argument 470 bool (*draw_vbo)(struct fd_context *ctx, const struct pipe_draw_info *info, argument 475 bool (*clear)(struct fd_context *ctx, unsigned buffers, argument 480 void (*launch_grid)(struct fd_context *ctx, argument 484 struct fd_query *(*create_query)(struct fd_context *ctx, unsigned query_type, argument 492 bool (*blit)(struct fd_context *ctx, const struct pipe_blit_info *info) dt; argument 496 void (*validate_format)(struct fd_context *ctx, struct fd_resource *rsc, argument 500 void (*framebuffer_barrier)(struct fd_context *ctx) dt; argument 553 static inline struct fd_context * argument [all …]
|
D | freedreno_program.c | 36 update_bound_stage(struct fd_context *ctx, enum pipe_shader_type shader, in update_bound_stage() 49 struct fd_context *ctx = fd_context(pctx); in fd_set_patch_vertices() 57 struct fd_context *ctx = fd_context(pctx); in fd_vs_state_bind() 66 struct fd_context *ctx = fd_context(pctx); in fd_tcs_state_bind() 75 struct fd_context *ctx = fd_context(pctx); in fd_tes_state_bind() 84 struct fd_context *ctx = fd_context(pctx); in fd_gs_state_bind() 93 struct fd_context *ctx = fd_context(pctx); in fd_fs_state_bind() 197 struct fd_context *ctx = fd_context(pctx); in fd_prog_init() 238 struct fd_context *ctx = fd_context(pctx); in fd_prog_fini()
|
D | freedreno_batch_cache.h | 36 struct fd_context; 69 void fd_bc_flush(struct fd_context *ctx, bool deferred) assert_dt; 70 void fd_bc_flush_writer(struct fd_context *ctx, struct fd_resource *rsc) assert_dt; 71 void fd_bc_flush_readers(struct fd_context *ctx, struct fd_resource *rsc) assert_dt; 72 void fd_bc_dump(struct fd_context *ctx, const char *fmt, ...) 77 struct fd_batch *fd_bc_alloc_batch(struct fd_context *ctx, 81 fd_batch_from_fb(struct fd_context *ctx,
|
D | freedreno_context.c | 47 struct fd_context *ctx = fd_context(pctx); in fd_context_flush() 159 struct fd_context *ctx = fd_context(pctx); in fd_texture_barrier() 237 struct fd_context *ctx = fd_context(pctx); in fd_emit_string_marker() 266 fd_context_switch_from(struct fd_context *ctx) in fd_context_switch_from() 278 fd_context_switch_to(struct fd_context *ctx, struct fd_batch *batch) in fd_context_switch_to() 291 fd_context_batch(struct fd_context *ctx) in fd_context_batch() 318 fd_context_batch_locked(struct fd_context *ctx) in fd_context_batch_locked() 335 struct fd_context *ctx = fd_context(pctx); in fd_context_destroy() 407 struct fd_context *ctx = fd_context(pctx); in fd_set_debug_callback() 416 fd_get_reset_count(struct fd_context *ctx, bool per_context) in fd_get_reset_count() [all …]
|
D | freedreno_query_hw.c | 45 struct fd_context *ctx = batch->ctx; in get_sample() 113 destroy_periods(struct fd_context *ctx, struct fd_hw_query *hq) in destroy_periods() 125 fd_hw_destroy_query(struct fd_context *ctx, struct fd_query *q) in fd_hw_destroy_query() 138 fd_hw_begin_query(struct fd_context *ctx, struct fd_query *q) assert_dt in fd_hw_begin_query() 160 fd_hw_end_query(struct fd_context *ctx, struct fd_query *q) assert_dt in fd_hw_end_query() 185 fd_hw_get_query_result(struct fd_context *ctx, struct fd_query *q, bool wait, in fd_hw_get_query_result() 263 fd_hw_create_query(struct fd_context *ctx, unsigned query_type, unsigned index) in fd_hw_create_query() 328 __fd_hw_sample_destroy(struct fd_context *ctx, struct fd_hw_sample *samp) in __fd_hw_sample_destroy() 378 struct fd_context *ctx = batch->ctx; in fd_hw_query_update_batch() 403 struct fd_context *ctx = batch->ctx; in fd_hw_query_enable() [all …]
|
D | freedreno_query_acc.c | 36 fd_acc_destroy_query(struct fd_context *ctx, struct fd_query *q) assert_dt in fd_acc_destroy_query() 50 realloc_query_bo(struct fd_context *ctx, struct fd_acc_query *aq) in realloc_query_bo() 98 fd_acc_begin_query(struct fd_context *ctx, struct fd_query *q) assert_dt in fd_acc_begin_query() 126 fd_acc_end_query(struct fd_context *ctx, struct fd_query *q) assert_dt in fd_acc_end_query() 139 fd_acc_get_query_result(struct fd_context *ctx, struct fd_query *q, bool wait, in fd_acc_get_query_result() 189 fd_acc_create_query2(struct fd_context *ctx, unsigned query_type, in fd_acc_create_query2() 216 fd_acc_create_query(struct fd_context *ctx, unsigned query_type, unsigned index) in fd_acc_create_query() 234 struct fd_context *ctx = batch->ctx; in fd_acc_query_update_batch() 258 struct fd_context *ctx = fd_context(pctx); in fd_acc_query_register_provider()
|
D | freedreno_fence.c | 161 fence_create(struct fd_context *ctx, struct fd_batch *batch, int fence_fd, in fence_create() 189 struct fd_context *ctx = fd_context(pctx); in fd_create_fence_fd() 194 fence_create(fd_context(pctx), NULL, os_dupfd_cloexec(fd), 0); in fd_create_fence_fd() 205 *pfence = fence_create(fd_context(pctx), NULL, -1, syncobj); in fd_create_fence_fd() 216 struct fd_context *ctx = fd_context(pctx); in fd_fence_server_sync() 241 struct fd_context *ctx = fd_context(pctx); in fd_fence_server_signal() 301 fence_create(fd_context(pctx), NULL, -1, 0); in fd_fence_create_unflushed()
|
D | freedreno_state.h | 34 fd_depth_enabled(struct fd_context *ctx) assert_dt in fd_depth_enabled() 40 fd_depth_write_enabled(struct fd_context *ctx) assert_dt in fd_depth_write_enabled() 46 fd_stencil_enabled(struct fd_context *ctx) assert_dt in fd_stencil_enabled() 52 fd_blend_enabled(struct fd_context *ctx, unsigned n) assert_dt in fd_blend_enabled() 58 fd_depth_clamp_enabled(struct fd_context *ctx) assert_dt in fd_depth_clamp_enabled()
|
D | freedreno_query.h | 36 struct fd_context; 40 void (*destroy_query)(struct fd_context *ctx, struct fd_query *q) dt; 41 void (*begin_query)(struct fd_context *ctx, struct fd_query *q) dt; 42 void (*end_query)(struct fd_context *ctx, struct fd_query *q) dt; 43 bool (*get_query_result)(struct fd_context *ctx, struct fd_query *q,
|
D | freedreno_query.c | 43 struct fd_context *ctx = fd_context(pctx); in fd_create_query() 58 q->funcs->destroy_query(fd_context(pctx), q); in fd_destroy_query() 66 q->funcs->begin_query(fd_context(pctx), q); in fd_begin_query() 82 q->funcs->end_query(fd_context(pctx), q); in fd_end_query() 95 return q->funcs->get_query_result(fd_context(pctx), q, wait, result); in fd_get_query_result() 102 struct fd_context *ctx = fd_context(pctx); in fd_render_condition() 180 struct fd_context *ctx = fd_context(pctx); in fd_set_active_query_state()
|
D | freedreno_query_hw.h | 79 void (*enable)(struct fd_context *ctx, struct fd_ringbuffer *ring) dt; 88 void (*accumulate_result)(struct fd_context *ctx, const void *start, 135 struct fd_query *fd_hw_create_query(struct fd_context *ctx, unsigned query_type, 140 void __fd_hw_sample_destroy(struct fd_context *ctx, struct fd_hw_sample *samp); 154 fd_hw_sample_reference(struct fd_context *ctx, struct fd_hw_sample **ptr, in fd_hw_sample_reference()
|
D | freedreno_query_sw.c | 44 fd_sw_destroy_query(struct fd_context *ctx, struct fd_query *q) in fd_sw_destroy_query() 51 read_counter(struct fd_context *ctx, int type) assert_dt in read_counter() 112 fd_sw_begin_query(struct fd_context *ctx, struct fd_query *q) assert_dt in fd_sw_begin_query() 127 fd_sw_end_query(struct fd_context *ctx, struct fd_query *q) assert_dt in fd_sw_end_query() 143 fd_sw_get_query_result(struct fd_context *ctx, struct fd_query *q, bool wait, in fd_sw_get_query_result() 171 fd_sw_create_query(struct fd_context *ctx, unsigned query_type, unsigned index) in fd_sw_create_query()
|
D | freedreno_perfetto.cc | 128 struct fd_context *ctx = fd_context(pctx); in stage_start() 137 struct fd_context *ctx = fd_context(pctx); in stage_end() 254 sync_timestamp(struct fd_context *ctx) in sync_timestamp() 297 emit_submit_id(struct fd_context *ctx) in emit_submit_id() 312 fd_perfetto_submit(struct fd_context *ctx) in fd_perfetto_submit() 330 struct fd_perfetto_state *p = &fd_context(pctx)->perfetto; in fd_start_render_pass() 375 fd_context(pctx)->perfetto.nbins ? GMEM_STAGE_ID : BYPASS_STAGE_ID); in fd_start_draw_ib() 385 fd_context(pctx)->perfetto.nbins ? GMEM_STAGE_ID : BYPASS_STAGE_ID); in fd_end_draw_ib()
|
D | freedreno_blitter.c | 80 fd_blitter_pipe_begin(struct fd_context *ctx, bool render_cond) assert_dt in fd_blitter_pipe_begin() 114 fd_blitter_pipe_end(struct fd_context *ctx) assert_dt in fd_blitter_pipe_end() 119 fd_blitter_blit(struct fd_context *ctx, const struct pipe_blit_info *info) in fd_blitter_blit() 192 struct fd_context *ctx = fd_context(pctx); in fd_blitter_clear() 289 struct fd_context *ctx = fd_context(pctx); in fd_blit() 317 fd_blitter_pipe_copy_region(struct fd_context *ctx, struct pipe_resource *dst, in fd_blitter_pipe_copy_region() 354 struct fd_context *ctx = fd_context(pctx); in fd_resource_copy_region()
|
D | freedreno_batch.h | 65 struct fd_context *ctx; 272 struct fd_batch *fd_batch_create(struct fd_context *ctx, bool nondraw); 328 struct fd_context *ctx = old_batch ? old_batch->ctx : NULL; in fd_batch_reference() 377 struct fd_context *ctx = batch->ctx; in fd_batch_update_queries() 386 struct fd_context *ctx = batch->ctx; in fd_batch_finish_queries()
|
D | freedreno_resource.c | 70 rebind_resource_in_ctx(struct fd_context *ctx, in rebind_resource_in_ctx() 160 list_for_each_entry (struct fd_context, ctx, &screen->context_list, node) in rebind_resource() 177 __fd_resource_wait(struct fd_context *ctx, struct fd_resource *rsc, unsigned op, in __fd_resource_wait() 231 do_blit(struct fd_context *ctx, const struct pipe_blit_info *blit, in do_blit() 260 struct fd_context *ctx = fd_context(pctx); in fd_replace_buffer_storage() 331 static void flush_resource(struct fd_context *ctx, struct fd_resource *rsc, 355 fd_try_shadow_resource(struct fd_context *ctx, struct fd_resource *rsc, in fd_try_shadow_resource() 550 fd_resource_uncompress(struct fd_context *ctx, struct fd_resource *rsc, bool linear) in fd_resource_uncompress() 574 fd_alloc_staging(struct fd_context *ctx, struct fd_resource *rsc, in fd_alloc_staging() 615 fd_blit_from_staging(struct fd_context *ctx, in fd_blit_from_staging() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_query.c | 85 occlusion_counter_accumulate_result(struct fd_context *ctx, const void *start, in occlusion_counter_accumulate_result() 94 occlusion_predicate_accumulate_result(struct fd_context *ctx, const void *start, in occlusion_predicate_accumulate_result() 110 time_elapsed_enable(struct fd_context *ctx, in time_elapsed_enable() 219 time_elapsed_accumulate_result(struct fd_context *ctx, const void *start, in time_elapsed_accumulate_result() 228 timestamp_accumulate_result(struct fd_context *ctx, const void *start, in timestamp_accumulate_result() 282 struct fd_context *ctx = fd_context(pctx); in fd4_query_context_init()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_texture.c | 101 so->seqno = ++fd6_context(fd_context(pctx))->tex_seqno; in fd6_sampler_state_create() 136 struct fd_context *ctx = fd_context(pctx); in fd6_sampler_state_delete() 184 struct fd_context *ctx = fd_context(pctx); in fd6_set_sampler_views() 208 fd6_sampler_view_update(struct fd_context *ctx, in fd6_sampler_view_update() 345 struct fd_context *ctx = fd_context(pctx); in fd6_sampler_view_destroy() 385 fd6_texture_state(struct fd_context *ctx, enum pipe_shader_type type, in fd6_texture_state() 471 fd6_rebind_resource(struct fd_context *ctx, struct fd_resource *rsc) assert_dt in fd6_rebind_resource() 495 struct fd_context *ctx = fd_context(pctx); in fd6_texture_init() 514 struct fd_context *ctx = fd_context(pctx); in fd6_texture_fini()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_emit.h | 43 void fd2_emit_state_binning(struct fd_context *ctx, 45 void fd2_emit_state(struct fd_context *ctx, 47 void fd2_emit_restore(struct fd_context *ctx, struct fd_ringbuffer *ring);
|
D | fd2_texture.c | 131 struct fd_context *ctx = fd_context(pctx); in fd2_sampler_states_bind() 211 struct fd_context *ctx = fd_context(pctx); in fd2_set_sampler_views() 237 fd2_get_const_idx(struct fd_context *ctx, struct fd_texture_stateobj *tex, in fd2_get_const_idx()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_context.h | 37 struct fd_context base; 68 fd5_context(struct fd_context *ctx) in fd5_context() 78 fd5_emit_flush(struct fd_context *ctx, struct fd_ringbuffer *ring) in fd5_emit_flush()
|
D | fd5_emit.h | 125 fd5_set_render_mode(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd5_set_render_mode() 162 fd5_emit_render_cntl(struct fd_context *ctx, bool blit, bool binning) assert_dt in fd5_emit_render_cntl() 207 void fd5_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring, 210 void fd5_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring, 213 struct fd_ringbuffer *ring, struct fd_context *ctx,
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_query.c | 100 occlusion_counter_accumulate_result(struct fd_context *ctx, const void *start, in occlusion_counter_accumulate_result() 109 occlusion_predicate_accumulate_result(struct fd_context *ctx, const void *start, in occlusion_predicate_accumulate_result() 138 struct fd_context *ctx = fd_context(pctx); in fd3_query_context_init()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_gallium.c | 69 initial_variants_synchronous(struct fd_context *ctx) in initial_variants_synchronous() 272 struct fd_context *ctx = fd_context(pctx); in ir3_shader_compute_state_create() 327 struct fd_context *ctx = fd_context(pctx); in ir3_shader_state_create() 379 struct fd_context *ctx = fd_context(pctx); in ir3_shader_state_delete() 445 struct fd_context *ctx = fd_context(pctx); in ir3_fixup_shader_state() 554 ir3_update_max_tf_vtx(struct fd_context *ctx, in ir3_update_max_tf_vtx()
|