Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_context.h138 bool nv50_blitctx_create(struct nv50_context *);
140 struct nv50_context { struct
236 static inline struct nv50_context * argument
237 nv50_context(struct pipe_context *pipe) in nv50_context() function
239 return (struct nv50_context *)pipe; in nv50_context()
265 extern struct draw_stage *nv50_draw_render_stage(struct nv50_context *);
268 void nv50_vertprog_validate(struct nv50_context *);
269 void nv50_gmtyprog_validate(struct nv50_context *);
270 void nv50_fragprog_validate(struct nv50_context *);
271 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()
596 assert(nv50_context(pipe)->num_samplers[s] <= PIPE_MAX_SAMPLERS); in nv50_sampler_state_delete()
597 for (i = 0; i < nv50_context(pipe)->num_samplers[s]; ++i) in nv50_sampler_state_delete()
598 if (nv50_context(pipe)->samplers[s][i] == hwcso) in nv50_sampler_state_delete()
599 nv50_context(pipe)->samplers[s][i] = NULL; in nv50_sampler_state_delete()
602 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()
113 struct nouveau_pushbuf *push = nv50_context(pipe)->base.pushbuf; in nv50_emit_string_marker()
148 nv50_context_unreference_resources(struct nv50_context *nv50) in nv50_context_unreference_resources()
184 struct nv50_context *nv50 = nv50_context(pipe); in nv50_destroy()
210 struct nv50_context *nv50 = nv50_context(&ctx->pipe); in nv50_invalidate_resource_storage()
302 struct nv50_context *nv50; in nv50_create()
307 nv50 = CALLOC_STRUCT(nv50_context); in nv50_create()
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_program.h26 struct nv50_context;
127 bool nv50_program_upload_code(struct nv50_context *, struct nv50_program *);
128 void nv50_program_destroy(struct nv50_context *, struct nv50_program *);
Dnv50_shader_state.c35 nv50_constbufs_validate(struct nv50_context *nv50) in nv50_constbufs_validate()
120 nv50_program_validate(struct nv50_context *nv50, struct nv50_program *prog) in nv50_program_validate()
135 nv50_program_update_context_state(struct nv50_context *nv50, in nv50_program_update_context_state()
155 nv50_vertprog_validate(struct nv50_context *nv50) in nv50_vertprog_validate()
176 nv50_fragprog_validate(struct nv50_context *nv50) in nv50_fragprog_validate()
263 nv50_gmtyprog_validate(struct nv50_context *nv50) in nv50_gmtyprog_validate()
290 nv50_compprog_validate(struct nv50_context *nv50) in nv50_compprog_validate()
303 nv50_sprite_coords_validate(struct nv50_context *nv50) in nv50_sprite_coords_validate()
360 nv50_validate_derived_rs(struct nv50_context *nv50) in nv50_validate_derived_rs()
425 nv50_fp_linkage_validate(struct nv50_context *nv50) in nv50_fp_linkage_validate()
[all …]
Dnv50_transfer.c58 nv50_2d_transfer_rect(struct nv50_context *nv50, in nv50_2d_transfer_rect()
164 nv50_m2mf_transfer_rect(struct nv50_context *nv50, in nv50_m2mf_transfer_rect()
279 struct nv50_context *nv50 = nv50_context(&nv->pipe); in nv50_sifc_linear_u8()
335 struct nouveau_bufctx *bctx = nv50_context(&nv->pipe)->bufctx; in nv50_m2mf_copy_linear()
379 struct nv50_context *nv50 = nv50_context(pctx); in nv50_miptree_transfer_map()
472 struct nv50_context *nv50 = nv50_context(pctx); in nv50_miptree_transfer_unmap()
532 struct nv50_context *nv50 = nv50_context(&nv->pipe); in nv50_cb_push()
Dnv50_compute.c169 nv50_compute_validate_samplers(struct nv50_context *nv50) in nv50_compute_validate_samplers()
182 nv50_compute_validate_textures(struct nv50_context *nv50) in nv50_compute_validate_textures()
196 nv50_compute_invalidate_constbufs(struct nv50_context *nv50) in nv50_compute_invalidate_constbufs()
209 nv50_compute_validate_constbufs(struct nv50_context *nv50) in nv50_compute_validate_constbufs()
374 nv50_compute_validate_surfaces(struct nv50_context *nv50) in nv50_compute_validate_surfaces()
484 nv50_compute_validate_globals(struct nv50_context *nv50) in nv50_compute_validate_globals()
511 nv50_state_validate_cp(struct nv50_context *nv50, uint32_t mask) in nv50_state_validate_cp()
526 nv50_compute_upload_input(struct nv50_context *nv50, const uint32_t *input) in nv50_compute_upload_input()
564 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()
272 nv50_hw_get_query_result(struct nv50_context *nv50, struct nv50_query *q, in nv50_hw_get_query_result()
355 nv50_hw_create_query(struct nv50_context *nv50, unsigned type, unsigned index) in nv50_hw_create_query()
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()
633 struct nv50_context *nv50 = nv50_context(pipe); in nv50_clear_buffer_push()
706 struct nv50_context *nv50 = nv50_context(pipe); in nv50_clear_buffer()
845 struct nv50_context *nv50;
1122 struct nv50_context *nv50 = ctx->nv50; in nv50_blit_set_dst()
1152 struct nv50_context *nv50 = blit->nv50; in nv50_blit_set_src()
1256 struct nv50_context *nv50 = ctx->nv50; in nv50_blitctx_pre_blit()
[all …]
Dnv50_vbo.c142 nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb, in nv50_emit_vtxattr()
188 nv50_user_vbuf_range(struct nv50_context *nv50, unsigned vbi, in nv50_user_vbuf_range()
207 nv50_upload_user_buffers(struct nv50_context *nv50, in nv50_upload_user_buffers()
233 nv50_update_user_vbufs(struct nv50_context *nv50) in nv50_update_user_vbufs()
279 nv50_release_user_vbufs(struct nv50_context *nv50) in nv50_release_user_vbufs()
288 nv50_vertex_arrays_validate(struct nv50_context *nv50) in nv50_vertex_arrays_validate()
467 nv50_draw_arrays(struct nv50_context *nv50, in nv50_draw_arrays()
590 nv50_draw_elements(struct nv50_context *nv50, bool shorten, in nv50_draw_elements()
704 nva0_draw_stream_output(struct nv50_context *nv50, in nva0_draw_stream_output()
782 struct nv50_context *nv50 = nv50_context(pipe); in nv50_draw_vbo()
Dnv50_tex.c223 nv50_update_tic(struct nv50_context *nv50, struct nv50_tic_entry *tic, in nv50_update_tic()
242 nv50_validate_tic(struct nv50_context *nv50, int s) in nv50_validate_tic()
355 void nv50_validate_textures(struct nv50_context *nv50) in nv50_validate_textures()
374 nv50_validate_tsc(struct nv50_context *nv50, int s) in nv50_validate_tsc()
435 void nv50_validate_samplers(struct nv50_context *nv50) in nv50_validate_samplers()
511 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.c469 nv50_program_upload_code(struct nv50_context *nv50, struct nv50_program *prog) in nv50_program_upload_code()
540 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()
Dnv50_push.c241 nv50_push_vbo(struct nv50_context *nv50, const struct pipe_draw_info *info, in nv50_push_vbo()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dmeson.build86 'nv50/nv50_context.c',
87 'nv50/nv50_context.h',

12