Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_context.h111 bool nv50_blitctx_create(struct nv50_context *);
113 struct nv50_context { struct
194 static inline struct nv50_context * argument
195 nv50_context(struct pipe_context *pipe) in nv50_context() function
197 return (struct nv50_context *)pipe; in nv50_context()
223 extern struct draw_stage *nv50_draw_render_stage(struct nv50_context *);
226 void nv50_vertprog_validate(struct nv50_context *);
227 void nv50_gmtyprog_validate(struct nv50_context *);
228 void nv50_fragprog_validate(struct nv50_context *);
229 void nv50_compprog_validate(struct nv50_context *);
[all …]
Dnv50_state.c124 if (nv50_context(pipe)->screen->tesla->oclass >= NVA3_3D_CLASS) { in nv50_blend_state_create()
145 if (nv50_context(pipe)->screen->tesla->oclass >= NVA3_3D_CLASS) { in nv50_blend_state_create()
210 struct nv50_context *nv50 = nv50_context(pipe); in nv50_blend_state_bind()
347 struct nv50_context *nv50 = nv50_context(pipe); in nv50_rasterizer_state_bind()
441 struct nv50_context *nv50 = nv50_context(pipe); in nv50_zsa_state_bind()
588 assert(nv50_context(pipe)->num_samplers[s] <= PIPE_MAX_SAMPLERS); in nv50_sampler_state_delete()
589 for (i = 0; i < nv50_context(pipe)->num_samplers[s]; ++i) in nv50_sampler_state_delete()
590 if (nv50_context(pipe)->samplers[s][i] == hwcso) in nv50_sampler_state_delete()
591 nv50_context(pipe)->samplers[s][i] = NULL; in nv50_sampler_state_delete()
594 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 boolean (*begin_query)(struct nv50_context *, struct nv50_query *);
14 void (*end_query)(struct nv50_context *, struct nv50_query *);
15 boolean (*get_query_result)(struct nv50_context *, struct nv50_query *,
37 void nv50_init_query_functions(struct nv50_context *);
Dnv50_query_hw.h14 void (*destroy_query)(struct nv50_context *, struct nv50_hw_query *);
15 boolean (*begin_query)(struct nv50_context *, struct nv50_hw_query *);
16 void (*end_query)(struct nv50_context *, struct nv50_hw_query *);
17 boolean (*get_query_result)(struct nv50_context *, struct nv50_hw_query *,
44 nv50_hw_create_query(struct nv50_context *, unsigned, unsigned);
49 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()
153 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()
247 nv50_validate_viewport(struct nv50_context *nv50) in nv50_validate_viewport()
286 nv50_validate_window_rects(struct nv50_context *nv50) in nv50_validate_window_rects()
312 nv50_check_program_ucps(struct nv50_context *nv50, in nv50_check_program_ucps()
337 nv50_validate_derived_2(struct nv50_context *nv50) in nv50_validate_derived_2()
350 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.c48 struct nouveau_pushbuf *push = nv50_context(pipe)->base.pushbuf; in nv50_texture_barrier()
59 struct nv50_context *nv50 = nv50_context(pipe); in nv50_memory_barrier()
99 struct nouveau_pushbuf *push = nv50_context(pipe)->base.pushbuf; in nv50_emit_string_marker()
134 nv50_context_unreference_resources(struct nv50_context *nv50) in nv50_context_unreference_resources()
172 struct nv50_context *nv50 = nv50_context(pipe); in nv50_destroy()
194 struct nv50_context *nv50 = nv50_context(&ctx->pipe); in nv50_invalidate_resource_storage()
284 struct nv50_context *nv50; in nv50_create()
289 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_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()
229 nv50_compute_find_symbol(struct nv50_context *nv50, uint32_t label) in nv50_compute_find_symbol()
246 struct nv50_context *nv50 = nv50_context(pipe); in nv50_launch_grid()
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()
254 nv50_gmtyprog_validate(struct nv50_context *nv50) in nv50_gmtyprog_validate()
281 nv50_compprog_validate(struct nv50_context *nv50) in nv50_compprog_validate()
294 nv50_sprite_coords_validate(struct nv50_context *nv50) in nv50_sprite_coords_validate()
351 nv50_validate_derived_rs(struct nv50_context *nv50) in nv50_validate_derived_rs()
416 nv50_fp_linkage_validate(struct nv50_context *nv50) in nv50_fp_linkage_validate()
[all …]
Dnv50_query_hw.c47 nv50_hw_query_allocate(struct nv50_context *nv50, struct nv50_query *q, in nv50_hw_query_allocate()
113 nv50_hw_destroy_query(struct nv50_context *nv50, struct nv50_query *q) in nv50_hw_destroy_query()
128 nv50_hw_begin_query(struct nv50_context *nv50, struct nv50_query *q) in nv50_hw_begin_query()
203 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()
353 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()
196 nv50_user_vbuf_range(struct nv50_context *nv50, unsigned vbi, in nv50_user_vbuf_range()
214 nv50_upload_user_buffers(struct nv50_context *nv50, in nv50_upload_user_buffers()
240 nv50_update_user_vbufs(struct nv50_context *nv50) in nv50_update_user_vbufs()
286 nv50_release_user_vbufs(struct nv50_context *nv50) in nv50_release_user_vbufs()
295 nv50_vertex_arrays_validate(struct nv50_context *nv50) in nv50_vertex_arrays_validate()
473 nv50_draw_arrays(struct nv50_context *nv50, in nv50_draw_arrays()
596 nv50_draw_elements(struct nv50_context *nv50, bool shorten, in nv50_draw_elements()
709 nva0_draw_stream_output(struct nv50_context *nv50, in nva0_draw_stream_output()
766 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()
689 struct nv50_context *nv50 = nv50_context(pipe); in nv50_clear_buffer()
829 struct nv50_context *nv50;
1095 struct nv50_context *nv50 = ctx->nv50; in nv50_blit_set_dst()
1125 struct nv50_context *nv50 = blit->nv50; in nv50_blit_set_src()
1227 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()
386 void nv50_validate_samplers(struct nv50_context *nv50) in nv50_validate_samplers()
Dnv50_screen.h18 struct nv50_context;
62 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.c440 nv50_program_upload_code(struct nv50_context *nv50, struct nv50_program *prog) in nv50_program_upload_code()
510 nv50_program_destroy(struct nv50_context *nv50, struct nv50_program *p) in nv50_program_destroy()
Dnv98_video.c87 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()
/external/mesa3d/src/gallium/drivers/nouveau/
DMakefile.sources71 nv50/nv50_context.c \
72 nv50/nv50_context.h \