Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_query_hw.h37 void (*start)(struct etna_hw_query *hq, struct etna_context *ctx);
38 void (*stop)(struct etna_hw_query *hq, struct etna_context *ctx);
39 void (*suspend)(struct etna_hw_query *hq, struct etna_context *ctx);
40 void (*resume)(struct etna_hw_query *hq, struct etna_context *ctx);
64 etna_hw_create_query(struct etna_context *ctx, unsigned query_type);
67 etna_hw_query_suspend(struct etna_hw_query *hq, struct etna_context *ctx) in etna_hw_query_suspend()
78 etna_hw_query_resume(struct etna_hw_query *hq, struct etna_context *ctx) in etna_hw_query_resume()
Detnaviv_state.c48 struct etna_context *ctx = etna_context(pctx); in etna_set_stencil_ref()
69 struct etna_context *ctx = etna_context(pctx); in etna_set_sample_mask()
80 struct etna_context *ctx = etna_context(pctx); in etna_set_constant_buffer()
117 struct etna_context *ctx = etna_context(pctx); in etna_set_framebuffer_state()
343 struct etna_context *ctx = etna_context(pctx); in etna_set_scissor_states()
364 struct etna_context *ctx = etna_context(pctx); in etna_set_viewport_states()
409 struct etna_context *ctx = etna_context(pctx); in etna_set_vertex_buffers()
440 struct etna_context *ctx = etna_context(pctx); in etna_blend_state_bind()
455 struct etna_context *ctx = etna_context(pctx); in etna_rasterizer_state_bind()
470 struct etna_context *ctx = etna_context(pctx); in etna_zsa_state_bind()
[all …]
Detnaviv_query_hw.c46 occlusion_start(struct etna_hw_query *hq, struct etna_context *ctx) in occlusion_start()
65 occlusion_stop(struct etna_hw_query *hq, struct etna_context *ctx) in occlusion_stop()
72 occlusion_suspend(struct etna_hw_query *hq, struct etna_context *ctx) in occlusion_suspend()
78 occlusion_resume(struct etna_hw_query *hq, struct etna_context *ctx) in occlusion_resume()
101 etna_hw_destroy_query(struct etna_context *ctx, struct etna_query *q) in etna_hw_destroy_query()
120 realloc_query_bo(struct etna_context *ctx, struct etna_hw_query *hq) in realloc_query_bo()
142 etna_hw_begin_query(struct etna_context *ctx, struct etna_query *q) in etna_hw_begin_query()
160 etna_hw_end_query(struct etna_context *ctx, struct etna_query *q) in etna_hw_end_query()
172 etna_hw_get_query_result(struct etna_context *ctx, struct etna_query *q, in etna_hw_get_query_result()
240 etna_hw_create_query(struct etna_context *ctx, unsigned query_type) in etna_hw_create_query()
Detnaviv_texture.c48 struct etna_context *ctx = etna_context(pctx); in etna_bind_sampler_states()
135 struct etna_context *ctx = etna_context(view->context); in etna_update_sampler_source()
218 set_sampler_views(struct etna_context *ctx, unsigned start, unsigned end, in set_sampler_views()
244 etna_fragtex_set_sampler_views(struct etna_context *ctx, unsigned nr, in etna_fragtex_set_sampler_views()
256 etna_vertex_set_sampler_views(struct etna_context *ctx, unsigned nr, in etna_vertex_set_sampler_views()
270 struct etna_context *ctx = etna_context(pctx); in etna_set_sampler_views()
294 struct etna_context *ctx = etna_context(pctx); in etna_texture_barrier()
301 active_samplers_bits(struct etna_context *ctx) in active_samplers_bits()
Detnaviv_query.h33 struct etna_context;
37 void (*destroy_query)(struct etna_context *ctx, struct etna_query *q);
38 boolean (*begin_query)(struct etna_context *ctx, struct etna_query *q);
39 void (*end_query)(struct etna_context *ctx, struct etna_query *q);
40 boolean (*get_query_result)(struct etna_context *ctx, struct etna_query *q,
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()
70 etna_sw_end_query(struct etna_context *ctx, struct etna_query *q) in etna_sw_end_query()
78 etna_sw_get_query_result(struct etna_context *ctx, struct etna_query *q, in etna_sw_get_query_result()
96 etna_sw_create_query(struct etna_context *ctx, unsigned query_type) in etna_sw_create_query()
Detnaviv_query.c40 struct etna_context *ctx = etna_context(pctx); in etna_create_query()
55 q->funcs->destroy_query(etna_context(pctx), q); in etna_destroy_query()
67 ret = q->funcs->begin_query(etna_context(pctx), q); in etna_begin_query()
81 q->funcs->end_query(etna_context(pctx), q); in etna_end_query()
98 return q->funcs->get_query_result(etna_context(pctx), q, wait, result); in etna_get_query_result()
Detnaviv_context.c61 struct etna_context *ctx = etna_context(pctx); in etna_context_destroy()
85 etna_update_state_for_draw(struct etna_context *ctx, const struct pipe_draw_info *info) in etna_update_state_for_draw()
114 etna_get_vs(struct etna_context *ctx, struct etna_shader_key key) in etna_get_vs()
130 etna_get_fs(struct etna_context *ctx, struct etna_shader_key key) in etna_get_fs()
148 struct etna_context *ctx = etna_context(pctx); in etna_draw_vbo()
311 struct etna_context *ctx = etna_context(pctx); in etna_flush()
331 struct etna_context *ctx = priv; in etna_cmd_stream_reset_notify()
403 struct etna_context *ctx = etna_context(pctx); in etna_set_debug_callback()
414 struct etna_context *ctx = CALLOC_STRUCT(etna_context); in etna_context_create()
Detnaviv_fence.c39 struct etna_context *ctx;
88 struct etna_context *ctx = etna_context(pctx); in etna_fence_server_sync()
104 struct etna_context *ctx = etna_context(pctx); in etna_fence_create()
Detnaviv_clear_blit.c49 etna_blit_save_state(struct etna_context *ctx) in etna_blit_save_state()
86 struct etna_context *ctx = etna_context(pctx); in etna_clear_render_target()
100 struct etna_context *ctx = etna_context(pctx); in etna_clear_depth_stencil()
115 struct etna_context *ctx = etna_context(pctx); in etna_resource_copy_region()
220 struct etna_context *ctx = etna_context(pctx); in etna_clear_blit_init()
Detnaviv_blend.c40 struct etna_context *ctx = etna_context(pctx); in etna_blend_state_create()
111 etna_update_blend(struct etna_context *ctx) in etna_update_blend()
146 struct etna_context *ctx = etna_context(pctx); in etna_set_blend_color()
155 etna_update_blend_color(struct etna_context *ctx) in etna_update_blend_color()
Detnaviv_shader.c40 static bool etna_icache_upload_shader(struct etna_context *ctx, struct etna_shader_variant *v) in etna_icache_upload_shader()
65 etna_link_shaders(struct etna_context *ctx, struct compiled_shader_state *cs, in etna_link_shaders()
223 etna_shader_link(struct etna_context *ctx) in etna_shader_link()
233 etna_shader_update_vs_inputs(struct etna_context *ctx, in etna_shader_update_vs_inputs()
313 etna_shader_update_vertex(struct etna_context *ctx) in etna_shader_update_vertex()
371 struct etna_context *ctx = etna_context(pctx); in etna_create_shader_state()
416 struct etna_context *ctx = etna_context(pctx); in etna_bind_fs_state()
425 struct etna_context *ctx = etna_context(pctx); in etna_bind_vs_state()
Detnaviv_context.h101 struct etna_context { struct
105 void (*emit_texture_state)(struct etna_context *pctx); argument
195 static inline struct etna_context * argument
196 etna_context(struct pipe_context *pctx) in etna_context() function
198 return (struct etna_context *)pctx; in etna_context()
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_resource.h89 struct etna_context *pending_ctx;
133 etna_resource_used(struct etna_context *ctx, struct pipe_resource *prsc,
137 resource_read(struct etna_context *ctx, struct pipe_resource *prsc) in resource_read()
143 resource_written(struct etna_context *ctx, struct pipe_resource *prsc) in resource_written()
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_shader.h32 struct etna_context;
70 etna_shader_link(struct etna_context *ctx);
73 etna_shader_update_vertex(struct etna_context *ctx);
Detnaviv_uniforms.c36 get_const_idx(const struct etna_context *ctx, bool frag, unsigned samp_id) in get_const_idx()
45 get_texrect_scale(const struct etna_context *ctx, bool frag, in get_texrect_scale()
61 etna_uniforms_write(const struct etna_context *ctx, in etna_uniforms_write()
Detnaviv_rs.c56 etna_compile_rs_state(struct etna_context *ctx, struct compiled_rs_state *cs, in etna_compile_rs_state()
177 etna_submit_rs_state(struct etna_context *ctx, in etna_submit_rs_state()
255 etna_rs_gen_clear_surface(struct etna_context *ctx, struct etna_surface *surf, in etna_rs_gen_clear_surface()
292 struct etna_context *ctx = etna_context(pctx); in etna_blit_clear_color_rs()
324 struct etna_context *ctx = etna_context(pctx); in etna_blit_clear_zs_rs()
387 struct etna_context *ctx = etna_context(pctx); in etna_clear_rs()
511 etna_get_rs_alignment_mask(const struct etna_context *ctx, in etna_get_rs_alignment_mask()
534 struct etna_context *ctx = etna_context(pctx); in etna_try_rs_blit()
767 struct etna_context *ctx = etna_context(pctx); in etna_blit_rs()
Detnaviv_uniforms.h32 struct etna_context;
37 etna_uniforms_write(const struct etna_context *ctx,
Detnaviv_texture.h35 struct etna_context;
61 active_samplers_bits(struct etna_context *ctx);
Detnaviv_blt.c203 struct etna_context *ctx = etna_context(pctx); in etna_blit_clear_color_blt()
256 struct etna_context *ctx = etna_context(pctx); in etna_blit_clear_zs_blt()
332 struct etna_context *ctx = etna_context(pctx); in etna_clear_blt()
360 struct etna_context *ctx = etna_context(pctx); in etna_try_blt_blit()
523 struct etna_context *ctx = etna_context(pctx); in etna_blit_blt()
Detnaviv_texture_state.c87 struct etna_context *ctx = etna_context(pctx); in etna_create_sampler_view_state()
191 etna_emit_texture_state(struct etna_context *ctx) in etna_emit_texture_state()
321 struct etna_context *ctx = etna_context(pctx); in etna_texture_state_init()
Detnaviv_rasterizer.c39 struct etna_context *ctx = etna_context(pctx); in etna_rasterizer_state_create()

12