Home
last modified time | relevance | path

Searched refs:etna_context (Results 1 – 25 of 37) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_query_acc.h38 struct etna_acc_query * (*allocate)(struct etna_context *ctx, unsigned query_type);
40 void (*resume)(struct etna_acc_query *aq, struct etna_context *ctx);
41 void (*suspend)(struct etna_acc_query *aq, struct etna_context *ctx);
65 etna_acc_create_query(struct etna_context *ctx, unsigned query_type);
68 etna_acc_query_suspend(struct etna_acc_query *aq, struct etna_context *ctx) in etna_acc_query_suspend()
77 etna_acc_query_resume(struct etna_acc_query *aq, struct etna_context *ctx) in etna_acc_query_resume()
Detnaviv_query.c41 struct etna_context *ctx = etna_context(pctx); in etna_create_query()
56 q->funcs->destroy_query(etna_context(pctx), q); in etna_destroy_query()
64 q->funcs->begin_query(etna_context(pctx), q); in etna_begin_query()
74 q->funcs->end_query(etna_context(pctx), q); in etna_end_query()
87 return q->funcs->get_query_result(etna_context(pctx), q, wait, result); in etna_get_query_result()
125 struct etna_context *ctx = etna_context(pctx); in etna_set_active_query_state()
Detnaviv_texture.c49 struct etna_context *ctx = etna_context(pctx); in etna_bind_sampler_states()
150 struct etna_context *ctx = etna_context(view->context); in etna_update_sampler_source()
242 set_sampler_views(struct etna_context *ctx, unsigned start, unsigned end, in set_sampler_views()
270 etna_fragtex_set_sampler_views(struct etna_context *ctx, unsigned nr, in etna_fragtex_set_sampler_views()
283 etna_vertex_set_sampler_views(struct etna_context *ctx, unsigned nr, in etna_vertex_set_sampler_views()
298 struct etna_context *ctx = etna_context(pctx); in etna_set_sampler_views()
317 struct etna_context *ctx = etna_context(pctx); in etna_texture_barrier()
326 active_samplers_bits(struct etna_context *ctx) in active_samplers_bits()
334 struct etna_context *ctx = etna_context(pctx); in etna_texture_init()
Detnaviv_query.h33 struct etna_context;
37 void (*destroy_query)(struct etna_context *ctx, struct etna_query *q);
38 void (*begin_query)(struct etna_context *ctx, struct etna_query *q);
39 void (*end_query)(struct etna_context *ctx, struct etna_query *q);
40 bool (*get_query_result)(struct etna_context *ctx, struct etna_query *q,
Detnaviv_state.c53 struct etna_context *ctx = etna_context(pctx); in etna_set_stencil_ref()
76 struct etna_context *ctx = etna_context(pctx); in etna_set_sample_mask()
87 struct etna_context *ctx = etna_context(pctx); in etna_set_constant_buffer()
133 struct etna_context *ctx = etna_context(pctx); in etna_set_framebuffer_state()
378 struct etna_context *ctx = etna_context(pctx); in etna_set_scissor_states()
390 struct etna_context *ctx = etna_context(pctx); in etna_set_viewport_states()
431 struct etna_context *ctx = etna_context(pctx); in etna_set_vertex_buffers()
462 struct etna_context *ctx = etna_context(pctx); in etna_blend_state_bind()
477 struct etna_context *ctx = etna_context(pctx); in etna_rasterizer_state_bind()
492 struct etna_context *ctx = etna_context(pctx); in etna_zsa_state_bind()
[all …]
Detnaviv_query_sw.c37 etna_sw_destroy_query(struct etna_context *ctx, struct etna_query *q) in etna_sw_destroy_query()
45 read_counter(struct etna_context *ctx, unsigned type) in read_counter()
60 etna_sw_begin_query(struct etna_context *ctx, struct etna_query *q) in etna_sw_begin_query()
68 etna_sw_end_query(struct etna_context *ctx, struct etna_query *q) in etna_sw_end_query()
76 etna_sw_get_query_result(struct etna_context *ctx, struct etna_query *q, in etna_sw_get_query_result()
94 etna_sw_create_query(struct etna_context *ctx, unsigned query_type) in etna_sw_create_query()
Detnaviv_clear_blit.c49 etna_blit_save_state(struct etna_context *ctx) in etna_blit_save_state()
96 struct etna_context *ctx = etna_context(pctx); in etna_blit()
127 struct etna_context *ctx = etna_context(pctx); in etna_clear_render_target()
141 struct etna_context *ctx = etna_context(pctx); in etna_clear_depth_stencil()
156 struct etna_context *ctx = etna_context(pctx); in etna_resource_copy_region()
263 struct etna_context *ctx = etna_context(pctx); in etna_clear_blit_init()
Detnaviv_query_acc.c49 etna_acc_destroy_query(struct etna_context *ctx, struct etna_query *q) in etna_acc_destroy_query()
60 realloc_query_bo(struct etna_context *ctx, struct etna_acc_query *aq) in realloc_query_bo()
82 etna_acc_begin_query(struct etna_context *ctx, struct etna_query *q) in etna_acc_begin_query()
99 etna_acc_end_query(struct etna_context *ctx, struct etna_query *q) in etna_acc_end_query()
112 etna_acc_get_query_result(struct etna_context *ctx, struct etna_query *q, in etna_acc_get_query_result()
165 etna_acc_create_query(struct etna_context *ctx, unsigned query_type) in etna_acc_create_query()
Detnaviv_context.c70 struct etna_context *ctx = etna_context(pctx); in etna_emit_string_marker()
93 struct etna_context *ctx = etna_context(pctx); in etna_context_destroy()
165 etna_update_state_for_draw(struct etna_context *ctx, const struct pipe_draw_info *info) in etna_update_state_for_draw()
194 etna_get_vs(struct etna_context *ctx, struct etna_shader_key key) in etna_get_vs()
210 etna_get_fs(struct etna_context *ctx, struct etna_shader_key key) in etna_get_fs()
228 struct etna_context *ctx = etna_context(pctx); in etna_draw_vbo()
398 etna_reset_gpu_state(struct etna_context *ctx) in etna_reset_gpu_state()
470 struct etna_context *ctx = etna_context(pctx); in etna_flush()
542 struct etna_context *ctx = etna_context(pctx); in etna_set_debug_callback()
553 struct etna_context *ctx = CALLOC_STRUCT(etna_context); in etna_context_create()
Detnaviv_blend.c41 struct etna_context *ctx = etna_context(pctx); in etna_blend_state_create()
123 etna_update_blend(struct etna_context *ctx) in etna_update_blend()
161 struct etna_context *ctx = etna_context(pctx); in etna_set_blend_color()
170 etna_update_blend_color(struct etna_context *ctx) in etna_update_blend_color()
Detnaviv_state.h35 etna_depth_enabled(struct etna_context *ctx) in etna_depth_enabled()
41 etna_stencil_enabled(struct etna_context *ctx) in etna_stencil_enabled()
47 etna_state_update(struct etna_context *ctx);
Detnaviv_context.h109 struct etna_context { struct
113 void (*emit_texture_state)(struct etna_context *pctx); argument
212 static inline struct etna_context * argument
213 etna_context(struct pipe_context *pctx) in etna_context() function
215 return (struct etna_context *)pctx; in etna_context()
Detnaviv_blend.h33 struct etna_context;
57 etna_update_blend(struct etna_context *ctx);
63 etna_update_blend_color(struct etna_context *ctx);
Detnaviv_clear_blit.h32 struct etna_context;
38 etna_rs_gen_clear_surface(struct etna_context *ctx, struct etna_surface *surf,
51 etna_blit_save_state(struct etna_context *ctx);
Detnaviv_fence.c90 struct etna_context *ctx = etna_context(pctx); in etna_fence_server_sync()
107 struct etna_context *ctx = etna_context(pctx); in etna_fence_create()
Detnaviv_shader.h33 struct etna_context;
78 etna_shader_link(struct etna_context *ctx);
81 etna_shader_update_vertex(struct etna_context *ctx);
Detnaviv_resource.h39 struct etna_context;
155 etna_resource_used(struct etna_context *ctx, struct pipe_resource *prsc,
159 resource_read(struct etna_context *ctx, struct pipe_resource *prsc) in resource_read()
165 resource_written(struct etna_context *ctx, struct pipe_resource *prsc) in resource_written()
Detnaviv_query_acc_perfmon.c60 pm_query(struct etna_context *ctx, struct etna_acc_query *aq, unsigned flags) in pm_query()
102 perfmon_allocate(struct etna_context *ctx, unsigned query_type) in perfmon_allocate()
124 perfmon_resume(struct etna_acc_query *aq, struct etna_context *ctx) in perfmon_resume()
130 perfmon_suspend(struct etna_acc_query *aq, struct etna_context *ctx) in perfmon_suspend()
Detnaviv_query_acc_occlusion.c61 occlusion_allocate(struct etna_context *ctx, ASSERTED unsigned query_type) in occlusion_allocate()
67 occlusion_resume(struct etna_acc_query *aq, struct etna_context *ctx) in occlusion_resume()
87 occlusion_suspend(struct etna_acc_query *aq, struct etna_context *ctx) in occlusion_suspend()
Detnaviv_shader.c44 static bool etna_icache_upload_shader(struct etna_context *ctx, struct etna_shader_variant *v) in etna_icache_upload_shader()
119 etna_link_shaders(struct etna_context *ctx, struct compiled_shader_state *cs, in etna_link_shaders()
290 etna_shader_link(struct etna_context *ctx) in etna_shader_link()
397 etna_shader_update_vertex(struct etna_context *ctx) in etna_shader_update_vertex()
459 struct etna_context *ctx = etna_context(pctx); in etna_create_shader_state()
515 struct etna_context *ctx = etna_context(pctx); in etna_bind_fs_state()
524 struct etna_context *ctx = etna_context(pctx); in etna_bind_vs_state()
Detnaviv_uniforms.h32 struct etna_context;
37 etna_uniforms_write(const struct etna_context *ctx,
Detnaviv_texture.h35 struct etna_context;
63 active_samplers_bits(struct etna_context *ctx);
Detnaviv_rs.c69 etna_compile_rs_state(struct etna_context *ctx, struct compiled_rs_state *cs, in etna_compile_rs_state()
191 etna_submit_rs_state(struct etna_context *ctx, in etna_submit_rs_state()
269 etna_rs_gen_clear_surface(struct etna_context *ctx, struct etna_surface *surf, in etna_rs_gen_clear_surface()
317 struct etna_context *ctx = etna_context(pctx); in etna_blit_clear_color_rs()
350 struct etna_context *ctx = etna_context(pctx); in etna_blit_clear_zs_rs()
413 struct etna_context *ctx = etna_context(pctx); in etna_clear_rs()
539 etna_get_rs_alignment_mask(const struct etna_context *ctx, in etna_get_rs_alignment_mask()
586 struct etna_context *ctx = etna_context(pctx); in etna_try_rs_blit()
838 struct etna_context *ctx = etna_context(pctx); in etna_clear_blit_rs_init()
Detnaviv_uniforms.c37 get_const_idx(const struct etna_context *ctx, bool frag, unsigned samp_id) in get_const_idx()
48 get_texrect_scale(const struct etna_context *ctx, bool frag, in get_texrect_scale()
64 etna_uniforms_write(const struct etna_context *ctx, in etna_uniforms_write()
Detnaviv_surface.c45 struct etna_context *ctx = etna_context(pctx); in etna_render_handle_incompatible()
80 struct etna_context *ctx = etna_context(pctx); in etna_create_surface()

12