Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_context.h74 struct nvc0_context { struct
82 void (*m2mf_copy_rect)(struct nvc0_context *, argument
167 static INLINE struct nvc0_context * argument
168 nvc0_context(struct pipe_context *pipe) in nvc0_context() function
170 return (struct nvc0_context *)pipe; in nvc0_context()
192 void nvc0_bufctx_fence(struct nvc0_context *, struct nouveau_bufctx *,
197 extern struct draw_stage *nvc0_draw_render_stage(struct nvc0_context *);
201 boolean nvc0_program_upload_code(struct nvc0_context *, struct nvc0_program *);
202 void nvc0_program_destroy(struct nvc0_context *, struct nvc0_program *);
203 void nvc0_program_library_upload(struct nvc0_context *);
[all …]
Dnvc0_state.c194 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_blend_state_bind()
322 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_rasterizer_state_bind()
393 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_zsa_state_bind()
435 for (i = 0; i < nvc0_context(pipe)->num_samplers[s]; ++i) in nvc0_sampler_state_delete()
436 if (nvc0_context(pipe)->samplers[s][i] == hwcso) in nvc0_sampler_state_delete()
437 nvc0_context(pipe)->samplers[s][i] = NULL; in nvc0_sampler_state_delete()
439 nvc0_screen_tsc_free(nvc0_context(pipe)->screen, nv50_tsc_entry(hwcso)); in nvc0_sampler_state_delete()
445 nvc0_stage_sampler_states_bind(struct nvc0_context *nvc0, int s, in nvc0_stage_sampler_states_bind()
476 nvc0_stage_sampler_states_bind(nvc0_context(pipe), 0, nr, s); in nvc0_vp_sampler_states_bind()
482 nvc0_stage_sampler_states_bind(nvc0_context(pipe), 4, nr, s); in nvc0_fp_sampler_states_bind()
[all …]
Dnvc0_context.c38 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_flush()
50 struct nouveau_pushbuf *push = nvc0_context(pipe)->base.pushbuf; in nvc0_texture_barrier()
57 nvc0_context_unreference_resources(struct nvc0_context *nvc0) in nvc0_context_unreference_resources()
87 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_destroy()
122 struct nvc0_context *nvc0; in nvc0_create()
127 nvc0 = CALLOC_STRUCT(nvc0_context); in nvc0_create()
209 nvc0_bufctx_fence(struct nvc0_context *nvc0, struct nouveau_bufctx *bufctx, in nvc0_bufctx_fence()
Dnvc0_query.c59 nvc0_query_allocate(struct nvc0_context *nvc0, struct nvc0_query *q, int size) in nvc0_query_allocate()
93 nvc0_query_allocate(nvc0_context(pipe), nvc0_query(pq), 0); in nvc0_query_destroy()
100 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_create()
172 nvc0_query_rotate(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_query_rotate()
183 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_begin()
255 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_end()
338 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_result()
430 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_render_condition()
504 PUSH_SPACE(nvc0_context(pipe)->base.pushbuf, 1); in nvc0_so_target_save_offset()
505 IMMED_NVC0(nvc0_context(pipe)->base.pushbuf, NVC0_3D(SERIALIZE), 0); in nvc0_so_target_save_offset()
[all …]
Dnvc0_state_validate.c7 nvc0_validate_zcull(struct nvc0_context *nvc0) in nvc0_validate_zcull()
56 nvc0_validate_fb(struct nvc0_context *nvc0) in nvc0_validate_fb()
164 nvc0_validate_blend_colour(struct nvc0_context *nvc0) in nvc0_validate_blend_colour()
176 nvc0_validate_stencil_ref(struct nvc0_context *nvc0) in nvc0_validate_stencil_ref()
186 nvc0_validate_stipple(struct nvc0_context *nvc0) in nvc0_validate_stipple()
197 nvc0_validate_scissor(struct nvc0_context *nvc0) in nvc0_validate_scissor()
218 nvc0_validate_viewport(struct nvc0_context *nvc0) in nvc0_validate_viewport()
253 nvc0_upload_uclip_planes(struct nvc0_context *nvc0, unsigned s) in nvc0_upload_uclip_planes()
268 nvc0_check_program_ucps(struct nvc0_context *nvc0, in nvc0_check_program_ucps()
288 nvc0_validate_clip(struct nvc0_context *nvc0) in nvc0_validate_clip()
[all …]
Dnvc0_transfer.c17 nvc0_m2mf_transfer_rect(struct nvc0_context *nvc0, in nvc0_m2mf_transfer_rect()
112 nve4_m2mf_transfer_rect(struct nvc0_context *nvc0, in nve4_m2mf_transfer_rect()
181 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nvc0_m2mf_push_linear()
226 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nve4_p2mf_push_linear()
271 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nvc0_m2mf_copy_linear()
309 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nve4_m2mf_copy_linear()
336 struct nvc0_context *nvc0 = nvc0_context(pctx); in nvc0_miptree_transfer_new()
411 struct nvc0_context *nvc0 = nvc0_context(pctx); in nvc0_miptree_transfer_del()
438 struct nvc0_context *nvc0 = nvc0_context(pctx); in nvc0_miptree_transfer_map()
469 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nvc0_cb_push()
[all …]
Dnvc0_shader_state.c31 nvc0_program_update_context_state(struct nvc0_context *nvc0, in nvc0_program_update_context_state()
67 nvc0_program_validate(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_validate()
85 nvc0_vertprog_validate(struct nvc0_context *nvc0) in nvc0_vertprog_validate()
105 nvc0_fragprog_validate(struct nvc0_context *nvc0) in nvc0_fragprog_validate()
133 nvc0_tctlprog_validate(struct nvc0_context *nvc0) in nvc0_tctlprog_validate()
159 nvc0_tevlprog_validate(struct nvc0_context *nvc0) in nvc0_tevlprog_validate()
183 nvc0_gmtyprog_validate(struct nvc0_context *nvc0) in nvc0_gmtyprog_validate()
212 nvc0_tfb_validate(struct nvc0_context *nvc0) in nvc0_tfb_validate()
Dnvc0_draw.c29 struct nvc0_context *nvc0;
74 nvc0_draw_render_stage(struct nvc0_context *nvc0) in nvc0_draw_render_stage()
Dnvc0_vbo.c166 nvc0_set_constant_vertex_attrib(struct nvc0_context *nvc0, const unsigned a) in nvc0_set_constant_vertex_attrib()
199 nvc0_user_vbuf_range(struct nvc0_context *nvc0, int vbi, in nvc0_user_vbuf_range()
217 nvc0_release_user_vbufs(struct nvc0_context *nvc0) in nvc0_release_user_vbufs()
226 nvc0_update_user_vbufs(struct nvc0_context *nvc0) in nvc0_update_user_vbufs()
269 nvc0_update_user_vbufs_shared(struct nvc0_context *nvc0) in nvc0_update_user_vbufs_shared()
307 nvc0_validate_vertex_buffers(struct nvc0_context *nvc0) in nvc0_validate_vertex_buffers()
370 nvc0_validate_vertex_buffers_shared(struct nvc0_context *nvc0) in nvc0_validate_vertex_buffers_shared()
409 nvc0_vertex_arrays_validate(struct nvc0_context *nvc0) in nvc0_vertex_arrays_validate()
504 nvc0_idxbuf_validate(struct nvc0_context *nvc0) in nvc0_idxbuf_validate()
560 nvc0_draw_arrays(struct nvc0_context *nvc0, in nvc0_draw_arrays()
[all …]
Dnvc0_surface.c206 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_resource_copy_region()
281 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_render_target()
351 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_depth_stencil()
404 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear()
736 nvc0_blit_set_dst(struct nvc0_context *nvc0, in nvc0_blit_set_dst()
777 nvc0_blit_set_src(struct nvc0_context *nvc0, in nvc0_blit_set_src()
852 nvc0_blitctx_pre_blit(struct nvc0_blitctx *blit, struct nvc0_context *nvc0) in nvc0_blitctx_pre_blit()
904 nvc0_blitctx_post_blit(struct nvc0_context *nvc0, struct nvc0_blitctx *blit) in nvc0_blitctx_post_blit()
952 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_resource_resolve()
1074 nvc0_init_surface_functions(struct nvc0_context *nvc0) in nvc0_init_surface_functions()
Dnvc0_tex.c210 nvc0_validate_tic(struct nvc0_context *nvc0, int s) in nvc0_validate_tic()
278 nve4_validate_tic(struct nvc0_context *nvc0, unsigned s) in nve4_validate_tic()
334 void nvc0_validate_textures(struct nvc0_context *nvc0) in nvc0_validate_textures()
355 nvc0_validate_tsc(struct nvc0_context *nvc0, int s) in nvc0_validate_tsc()
399 nve4_validate_tsc(struct nvc0_context *nvc0, int s) in nve4_validate_tsc()
442 void nvc0_validate_samplers(struct nvc0_context *nvc0) in nvc0_validate_samplers()
467 nve4_set_tex_handles(struct nvc0_context *nvc0) in nve4_set_tex_handles()
Dnvc0_vbo_translate.c36 struct nvc0_context *,
40 nvc0_push_context_init(struct nvc0_context *nvc0, struct push_context *ctx) in nvc0_push_context_init()
59 nvc0_vertex_configure_translate(struct nvc0_context *nvc0, int32_t index_bias) in nvc0_vertex_configure_translate()
82 nvc0_push_map_idxbuf(struct push_context *ctx, struct nvc0_context *nvc0) in nvc0_push_map_idxbuf()
94 nvc0_push_map_edgeflag(struct push_context *ctx, struct nvc0_context *nvc0, in nvc0_push_map_edgeflag()
181 nvc0_push_setup_vertex_array(struct nvc0_context *nvc0, const unsigned count) in nvc0_push_setup_vertex_array()
430 nvc0_push_vbo(struct nvc0_context *nvc0, const struct pipe_draw_info *info) in nvc0_push_vbo()
566 struct nvc0_context *nvc0, in nvc0_push_upload_vertex_ids()
Dnvc0_screen.h20 struct nvc0_context;
27 struct nvc0_context *cur_ctx;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
Dnvc0_context.h74 struct nvc0_context { struct
82 void (*m2mf_copy_rect)(struct nvc0_context *, argument
167 static INLINE struct nvc0_context * argument
168 nvc0_context(struct pipe_context *pipe) in nvc0_context() function
170 return (struct nvc0_context *)pipe; in nvc0_context()
192 void nvc0_bufctx_fence(struct nvc0_context *, struct nouveau_bufctx *,
197 extern struct draw_stage *nvc0_draw_render_stage(struct nvc0_context *);
201 boolean nvc0_program_upload_code(struct nvc0_context *, struct nvc0_program *);
202 void nvc0_program_destroy(struct nvc0_context *, struct nvc0_program *);
203 void nvc0_program_library_upload(struct nvc0_context *);
[all …]
Dnvc0_state.c194 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_blend_state_bind()
322 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_rasterizer_state_bind()
393 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_zsa_state_bind()
435 for (i = 0; i < nvc0_context(pipe)->num_samplers[s]; ++i) in nvc0_sampler_state_delete()
436 if (nvc0_context(pipe)->samplers[s][i] == hwcso) in nvc0_sampler_state_delete()
437 nvc0_context(pipe)->samplers[s][i] = NULL; in nvc0_sampler_state_delete()
439 nvc0_screen_tsc_free(nvc0_context(pipe)->screen, nv50_tsc_entry(hwcso)); in nvc0_sampler_state_delete()
445 nvc0_stage_sampler_states_bind(struct nvc0_context *nvc0, int s, in nvc0_stage_sampler_states_bind()
476 nvc0_stage_sampler_states_bind(nvc0_context(pipe), 0, nr, s); in nvc0_vp_sampler_states_bind()
482 nvc0_stage_sampler_states_bind(nvc0_context(pipe), 4, nr, s); in nvc0_fp_sampler_states_bind()
[all …]
Dnvc0_context.c38 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_flush()
50 struct nouveau_pushbuf *push = nvc0_context(pipe)->base.pushbuf; in nvc0_texture_barrier()
57 nvc0_context_unreference_resources(struct nvc0_context *nvc0) in nvc0_context_unreference_resources()
87 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_destroy()
122 struct nvc0_context *nvc0; in nvc0_create()
127 nvc0 = CALLOC_STRUCT(nvc0_context); in nvc0_create()
209 nvc0_bufctx_fence(struct nvc0_context *nvc0, struct nouveau_bufctx *bufctx, in nvc0_bufctx_fence()
Dnvc0_query.c59 nvc0_query_allocate(struct nvc0_context *nvc0, struct nvc0_query *q, int size) in nvc0_query_allocate()
93 nvc0_query_allocate(nvc0_context(pipe), nvc0_query(pq), 0); in nvc0_query_destroy()
100 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_create()
172 nvc0_query_rotate(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_query_rotate()
183 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_begin()
255 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_end()
338 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_result()
430 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_render_condition()
504 PUSH_SPACE(nvc0_context(pipe)->base.pushbuf, 1); in nvc0_so_target_save_offset()
505 IMMED_NVC0(nvc0_context(pipe)->base.pushbuf, NVC0_3D(SERIALIZE), 0); in nvc0_so_target_save_offset()
[all …]
Dnvc0_state_validate.c7 nvc0_validate_zcull(struct nvc0_context *nvc0) in nvc0_validate_zcull()
56 nvc0_validate_fb(struct nvc0_context *nvc0) in nvc0_validate_fb()
164 nvc0_validate_blend_colour(struct nvc0_context *nvc0) in nvc0_validate_blend_colour()
176 nvc0_validate_stencil_ref(struct nvc0_context *nvc0) in nvc0_validate_stencil_ref()
186 nvc0_validate_stipple(struct nvc0_context *nvc0) in nvc0_validate_stipple()
197 nvc0_validate_scissor(struct nvc0_context *nvc0) in nvc0_validate_scissor()
218 nvc0_validate_viewport(struct nvc0_context *nvc0) in nvc0_validate_viewport()
253 nvc0_upload_uclip_planes(struct nvc0_context *nvc0, unsigned s) in nvc0_upload_uclip_planes()
268 nvc0_check_program_ucps(struct nvc0_context *nvc0, in nvc0_check_program_ucps()
288 nvc0_validate_clip(struct nvc0_context *nvc0) in nvc0_validate_clip()
[all …]
Dnvc0_transfer.c17 nvc0_m2mf_transfer_rect(struct nvc0_context *nvc0, in nvc0_m2mf_transfer_rect()
112 nve4_m2mf_transfer_rect(struct nvc0_context *nvc0, in nve4_m2mf_transfer_rect()
181 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nvc0_m2mf_push_linear()
226 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nve4_p2mf_push_linear()
271 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nvc0_m2mf_copy_linear()
309 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nve4_m2mf_copy_linear()
336 struct nvc0_context *nvc0 = nvc0_context(pctx); in nvc0_miptree_transfer_new()
411 struct nvc0_context *nvc0 = nvc0_context(pctx); in nvc0_miptree_transfer_del()
438 struct nvc0_context *nvc0 = nvc0_context(pctx); in nvc0_miptree_transfer_map()
469 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nvc0_cb_push()
[all …]
Dnvc0_shader_state.c31 nvc0_program_update_context_state(struct nvc0_context *nvc0, in nvc0_program_update_context_state()
67 nvc0_program_validate(struct nvc0_context *nvc0, struct nvc0_program *prog) in nvc0_program_validate()
85 nvc0_vertprog_validate(struct nvc0_context *nvc0) in nvc0_vertprog_validate()
105 nvc0_fragprog_validate(struct nvc0_context *nvc0) in nvc0_fragprog_validate()
133 nvc0_tctlprog_validate(struct nvc0_context *nvc0) in nvc0_tctlprog_validate()
159 nvc0_tevlprog_validate(struct nvc0_context *nvc0) in nvc0_tevlprog_validate()
183 nvc0_gmtyprog_validate(struct nvc0_context *nvc0) in nvc0_gmtyprog_validate()
212 nvc0_tfb_validate(struct nvc0_context *nvc0) in nvc0_tfb_validate()
Dnvc0_draw.c29 struct nvc0_context *nvc0;
74 nvc0_draw_render_stage(struct nvc0_context *nvc0) in nvc0_draw_render_stage()
Dnvc0_vbo.c166 nvc0_set_constant_vertex_attrib(struct nvc0_context *nvc0, const unsigned a) in nvc0_set_constant_vertex_attrib()
199 nvc0_user_vbuf_range(struct nvc0_context *nvc0, int vbi, in nvc0_user_vbuf_range()
217 nvc0_release_user_vbufs(struct nvc0_context *nvc0) in nvc0_release_user_vbufs()
226 nvc0_update_user_vbufs(struct nvc0_context *nvc0) in nvc0_update_user_vbufs()
269 nvc0_update_user_vbufs_shared(struct nvc0_context *nvc0) in nvc0_update_user_vbufs_shared()
307 nvc0_validate_vertex_buffers(struct nvc0_context *nvc0) in nvc0_validate_vertex_buffers()
370 nvc0_validate_vertex_buffers_shared(struct nvc0_context *nvc0) in nvc0_validate_vertex_buffers_shared()
409 nvc0_vertex_arrays_validate(struct nvc0_context *nvc0) in nvc0_vertex_arrays_validate()
504 nvc0_idxbuf_validate(struct nvc0_context *nvc0) in nvc0_idxbuf_validate()
560 nvc0_draw_arrays(struct nvc0_context *nvc0, in nvc0_draw_arrays()
[all …]
Dnvc0_surface.c206 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_resource_copy_region()
281 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_render_target()
351 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear_depth_stencil()
404 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_clear()
736 nvc0_blit_set_dst(struct nvc0_context *nvc0, in nvc0_blit_set_dst()
777 nvc0_blit_set_src(struct nvc0_context *nvc0, in nvc0_blit_set_src()
852 nvc0_blitctx_pre_blit(struct nvc0_blitctx *blit, struct nvc0_context *nvc0) in nvc0_blitctx_pre_blit()
904 nvc0_blitctx_post_blit(struct nvc0_context *nvc0, struct nvc0_blitctx *blit) in nvc0_blitctx_post_blit()
952 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_resource_resolve()
1074 nvc0_init_surface_functions(struct nvc0_context *nvc0) in nvc0_init_surface_functions()
Dnvc0_tex.c210 nvc0_validate_tic(struct nvc0_context *nvc0, int s) in nvc0_validate_tic()
278 nve4_validate_tic(struct nvc0_context *nvc0, unsigned s) in nve4_validate_tic()
334 void nvc0_validate_textures(struct nvc0_context *nvc0) in nvc0_validate_textures()
355 nvc0_validate_tsc(struct nvc0_context *nvc0, int s) in nvc0_validate_tsc()
399 nve4_validate_tsc(struct nvc0_context *nvc0, int s) in nve4_validate_tsc()
442 void nvc0_validate_samplers(struct nvc0_context *nvc0) in nvc0_validate_samplers()
467 nve4_set_tex_handles(struct nvc0_context *nvc0) in nve4_set_tex_handles()
Dnvc0_vbo_translate.c36 struct nvc0_context *,
40 nvc0_push_context_init(struct nvc0_context *nvc0, struct push_context *ctx) in nvc0_push_context_init()
59 nvc0_vertex_configure_translate(struct nvc0_context *nvc0, int32_t index_bias) in nvc0_vertex_configure_translate()
82 nvc0_push_map_idxbuf(struct push_context *ctx, struct nvc0_context *nvc0) in nvc0_push_map_idxbuf()
94 nvc0_push_map_edgeflag(struct push_context *ctx, struct nvc0_context *nvc0, in nvc0_push_map_edgeflag()
181 nvc0_push_setup_vertex_array(struct nvc0_context *nvc0, const unsigned count) in nvc0_push_setup_vertex_array()
430 nvc0_push_vbo(struct nvc0_context *nvc0, const struct pipe_draw_info *info) in nvc0_push_vbo()
566 struct nvc0_context *nvc0, in nvc0_push_upload_vertex_ids()

12