Home
last modified time | relevance | path

Searched refs:nv50_context (Results 1 – 25 of 26) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_context.h111 bool nv50_blitctx_create(struct nv50_context *);
113 struct nv50_context { struct
193 static inline struct nv50_context * argument
194 nv50_context(struct pipe_context *pipe) in nv50_context() function
196 return (struct nv50_context *)pipe; in nv50_context()
222 extern struct draw_stage *nv50_draw_render_stage(struct nv50_context *);
225 void nv50_vertprog_validate(struct nv50_context *);
226 void nv50_gmtyprog_validate(struct nv50_context *);
227 void nv50_fragprog_validate(struct nv50_context *);
228 void nv50_compprog_validate(struct nv50_context *);
[all …]
Dnv50_state.c125 if (nv50_context(pipe)->screen->tesla->oclass >= NVA3_3D_CLASS) { in nv50_blend_state_create()
146 if (nv50_context(pipe)->screen->tesla->oclass >= NVA3_3D_CLASS) { in nv50_blend_state_create()
211 struct nv50_context *nv50 = nv50_context(pipe); in nv50_blend_state_bind()
348 struct nv50_context *nv50 = nv50_context(pipe); in nv50_rasterizer_state_bind()
442 struct nv50_context *nv50 = nv50_context(pipe); in nv50_zsa_state_bind()
589 assert(nv50_context(pipe)->num_samplers[s] <= PIPE_MAX_SAMPLERS); in nv50_sampler_state_delete()
590 for (i = 0; i < nv50_context(pipe)->num_samplers[s]; ++i) in nv50_sampler_state_delete()
591 if (nv50_context(pipe)->samplers[s][i] == hwcso) in nv50_sampler_state_delete()
592 nv50_context(pipe)->samplers[s][i] = NULL; in nv50_sampler_state_delete()
595 nv50_screen_tsc_free(nv50_context(pipe)->screen, nv50_tsc_entry(hwcso)); in nv50_sampler_state_delete()
[all …]
Dnv50_query.h8 struct nv50_context;
12 void (*destroy_query)(struct nv50_context *, struct nv50_query *);
13 bool (*begin_query)(struct nv50_context *, struct nv50_query *);
14 void (*end_query)(struct nv50_context *, struct nv50_query *);
15 bool (*get_query_result)(struct nv50_context *, struct nv50_query *,
37 void nv50_init_query_functions(struct nv50_context *);
Dnv50_query_hw.h19 void (*destroy_query)(struct nv50_context *, struct nv50_hw_query *);
20 bool (*begin_query)(struct nv50_context *, struct nv50_hw_query *);
21 void (*end_query)(struct nv50_context *, struct nv50_hw_query *);
22 bool (*get_query_result)(struct nv50_context *, struct nv50_hw_query *,
48 nv50_hw_create_query(struct nv50_context *, unsigned, unsigned);
53 nv50_hw_query_allocate(struct nv50_context *, struct nv50_query *, int);
Dnv50_query.c36 struct nv50_context *nv50 = nv50_context(pipe); in nv50_create_query()
47 q->funcs->destroy_query(nv50_context(pipe), q); in nv50_destroy_query()
54 return q->funcs->begin_query(nv50_context(pipe), q); in nv50_begin_query()
61 q->funcs->end_query(nv50_context(pipe), q); in nv50_end_query()
70 return q->funcs->get_query_result(nv50_context(pipe), q, wait, result); in nv50_get_query_result()
78 struct nv50_context *nv50 = nv50_context(pipe); in nv50_render_condition()
152 nv50_init_query_functions(struct nv50_context *nv50) in nv50_init_query_functions()
Dnv50_state_validate.c20 nv50_validate_fb(struct nv50_context *nv50) in nv50_validate_fb()
150 nv50_validate_blend_colour(struct nv50_context *nv50) in nv50_validate_blend_colour()
162 nv50_validate_stencil_ref(struct nv50_context *nv50) in nv50_validate_stencil_ref()
173 nv50_validate_stipple(struct nv50_context *nv50) in nv50_validate_stipple()
184 nv50_validate_scissor(struct nv50_context *nv50) in nv50_validate_scissor()
248 nv50_validate_viewport(struct nv50_context *nv50) in nv50_validate_viewport()
287 nv50_validate_window_rects(struct nv50_context *nv50) in nv50_validate_window_rects()
313 nv50_check_program_ucps(struct nv50_context *nv50, in nv50_check_program_ucps()
338 nv50_validate_derived_2(struct nv50_context *nv50) in nv50_validate_derived_2()
351 nv50_validate_clip(struct nv50_context *nv50) in nv50_validate_clip()
[all …]
Dnv50_query_hw_metric.c59 nv50_hw_metric_query_get_cfg(struct nv50_context *nv50, in nv50_hw_metric_query_get_cfg()
67 nv50_hw_metric_destroy_query(struct nv50_context *nv50, in nv50_hw_metric_destroy_query()
80 nv50_hw_metric_begin_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_metric_begin_query()
95 nv50_hw_metric_end_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_metric_end_query()
122 nv50_hw_metric_get_query_result(struct nv50_context *nv50, in nv50_hw_metric_get_query_result()
152 nv50_hw_metric_create_query(struct nv50_context *nv50, unsigned type) in nv50_hw_metric_create_query()
Dnv50_context.c49 struct nouveau_pushbuf *push = nv50_context(pipe)->base.pushbuf; in nv50_texture_barrier()
60 struct nv50_context *nv50 = nv50_context(pipe); in nv50_memory_barrier()
96 struct nouveau_pushbuf *push = nv50_context(pipe)->base.pushbuf; in nv50_emit_string_marker()
131 nv50_context_unreference_resources(struct nv50_context *nv50) in nv50_context_unreference_resources()
167 struct nv50_context *nv50 = nv50_context(pipe); in nv50_destroy()
193 struct nv50_context *nv50 = nv50_context(&ctx->pipe); in nv50_invalidate_resource_storage()
275 struct nv50_context *nv50; in nv50_create()
280 nv50 = CALLOC_STRUCT(nv50_context); in nv50_create()
Dnv50_program.h26 struct nv50_context;
121 bool nv50_program_upload_code(struct nv50_context *, struct nv50_program *);
122 void nv50_program_destroy(struct nv50_context *, struct nv50_program *);
Dnv50_query_hw_sm.c146 nv50_hw_sm_query_get_cfg(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_sm_query_get_cfg()
153 nv50_hw_sm_destroy_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_sm_destroy_query()
162 nv50_hw_sm_begin_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_sm_begin_query()
215 nv50_hw_sm_end_query(struct nv50_context *nv50, struct nv50_hw_query *hq) in nv50_hw_sm_end_query()
309 struct nv50_context *nv50, bool wait, in nv50_hw_sm_query_read_data()
334 nv50_hw_sm_get_query_result(struct nv50_context *nv50, struct nv50_hw_query *hq, in nv50_hw_sm_get_query_result()
370 nv50_hw_sm_create_query(struct nv50_context *nv50, unsigned type) in nv50_hw_sm_create_query()
Dnv50_transfer.c55 nv50_m2mf_transfer_rect(struct nv50_context *nv50, in nv50_m2mf_transfer_rect()
153 struct nv50_context *nv50 = nv50_context(&nv->pipe); in nv50_sifc_linear_u8()
209 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx; in nv50_m2mf_copy_linear()
253 struct nv50_context *nv50 = nv50_context(pctx); in nv50_miptree_transfer_map()
346 struct nv50_context *nv50 = nv50_context(pctx); in nv50_miptree_transfer_unmap()
406 struct nv50_context *nv50 = nv50_context(&nv->pipe); in nv50_cb_push()
Dnv50_shader_state.c35 nv50_constbufs_validate(struct nv50_context *nv50) in nv50_constbufs_validate()
115 nv50_program_validate(struct nv50_context *nv50, struct nv50_program *prog) in nv50_program_validate()
130 nv50_program_update_context_state(struct nv50_context *nv50, in nv50_program_update_context_state()
150 nv50_vertprog_validate(struct nv50_context *nv50) in nv50_vertprog_validate()
171 nv50_fragprog_validate(struct nv50_context *nv50) in nv50_fragprog_validate()
258 nv50_gmtyprog_validate(struct nv50_context *nv50) in nv50_gmtyprog_validate()
285 nv50_compprog_validate(struct nv50_context *nv50) in nv50_compprog_validate()
298 nv50_sprite_coords_validate(struct nv50_context *nv50) in nv50_sprite_coords_validate()
355 nv50_validate_derived_rs(struct nv50_context *nv50) in nv50_validate_derived_rs()
420 nv50_fp_linkage_validate(struct nv50_context *nv50) in nv50_fp_linkage_validate()
[all …]
Dnv50_compute.c159 nv50_compute_validate_globals(struct nv50_context *nv50) in nv50_compute_validate_globals()
180 nv50_state_validate_cp(struct nv50_context *nv50, uint32_t mask) in nv50_state_validate_cp()
195 nv50_compute_upload_input(struct nv50_context *nv50, const uint32_t *input) in nv50_compute_upload_input()
231 struct nv50_context *nv50 = nv50_context(pipe); in nv50_launch_grid()
Dnv50_query_hw.c42 nv50_hw_query_allocate(struct nv50_context *nv50, struct nv50_query *q, in nv50_hw_query_allocate()
108 nv50_hw_destroy_query(struct nv50_context *nv50, struct nv50_query *q) in nv50_hw_destroy_query()
123 nv50_hw_begin_query(struct nv50_context *nv50, struct nv50_query *q) in nv50_hw_begin_query()
198 nv50_hw_end_query(struct nv50_context *nv50, struct nv50_query *q) in nv50_hw_end_query()
268 nv50_hw_get_query_result(struct nv50_context *nv50, struct nv50_query *q, in nv50_hw_get_query_result()
350 nv50_hw_create_query(struct nv50_context *nv50, unsigned type, unsigned index) in nv50_hw_create_query()
Dnv50_vbo.c140 nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb, in nv50_emit_vtxattr()
186 nv50_user_vbuf_range(struct nv50_context *nv50, unsigned vbi, in nv50_user_vbuf_range()
204 nv50_upload_user_buffers(struct nv50_context *nv50, in nv50_upload_user_buffers()
230 nv50_update_user_vbufs(struct nv50_context *nv50) in nv50_update_user_vbufs()
276 nv50_release_user_vbufs(struct nv50_context *nv50) in nv50_release_user_vbufs()
285 nv50_vertex_arrays_validate(struct nv50_context *nv50) in nv50_vertex_arrays_validate()
464 nv50_draw_arrays(struct nv50_context *nv50, in nv50_draw_arrays()
587 nv50_draw_elements(struct nv50_context *nv50, bool shorten, in nv50_draw_elements()
701 nva0_draw_stream_output(struct nv50_context *nv50, in nva0_draw_stream_output()
758 struct nv50_context *nv50 = nv50_context(pipe); in nv50_draw_vbo()
Dnv50_surface.c202 struct nv50_context *nv50 = nv50_context(pipe); in nv50_resource_copy_region()
283 struct nv50_context *nv50 = nv50_context(pipe); in nv50_clear_render_target()
374 struct nv50_context *nv50 = nv50_context(pipe); in nv50_clear_depth_stencil()
531 struct nv50_context *nv50 = nv50_context(pipe); in nv50_clear()
613 struct nv50_context *nv50 = nv50_context(pipe); in nv50_clear_buffer_push()
686 struct nv50_context *nv50 = nv50_context(pipe); in nv50_clear_buffer()
825 struct nv50_context *nv50;
1102 struct nv50_context *nv50 = ctx->nv50; in nv50_blit_set_dst()
1132 struct nv50_context *nv50 = blit->nv50; in nv50_blit_set_src()
1234 struct nv50_context *nv50 = ctx->nv50; in nv50_blitctx_pre_blit()
[all …]
Dnv50_tex.c221 nv50_update_tic(struct nv50_context *nv50, struct nv50_tic_entry *tic, in nv50_update_tic()
240 nv50_validate_tic(struct nv50_context *nv50, int s) in nv50_validate_tic()
333 void nv50_validate_textures(struct nv50_context *nv50) in nv50_validate_textures()
348 nv50_validate_tsc(struct nv50_context *nv50, int s) in nv50_validate_tsc()
396 void nv50_validate_samplers(struct nv50_context *nv50) in nv50_validate_samplers()
465 void nv50_upload_tsc0(struct nv50_context *nv50) in nv50_upload_tsc0()
Dnv50_screen.h18 struct nv50_context;
63 struct nv50_context *cur_ctx;
Dnv50_query_hw_metric.h30 nv50_hw_metric_create_query(struct nv50_context *, unsigned);
Dnv50_query_hw_sm.h41 nv50_hw_sm_create_query(struct nv50_context *, unsigned);
Dnv84_video.c267 struct nv50_context *nv50 = (struct nv50_context *)context; in nv84_create_decoder()
611 struct nouveau_screen *screen = &((struct nv50_context *)pipe)->screen->base; in nv84_video_buffer_create()
Dnv50_program.c456 nv50_program_upload_code(struct nv50_context *nv50, struct nv50_program *prog) in nv50_program_upload_code()
526 nv50_program_destroy(struct nv50_context *nv50, struct nv50_program *p) in nv50_program_destroy()
Dnv98_video.c88 struct nouveau_screen *screen = &((struct nv50_context *)context)->screen->base; in nv98_create_decoder()
/external/mesa3d/src/gallium/drivers/nouveau/
DMakefile.sources70 nv50/nv50_context.c \
71 nv50/nv50_context.h \
Dmeson.build86 'nv50/nv50_context.c',
87 'nv50/nv50_context.h',

12