| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/ |
| H A D | nv40_verttex.c | 27 #include "nv30/nv30_context.h" 30 nv40_verttex_validate(struct nv30_context *nv30) argument 32 struct nouveau_pushbuf *push = nv30->base.pushbuf; 33 unsigned dirty = nv30->vertprog.dirty_samplers; 37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; 38 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; 48 nv30->vertprog.dirty_samplers = 0; 55 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv40_verttex_sampler_states_bind 59 nv30->vertprog.samplers[i] = hwcso[i]; 60 nv30 78 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv40_verttex_set_sampler_views [all...] |
| H A D | nv30_context.c | 30 #include "nv30/nv30-40_3d.xml.h" 33 #include "nv30/nv30_context.h" 34 #include "nv30/nv30_transfer.h" 35 #include "nv30/nv30_state.h" 41 struct nv30_context *nv30; local in function:nv30_context_kick_notify 45 nv30 = container_of(push->user_priv, struct nv30_context, bufctx); 46 screen = &nv30->screen->base; 75 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_context_flush 76 struct nouveau_pushbuf *push = nv30 92 struct nv30_context *nv30 = nv30_context(&nv->pipe); local in function:nv30_invalidate_resource_storage 154 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_context_destroy 193 struct nv30_context *nv30 = CALLOC_STRUCT(nv30_context); local in function:nv30_context_create [all...] |
| H A D | nv30_state_validate.c | 31 #include "nv30/nv30-40_3d.xml.h" 32 #include "nv30/nv30_context.h" 33 #include "nv30/nv30_format.h" 36 nv30_validate_fb(struct nv30_context *nv30) argument 38 struct pipe_screen *pscreen = &nv30->screen->base.base; 39 struct pipe_framebuffer_state *fb = &nv30->framebuffer; 40 struct nouveau_pushbuf *push = nv30->base.pushbuf; 41 struct nouveau_object *eng3d = nv30->screen->eng3d; 48 nv30 175 nv30_validate_blend_colour(struct nv30_context * nv30) argument 204 nv30_validate_stencil_ref(struct nv30_context * nv30) argument 215 nv30_validate_stipple(struct nv30_context * nv30) argument 224 nv30_validate_scissor(struct nv30_context * nv30) argument 246 nv30_validate_viewport(struct nv30_context * nv30) argument 275 nv30_validate_clip(struct nv30_context * nv30) argument 296 nv30_validate_blend(struct nv30_context * nv30) argument 305 nv30_validate_zsa(struct nv30_context * nv30) argument 314 nv30_validate_rasterizer(struct nv30_context * nv30) argument 323 nv30_validate_multisample(struct nv30_context * nv30) argument 342 nv30_validate_fragment(struct nv30_context * nv30) argument 354 nv30_validate_point_coord(struct nv30_context * nv30) argument 436 nv30_state_context_switch(struct nv30_context * nv30) argument 464 nv30_state_validate(struct nv30_context * nv30,uint32_t mask,bool hwtnl) argument 542 nv30_state_release(struct nv30_context * nv30) argument [all...] |
| H A D | nv30_vbo.c | 34 #include "nv30/nv30-40_3d.xml.h" 35 #include "nv30/nv30_context.h" 36 #include "nv30/nv30_format.h" 39 nv30_emit_vtxattr(struct nv30_context *nv30, struct pipe_vertex_buffer *vb, argument 43 struct nouveau_pushbuf *push = nv30->base.pushbuf; 48 data = nouveau_resource_map_offset(&nv30->base, res, vb->buffer_offset + 83 nv30_vbuf_range(struct nv30_context *nv30, int vbi, argument 86 assert(nv30->vbo_max_index != ~0); 87 *base = nv30 93 nv30_prevalidate_vbufs(struct nv30_context * nv30) argument 129 nv30_update_user_vbufs(struct nv30_context * nv30) argument 167 nv30_release_user_vbufs(struct nv30_context * nv30) argument 182 nv30_vbo_validate(struct nv30_context * nv30) argument 329 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_vertex_state_bind 336 nv30_draw_arrays(struct nv30_context * nv30,unsigned mode,unsigned start,unsigned count,unsigned instance_count) argument 460 nv30_draw_elements(struct nv30_context * nv30,bool shorten,const struct pipe_draw_info * info,unsigned mode,unsigned start,unsigned count,unsigned instance_count,int32_t index_bias,unsigned index_size) argument 562 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_draw_vbo [all...] |
| H A D | nv30_fragtex.c | 29 #include "nv30/nv30-40_3d.xml.h" 30 #include "nv30/nv30_context.h" 31 #include "nv30/nv30_format.h" 34 nv30_fragtex_validate(struct nv30_context *nv30) argument 36 struct pipe_screen *pscreen = &nv30->screen->base.base; 37 struct nouveau_object *eng3d = nv30->screen->eng3d; 38 struct nouveau_pushbuf *push = nv30->base.pushbuf; 39 unsigned dirty = nv30->fragprog.dirty_samplers; 43 struct nv30_sampler_view *sv = (void *)nv30 156 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_fragtex_sampler_states_bind 179 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_fragtex_set_sampler_views [all...] |
| H A D | nv30_fragprog.c | 30 #include "nv30/nv30-40_3d.xml.h" 31 #include "nv30/nv30_context.h" 32 #include "nv30/nvfx_shader.h" 35 nv30_fragprog_upload(struct nv30_context *nv30) argument 37 struct nouveau_context *nv = &nv30->base; 38 struct nv30_fragprog *fp = nv30->fragprog.program; 39 struct pipe_context *pipe = &nv30->base.pipe; 66 nv30_fragprog_validate(struct nv30_context *nv30) argument 68 struct nouveau_pushbuf *push = nv30 167 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_fp_state_bind [all...] |
| H A D | nv30_draw.c | 33 #include "nv30/nv30-40_3d.xml.h" 34 #include "nv30/nv30_context.h" 35 #include "nv30/nv30_format.h" 39 struct nv30_context *nv30; member in struct:nv30_render 72 struct nv30_context *nv30 = r->nv30; local in function:nv30_render_allocate_vertices 78 r->buffer = pipe_buffer_create(&nv30->screen->base.base, 95 &r->nv30->base.pipe, r->buffer, 109 pipe_buffer_unmap(&r->nv30 126 struct nv30_context *nv30 = r->nv30; local in function:nv30_render_draw_elements 169 struct nv30_context *nv30 = r->nv30; local in function:nv30_render_draw_arrays 278 nv30_render_validate(struct nv30_context * nv30) argument 383 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_render_vbo 474 nv30_render_create(struct nv30_context * nv30) argument 501 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_draw_init [all...] |
| H A D | nv30_vertprog.c | 31 #include "nv30/nv30-40_3d.xml.h" 32 #include "nv30/nv30_context.h" 33 #include "nv30/nvfx_shader.h" 34 #include "nv30/nv30_state.h" 55 nv30_vertprog_validate(struct nv30_context *nv30) argument 57 struct nouveau_pushbuf *push = nv30->base.pushbuf; 58 struct nouveau_object *eng3d = nv30->screen->eng3d; 59 struct nv30_vertprog *vp = nv30->vertprog.program; 60 struct nv30_fragprog *fp = nv30 252 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_vp_state_bind [all...] |
| H A D | nv30_state.c | 32 #include "nv30/nv30-40_3d.xml.h" 33 #include "nv30/nv30_context.h" 34 #include "nv30/nv30_winsys.h" 121 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_blend_state_bind 123 nv30->blend = hwcso; 124 nv30->dirty |= NV30_NEW_BLEND; 198 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_rasterizer_state_bind 200 nv30->rast = hwcso; 201 nv30 276 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_zsa_state_bind 292 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_blend_color 302 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_stencil_ref 312 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_clip_state 322 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_sample_mask 334 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_constant_buffer 378 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_framebuffer_state 407 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_polygon_stipple 419 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_scissor_states 431 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_viewport_states 444 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_vertex_buffers [all...] |
| H A D | nv30_resource.c | 29 #include "nv30/nv30_screen.h" 30 #include "nv30/nv30_context.h" 31 #include "nv30/nv30_resource.h" 32 #include "nv30/nv30_transfer.h" 37 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_memory_barrier 41 for (i = 0; i < nv30->num_vtxbufs; ++i) { 42 if (!nv30->vtxbuf[i].buffer.resource) 44 if (nv30->vtxbuf[i].buffer.resource->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) 45 nv30->base.vbo_dirty = true;
|
| H A D | nv30_clear.c | 31 #include "nv30/nv30-40_3d.xml.h" 32 #include "nv30/nv30_context.h" 33 #include "nv30/nv30_format.h" 56 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_clear 57 struct nouveau_pushbuf *push = nv30->base.pushbuf; 58 struct pipe_framebuffer_state *fb = &nv30->framebuffer; 61 if (!nv30_state_validate(nv30, NV30_NEW_FRAMEBUFFER | NV30_NEW_SCISSOR, true)) 81 nv30->dirty |= NV30_NEW_ZSA; 86 if (nv30 107 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_clear_render_target 167 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_clear_depth_stencil [all...] |
| H A D | nv30_context.h | 7 #include "nv30/nv30_screen.h" 8 #include "nv30/nv30_state.h" 140 nv30_vbo_validate(struct nv30_context *nv30); 155 nv30_vertprog_validate(struct nv30_context *nv30); 161 nv30_fragprog_validate(struct nv30_context *nv30); 167 nv30_texture_validate(struct nv30_context *nv30); 173 nv30_fragtex_validate(struct nv30_context *nv30); 179 nv40_verttex_validate(struct nv30_context *nv30); 200 nv30_push_vbo(struct nv30_context *nv30, const struct pipe_draw_info *info, 212 nv30_state_validate(struct nv30_context *nv30, uint32_ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/ |
| H A D | nv30_context.c | 30 #include "nv30/nv30-40_3d.xml.h" 33 #include "nv30/nv30_context.h" 34 #include "nv30/nv30_transfer.h" 35 #include "nv30/nv30_state.h" 41 struct nv30_context *nv30; local in function:nv30_context_kick_notify 45 nv30 = container_of(push->user_priv, nv30, bufctx); 46 screen = &nv30->screen->base; 75 struct nv30_context *nv30 local in function:nv30_context_flush 92 struct nv30_context *nv30 = nv30_context(&nv->pipe); local in function:nv30_invalidate_resource_storage 154 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_context_destroy 193 struct nv30_context *nv30 = CALLOC_STRUCT(nv30_context); local in function:nv30_context_create [all...] |
| H A D | nv40_verttex.c | 27 #include "nv30/nv30_context.h" 30 nv40_verttex_validate(struct nv30_context *nv30) argument 32 struct nouveau_pushbuf *push = nv30->base.pushbuf; 33 unsigned dirty = nv30->vertprog.dirty_samplers; 37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; 38 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; 48 nv30->vertprog.dirty_samplers = 0; 55 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv40_verttex_sampler_states_bind 59 nv30->vertprog.samplers[i] = hwcso[i]; 60 nv30 77 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv40_verttex_set_sampler_views [all...] |
| H A D | nv30_state_validate.c | 31 #include "nv30/nv30-40_3d.xml.h" 32 #include "nv30/nv30_context.h" 33 #include "nv30/nv30_format.h" 36 nv30_validate_fb(struct nv30_context *nv30) argument 38 struct pipe_screen *pscreen = &nv30->screen->base.base; 39 struct pipe_framebuffer_state *fb = &nv30->framebuffer; 40 struct nouveau_pushbuf *push = nv30->base.pushbuf; 41 struct nouveau_object *eng3d = nv30->screen->eng3d; 48 nv30 175 nv30_validate_blend_colour(struct nv30_context * nv30) argument 204 nv30_validate_stencil_ref(struct nv30_context * nv30) argument 215 nv30_validate_stipple(struct nv30_context * nv30) argument 224 nv30_validate_scissor(struct nv30_context * nv30) argument 246 nv30_validate_viewport(struct nv30_context * nv30) argument 275 nv30_validate_clip(struct nv30_context * nv30) argument 296 nv30_validate_blend(struct nv30_context * nv30) argument 305 nv30_validate_zsa(struct nv30_context * nv30) argument 314 nv30_validate_rasterizer(struct nv30_context * nv30) argument 323 nv30_validate_multisample(struct nv30_context * nv30) argument 342 nv30_validate_fragment(struct nv30_context * nv30) argument 354 nv30_validate_point_coord(struct nv30_context * nv30) argument 436 nv30_state_context_switch(struct nv30_context * nv30) argument 464 nv30_state_validate(struct nv30_context * nv30,uint32_t mask,bool hwtnl) argument 542 nv30_state_release(struct nv30_context * nv30) argument [all...] |
| H A D | nv30_vbo.c | 33 #include "nv30/nv30-40_3d.xml.h" 34 #include "nv30/nv30_context.h" 35 #include "nv30/nv30_format.h" 38 nv30_emit_vtxattr(struct nv30_context *nv30, struct pipe_vertex_buffer *vb, argument 42 struct nouveau_pushbuf *push = nv30->base.pushbuf; 49 data = nouveau_resource_map_offset(&nv30->base, res, vb->buffer_offset + 84 nv30_vbuf_range(struct nv30_context *nv30, int vbi, argument 87 assert(nv30->vbo_max_index != ~0); 88 *base = nv30 94 nv30_prevalidate_vbufs(struct nv30_context * nv30) argument 130 nv30_update_user_vbufs(struct nv30_context * nv30) argument 168 nv30_release_user_vbufs(struct nv30_context * nv30) argument 183 nv30_vbo_validate(struct nv30_context * nv30) argument 330 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_vertex_state_bind 337 nv30_draw_arrays(struct nv30_context * nv30,unsigned mode,unsigned start,unsigned count,unsigned instance_count) argument 461 nv30_draw_elements(struct nv30_context * nv30,bool shorten,const struct pipe_draw_info * info,unsigned mode,unsigned start,unsigned count,unsigned instance_count,int32_t index_bias,unsigned index_size) argument 551 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_draw_vbo [all...] |
| H A D | nv30_fragtex.c | 29 #include "nv30/nv30-40_3d.xml.h" 30 #include "nv30/nv30_context.h" 31 #include "nv30/nv30_format.h" 34 nv30_fragtex_validate(struct nv30_context *nv30) argument 36 struct pipe_screen *pscreen = &nv30->screen->base.base; 37 struct nouveau_object *eng3d = nv30->screen->eng3d; 38 struct nouveau_pushbuf *push = nv30->base.pushbuf; 39 unsigned dirty = nv30->fragprog.dirty_samplers; 43 struct nv30_sampler_view *sv = (void *)nv30 156 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_fragtex_sampler_states_bind 178 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_fragtex_set_sampler_views [all...] |
| H A D | nv30_fragprog.c | 30 #include "nv30/nv30-40_3d.xml.h" 31 #include "nv30/nv30_context.h" 32 #include "nv30/nvfx_shader.h" 35 nv30_fragprog_upload(struct nv30_context *nv30) argument 37 struct nouveau_context *nv = &nv30->base; 38 struct nv30_fragprog *fp = nv30->fragprog.program; 39 struct pipe_context *pipe = &nv30->base.pipe; 66 nv30_fragprog_validate(struct nv30_context *nv30) argument 68 struct nouveau_pushbuf *push = nv30 167 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_fp_state_bind [all...] |
| H A D | nv30_draw.c | 33 #include "nv30/nv30-40_3d.xml.h" 34 #include "nv30/nv30_context.h" 35 #include "nv30/nv30_format.h" 39 struct nv30_context *nv30; member in struct:nv30_render 72 struct nv30_context *nv30 = r->nv30; local in function:nv30_render_allocate_vertices 78 r->buffer = pipe_buffer_create(&nv30->screen->base.base, 95 &r->nv30->base.pipe, r->buffer, 109 pipe_buffer_unmap(&r->nv30 126 struct nv30_context *nv30 = r->nv30; local in function:nv30_render_draw_elements 169 struct nv30_context *nv30 = r->nv30; local in function:nv30_render_draw_arrays 278 nv30_render_validate(struct nv30_context * nv30) argument 381 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_render_vbo 472 nv30_render_create(struct nv30_context * nv30) argument 499 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_draw_init [all...] |
| H A D | nv30_resource.c | 29 #include "nv30/nv30_screen.h" 30 #include "nv30/nv30_context.h" 31 #include "nv30/nv30_resource.h" 32 #include "nv30/nv30_transfer.h" 37 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_memory_barrier 41 for (i = 0; i < nv30->num_vtxbufs; ++i) { 42 if (!nv30->vtxbuf[i].buffer.resource) 44 if (nv30->vtxbuf[i].buffer.resource->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) 45 nv30->base.vbo_dirty = true;
|
| H A D | nv30_vertprog.c | 31 #include "nv30/nv30-40_3d.xml.h" 32 #include "nv30/nv30_context.h" 33 #include "nv30/nvfx_shader.h" 34 #include "nv30/nv30_state.h" 55 nv30_vertprog_validate(struct nv30_context *nv30) argument 57 struct nouveau_pushbuf *push = nv30->base.pushbuf; 58 struct nouveau_object *eng3d = nv30->screen->eng3d; 59 struct nv30_vertprog *vp = nv30->vertprog.program; 60 struct nv30_fragprog *fp = nv30 252 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_vp_state_bind [all...] |
| H A D | nv30_state.c | 32 #include "nv30/nv30-40_3d.xml.h" 33 #include "nv30/nv30_context.h" 34 #include "nv30/nv30_winsys.h" 121 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_blend_state_bind 123 nv30->blend = hwcso; 124 nv30->dirty |= NV30_NEW_BLEND; 198 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_rasterizer_state_bind 200 nv30->rast = hwcso; 201 nv30 276 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_zsa_state_bind 292 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_blend_color 302 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_stencil_ref 312 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_clip_state 322 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_sample_mask 333 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_constant_buffer 367 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_framebuffer_state 396 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_polygon_stipple 408 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_scissor_states 420 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_viewport_states 431 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_set_vertex_buffers [all...] |
| H A D | nv30_clear.c | 31 #include "nv30/nv30-40_3d.xml.h" 32 #include "nv30/nv30_context.h" 33 #include "nv30/nv30_format.h" 56 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_clear 57 struct nouveau_pushbuf *push = nv30->base.pushbuf; 58 struct pipe_framebuffer_state *fb = &nv30->framebuffer; 61 if (!nv30_state_validate(nv30, NV30_NEW_FRAMEBUFFER | NV30_NEW_SCISSOR, true)) 81 nv30->dirty |= NV30_NEW_ZSA; 86 if (nv30 107 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_clear_render_target 167 struct nv30_context *nv30 = nv30_context(pipe); local in function:nv30_clear_depth_stencil [all...] |
| H A D | nv30_context.h | 7 #include "nv30/nv30_screen.h" 8 #include "nv30/nv30_state.h" 140 nv30_vbo_validate(struct nv30_context *nv30); 155 nv30_vertprog_validate(struct nv30_context *nv30); 161 nv30_fragprog_validate(struct nv30_context *nv30); 167 nv30_texture_validate(struct nv30_context *nv30); 173 nv30_fragtex_validate(struct nv30_context *nv30); 179 nv40_verttex_validate(struct nv30_context *nv30); 198 nv30_push_vbo(struct nv30_context *nv30, const struct pipe_draw_info *info); 207 nv30_state_validate(struct nv30_context *nv30, uint32_ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/ |
| H A D | Makefile.sources | 29 nv30/nv01_2d.xml.h \ 30 nv30/nv30-40_3d.xml.h \ 31 nv30/nv30_clear.c \ 32 nv30/nv30_context.c \ 33 nv30/nv30_context.h \ 34 nv30/nv30_draw.c \ 35 nv30/nv30_format.c \ 36 nv30/nv30_format.h \ 37 nv30/nv30_fragpro [all...] |