Home
last modified time | relevance | path

Searched refs:fd_context (Results 1 – 25 of 72) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_state.c52 struct fd_context *ctx = fd_context(pctx); in fd_set_blend_color()
61 struct fd_context *ctx = fd_context(pctx); in fd_set_stencil_ref()
70 struct fd_context *ctx = fd_context(pctx); in fd_set_clip_state()
78 struct fd_context *ctx = fd_context(pctx); in fd_set_sample_mask()
96 struct fd_context *ctx = fd_context(pctx); in fd_set_constant_buffer()
122 struct fd_context *ctx = fd_context(pctx); in fd_set_shader_buffers()
170 struct fd_context *ctx = fd_context(pctx); in fd_set_shader_images()
215 struct fd_context *ctx = fd_context(pctx); in fd_set_framebuffer_state()
266 struct fd_context *ctx = fd_context(pctx); in fd_set_polygon_stipple()
277 struct fd_context *ctx = fd_context(pctx); in fd_set_scissor_states()
[all …]
Dfreedreno_context.h161 struct fd_context { struct
306 bool (*draw_vbo)(struct fd_context *ctx, const struct pipe_draw_info *info, argument
308 bool (*clear)(struct fd_context *ctx, unsigned buffers, argument
312 void (*launch_grid)(struct fd_context *ctx, const struct pipe_grid_info *info); argument
326 struct fd_query * (*create_query)(struct fd_context *ctx, unsigned query_type); argument
333 void (*blit)(struct fd_context *ctx, const struct pipe_blit_info *info); argument
362 static inline struct fd_context * argument
363 fd_context(struct pipe_context *pctx) in fd_context() function
365 return (struct fd_context *)pctx; in fd_context()
369 fd_context_assert_locked(struct fd_context *ctx) in fd_context_assert_locked()
[all …]
Dfreedreno_batch_cache.h34 struct fd_context;
65 void fd_bc_flush(struct fd_batch_cache *cache, struct fd_context *ctx);
66 void fd_bc_flush_deferred(struct fd_batch_cache *cache, struct fd_context *ctx);
68 void fd_bc_invalidate_context(struct fd_context *ctx);
71 struct fd_batch * fd_bc_alloc_batch(struct fd_batch_cache *cache, struct fd_context *ctx);
74 struct fd_context *ctx, const struct pipe_framebuffer_state *pfb);
Dfreedreno_query.c45 struct fd_context *ctx = fd_context(pctx); in fd_create_query()
59 q->funcs->destroy_query(fd_context(pctx), q); in fd_destroy_query()
71 ret = q->funcs->begin_query(fd_context(pctx), q); in fd_begin_query()
91 q->funcs->end_query(fd_context(pctx), q); in fd_end_query()
108 return q->funcs->get_query_result(fd_context(pctx), q, wait, result); in fd_get_query_result()
115 struct fd_context *ctx = fd_context(pctx); in fd_render_condition()
Dfreedreno_program.c38 struct fd_context *ctx = fd_context(pctx); in fd_fp_state_bind()
47 struct fd_context *ctx = fd_context(pctx); in fd_vp_state_bind()
128 struct fd_context *ctx = fd_context(pctx); in fd_prog_init()
156 struct fd_context *ctx = fd_context(pctx); in fd_prog_fini()
Dfreedreno_query_hw.c47 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) in fd_hw_begin_query()
159 fd_hw_end_query(struct fd_context *ctx, struct fd_query *q) in fd_hw_end_query()
180 fd_hw_get_query_result(struct fd_context *ctx, struct fd_query *q, in fd_hw_get_query_result()
271 fd_hw_create_query(struct fd_context *ctx, unsigned query_type) in fd_hw_create_query()
335 __fd_hw_sample_destroy(struct fd_context *ctx, struct fd_hw_sample *samp) in __fd_hw_sample_destroy()
407 struct fd_context *ctx = batch->ctx; in fd_hw_query_enable()
422 struct fd_context *ctx = fd_context(pctx); in fd_hw_query_register_provider()
[all …]
Dfreedreno_batch.h36 struct fd_context;
75 struct fd_context *ctx;
207 struct fd_batch * fd_batch_create(struct fd_context *ctx, bool nondraw);
242 static inline void fd_context_assert_locked(struct fd_context *ctx);
243 static inline void fd_context_lock(struct fd_context *ctx);
244 static inline void fd_context_unlock(struct fd_context *ctx);
258 struct fd_context *ctx = old_batch->ctx; in fd_batch_reference_locked()
Dfreedreno_context.c47 struct fd_context *ctx = fd_context(pctx); in fd_context_flush()
88 struct fd_context *ctx = fd_context(pctx); in fd_emit_string_marker()
121 struct fd_context *ctx = fd_context(pctx); in fd_context_destroy()
172 struct fd_context *ctx = fd_context(pctx); in fd_set_debug_callback()
208 fd_context_setup_common_vbos(struct fd_context *ctx) in fd_context_setup_common_vbos()
245 fd_context_cleanup_common_vbos(struct fd_context *ctx) in fd_context_cleanup_common_vbos()
257 fd_context_init(struct fd_context *ctx, struct pipe_screen *pscreen, in fd_context_init()
Dfreedreno_query.h34 struct fd_context;
38 void (*destroy_query)(struct fd_context *ctx,
40 boolean (*begin_query)(struct fd_context *ctx, struct fd_query *q);
41 void (*end_query)(struct fd_context *ctx, struct fd_query *q);
42 boolean (*get_query_result)(struct fd_context *ctx,
Dfreedreno_query_acc.c43 fd_acc_destroy_query(struct fd_context *ctx, struct fd_query *q) in fd_acc_destroy_query()
56 realloc_query_bo(struct fd_context *ctx, struct fd_acc_query *aq) in realloc_query_bo()
77 fd_acc_begin_query(struct fd_context *ctx, struct fd_query *q) in fd_acc_begin_query()
100 fd_acc_end_query(struct fd_context *ctx, struct fd_query *q) in fd_acc_end_query()
116 fd_acc_get_query_result(struct fd_context *ctx, struct fd_query *q, in fd_acc_get_query_result()
174 fd_acc_create_query(struct fd_context *ctx, unsigned query_type) in fd_acc_create_query()
223 struct fd_context *ctx = fd_context(pctx); in fd_acc_query_register_provider()
Dfreedreno_query_sw.c46 fd_sw_destroy_query(struct fd_context *ctx, struct fd_query *q) in fd_sw_destroy_query()
53 read_counter(struct fd_context *ctx, int type) in read_counter()
98 fd_sw_begin_query(struct fd_context *ctx, struct fd_query *q) in fd_sw_begin_query()
108 fd_sw_end_query(struct fd_context *ctx, struct fd_query *q) in fd_sw_end_query()
117 fd_sw_get_query_result(struct fd_context *ctx, struct fd_query *q, in fd_sw_get_query_result()
141 fd_sw_create_query(struct fd_context *ctx, unsigned query_type) in fd_sw_create_query()
Dfreedreno_query_hw.h82 void (*enable)(struct fd_context *ctx, struct fd_ringbuffer *ring);
91 void (*accumulate_result)(struct fd_context *ctx,
141 struct fd_query * fd_hw_create_query(struct fd_context *ctx, unsigned query_type);
145 void __fd_hw_sample_destroy(struct fd_context *ctx, struct fd_hw_sample *samp);
157 fd_hw_sample_reference(struct fd_context *ctx, in fd_hw_sample_reference()
Dfreedreno_state.h35 static inline bool fd_depth_enabled(struct fd_context *ctx) in fd_depth_enabled()
40 static inline bool fd_stencil_enabled(struct fd_context *ctx) in fd_stencil_enabled()
45 static inline bool fd_logicop_enabled(struct fd_context *ctx) in fd_logicop_enabled()
50 static inline bool fd_blend_enabled(struct fd_context *ctx, unsigned n) in fd_blend_enabled()
Dfreedreno_fence.c44 struct fd_context *ctx;
102 static struct pipe_fence_handle * fence_create(struct fd_context *ctx, in fence_create()
125 *pfence = fence_create(fd_context(pctx), NULL, 0, dup(fd)); in fd_create_fence_fd()
131 struct fd_context *ctx = fd_context(pctx); in fd_fence_server_sync()
Dfreedreno_resource.c58 rebind_resource(struct fd_context *ctx, struct pipe_resource *prsc) in rebind_resource()
118 do_blit(struct fd_context *ctx, const struct pipe_blit_info *blit, bool fallback) in do_blit()
136 fd_try_shadow_resource(struct fd_context *ctx, struct fd_resource *rsc, in fd_try_shadow_resource()
282 fd_alloc_staging(struct fd_context *ctx, struct fd_resource *rsc, in fd_alloc_staging()
304 fd_blit_from_staging(struct fd_context *ctx, struct fd_transfer *trans) in fd_blit_from_staging()
324 fd_blit_to_staging(struct fd_context *ctx, struct fd_transfer *trans) in fd_blit_to_staging()
367 flush_resource(struct fd_context *ctx, struct fd_resource *rsc, unsigned usage) in flush_resource()
408 flush_resource(fd_context(pctx), fd_resource(prsc), PIPE_TRANSFER_READ); in fd_flush_resource()
415 struct fd_context *ctx = fd_context(pctx); in fd_resource_transfer_unmap()
444 struct fd_context *ctx = fd_context(pctx); in fd_resource_transfer_map()
[all …]
Dfreedreno_texture.c92 struct fd_context *ctx = fd_context(pctx); in fd_sampler_states_bind()
104 struct fd_context *ctx = fd_context(pctx); in fd_set_sampler_views()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_query.c89 occlusion_counter_accumulate_result(struct fd_context *ctx, in occlusion_counter_accumulate_result()
98 occlusion_predicate_accumulate_result(struct fd_context *ctx, in occlusion_predicate_accumulate_result()
114 time_elapsed_enable(struct fd_context *ctx, struct fd_ringbuffer *ring) in time_elapsed_enable()
218 time_elapsed_accumulate_result(struct fd_context *ctx, in time_elapsed_accumulate_result()
228 timestamp_accumulate_result(struct fd_context *ctx, in timestamp_accumulate_result()
285 struct fd_context *ctx = fd_context(pctx); in fd4_query_context_init()
Dfd4_draw.c46 draw_impl(struct fd_context *ctx, struct fd_ringbuffer *ring, in draw_impl()
81 fixup_shader_state(struct fd_context *ctx, struct ir3_shader_key *key) in fixup_shader_state()
102 fd4_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info, in fd4_draw_vbo()
182 struct fd_context *ctx = fd_context(pctx); in fd4_draw_init()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_query.c114 occlusion_counter_result(struct fd_context *ctx, void *buf, in occlusion_counter_result()
122 occlusion_predicate_result(struct fd_context *ctx, void *buf, in occlusion_predicate_result()
199 ticks_to_ns(struct fd_context *ctx, uint32_t ts) in ticks_to_ns()
209 time_elapsed_accumulate_result(struct fd_context *ctx, void *buf, in time_elapsed_accumulate_result()
217 timestamp_accumulate_result(struct fd_context *ctx, void *buf, in timestamp_accumulate_result()
252 struct fd_context *ctx = fd_context(pctx); in fd5_query_context_init()
Dfd5_emit.h114 fd5_set_render_mode(struct fd_context *ctx, struct fd_ringbuffer *ring, in fd5_set_render_mode()
130 fd5_emit_blit(struct fd_context *ctx, struct fd_ringbuffer *ring) in fd5_emit_blit()
145 fd5_emit_render_cntl(struct fd_context *ctx, bool blit, bool binning) in fd5_emit_render_cntl()
189 void fd5_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
192 void fd5_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
Dfd5_compute.c44 struct fd_context *ctx = fd_context(pctx); in fd5_create_compute_state()
124 emit_setup(struct fd_context *ctx) in emit_setup()
153 fd5_launch_grid(struct fd_context *ctx, const struct pipe_grid_info *info) in fd5_launch_grid()
214 struct fd_context *ctx = fd_context(pctx); in fd5_compute_init()
Dfd5_context.h39 struct fd_context base;
88 fd5_context(struct fd_context *ctx) in fd5_context()
98 fd5_emit_flush(struct fd_context *ctx, struct fd_ringbuffer *ring) in fd5_emit_flush()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_texture.c113 struct fd_context *ctx = fd_context(pctx); in fd2_sampler_states_bind()
160 struct fd_context *ctx = fd_context(pctx); in fd2_set_sampler_views()
185 fd2_get_const_idx(struct fd_context *ctx, struct fd_texture_stateobj *tex, in fd2_get_const_idx()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_draw.c57 draw_impl(struct fd_context *ctx, struct fd_ringbuffer *ring, in draw_impl()
97 fixup_shader_state(struct fd_context *ctx, struct ir3_shader_key *key) in fixup_shader_state()
118 fd3_draw_vbo(struct fd_context *ctx, const struct pipe_draw_info *info, in fd3_draw_vbo()
177 struct fd_context *ctx = fd_context(pctx); in fd3_draw_init()
Dfd3_query.c103 occlusion_counter_accumulate_result(struct fd_context *ctx, in occlusion_counter_accumulate_result()
112 occlusion_predicate_accumulate_result(struct fd_context *ctx, in occlusion_predicate_accumulate_result()
143 struct fd_context *ctx = fd_context(pctx); in fd3_query_context_init()

123