Home
last modified time | relevance | path

Searched refs:nv30 (Results 1 - 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_context.c30 #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; in nv30_context_kick_notify() local
45 nv30 = container_of(push->user_priv, struct nv30_context, bufctx); in nv30_context_kick_notify()
46 screen = &nv30->screen->base; in nv30_context_kick_notify()
75 struct nv30_context *nv30 = nv30_context(pipe); in nv30_context_flush() local
76 struct nouveau_pushbuf *push = nv30 in nv30_context_flush()
92 struct nv30_context *nv30 = nv30_context(&nv->pipe); nv30_invalidate_resource_storage() local
154 struct nv30_context *nv30 = nv30_context(pipe); nv30_context_destroy() local
193 struct nv30_context *nv30 = CALLOC_STRUCT(nv30_context); nv30_context_create() local
[all...]
H A Dnv30_state_validate.c31 #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) in nv30_validate_fb() argument
38 struct pipe_screen *pscreen = &nv30->screen->base.base; in nv30_validate_fb()
39 struct pipe_framebuffer_state *fb = &nv30->framebuffer; in nv30_validate_fb()
40 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_fb()
41 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_validate_fb()
48 nv30 in nv30_validate_fb()
175 nv30_validate_blend_colour(struct nv30_context *nv30) nv30_validate_blend_colour() argument
204 nv30_validate_stencil_ref(struct nv30_context *nv30) nv30_validate_stencil_ref() argument
215 nv30_validate_stipple(struct nv30_context *nv30) nv30_validate_stipple() argument
224 nv30_validate_scissor(struct nv30_context *nv30) nv30_validate_scissor() argument
246 nv30_validate_viewport(struct nv30_context *nv30) nv30_validate_viewport() argument
275 nv30_validate_clip(struct nv30_context *nv30) nv30_validate_clip() argument
296 nv30_validate_blend(struct nv30_context *nv30) nv30_validate_blend() argument
305 nv30_validate_zsa(struct nv30_context *nv30) nv30_validate_zsa() argument
314 nv30_validate_rasterizer(struct nv30_context *nv30) nv30_validate_rasterizer() argument
323 nv30_validate_multisample(struct nv30_context *nv30) nv30_validate_multisample() argument
342 nv30_validate_fragment(struct nv30_context *nv30) nv30_validate_fragment() argument
354 nv30_validate_point_coord(struct nv30_context *nv30) nv30_validate_point_coord() argument
436 nv30_state_context_switch(struct nv30_context *nv30) nv30_state_context_switch() argument
464 nv30_state_validate(struct nv30_context *nv30, uint32_t mask, bool hwtnl) nv30_state_validate() argument
542 nv30_state_release(struct nv30_context *nv30) nv30_state_release() argument
[all...]
H A Dnv30_vbo.c34 #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, in nv30_emit_vtxattr() argument
43 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_emit_vtxattr()
48 data = nouveau_resource_map_offset(&nv30->base, res, vb->buffer_offset + in nv30_emit_vtxattr()
83 nv30_vbuf_range(struct nv30_context *nv30, int vbi, in nv30_vbuf_range() argument
86 assert(nv30->vbo_max_index != ~0); in nv30_vbuf_range()
87 *base = nv30 in nv30_vbuf_range()
93 nv30_prevalidate_vbufs(struct nv30_context *nv30) nv30_prevalidate_vbufs() argument
129 nv30_update_user_vbufs(struct nv30_context *nv30) nv30_update_user_vbufs() argument
167 nv30_release_user_vbufs(struct nv30_context *nv30) nv30_release_user_vbufs() argument
182 nv30_vbo_validate(struct nv30_context *nv30) global() argument
329 struct nv30_context *nv30 = nv30_context(pipe); global() local
336 nv30_draw_arrays(struct nv30_context *nv30, unsigned mode, unsigned start, unsigned count, unsigned instance_count) global() 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) global() argument
562 struct nv30_context *nv30 = nv30_context(pipe); global() local
[all...]
H A Dnv40_verttex.c27 #include "nv30/nv30_context.h"
30 nv40_verttex_validate(struct nv30_context *nv30) in nv40_verttex_validate() argument
32 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv40_verttex_validate()
33 unsigned dirty = nv30->vertprog.dirty_samplers; in nv40_verttex_validate()
37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; in nv40_verttex_validate()
38 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; in nv40_verttex_validate()
48 nv30->vertprog.dirty_samplers = 0; in nv40_verttex_validate()
55 struct nv30_context *nv30 = nv30_context(pipe); in nv40_verttex_sampler_states_bind() local
59 nv30->vertprog.samplers[i] = hwcso[i]; in nv40_verttex_sampler_states_bind()
60 nv30 in nv40_verttex_sampler_states_bind()
78 struct nv30_context *nv30 = nv30_context(pipe); nv40_verttex_set_sampler_views() local
[all...]
H A Dnv30_fragtex.c29 #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) in nv30_fragtex_validate() argument
36 struct pipe_screen *pscreen = &nv30->screen->base.base; in nv30_fragtex_validate()
37 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_fragtex_validate()
38 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_fragtex_validate()
39 unsigned dirty = nv30->fragprog.dirty_samplers; in nv30_fragtex_validate()
43 struct nv30_sampler_view *sv = (void *)nv30 in nv30_fragtex_validate()
156 struct nv30_context *nv30 = nv30_context(pipe); nv30_fragtex_sampler_states_bind() local
179 struct nv30_context *nv30 = nv30_context(pipe); nv30_fragtex_set_sampler_views() local
[all...]
H A Dnv30_state.c32 #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); in nv30_blend_state_bind() local
123 nv30->blend = hwcso; in nv30_blend_state_bind()
124 nv30->dirty |= NV30_NEW_BLEND; in nv30_blend_state_bind()
198 struct nv30_context *nv30 = nv30_context(pipe); in nv30_rasterizer_state_bind() local
200 nv30->rast = hwcso; in nv30_rasterizer_state_bind()
201 nv30 in nv30_rasterizer_state_bind()
276 struct nv30_context *nv30 = nv30_context(pipe); nv30_zsa_state_bind() local
292 struct nv30_context *nv30 = nv30_context(pipe); nv30_set_blend_color() local
302 struct nv30_context *nv30 = nv30_context(pipe); nv30_set_stencil_ref() local
312 struct nv30_context *nv30 = nv30_context(pipe); nv30_set_clip_state() local
322 struct nv30_context *nv30 = nv30_context(pipe); nv30_set_sample_mask() local
334 struct nv30_context *nv30 = nv30_context(pipe); nv30_set_constant_buffer() local
378 struct nv30_context *nv30 = nv30_context(pipe); nv30_set_framebuffer_state() local
407 struct nv30_context *nv30 = nv30_context(pipe); nv30_set_polygon_stipple() local
419 struct nv30_context *nv30 = nv30_context(pipe); nv30_set_scissor_states() local
431 struct nv30_context *nv30 = nv30_context(pipe); nv30_set_viewport_states() local
444 struct nv30_context *nv30 = nv30_context(pipe); nv30_set_vertex_buffers() local
[all...]
H A Dnv30_draw.c33 #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
72 struct nv30_context *nv30 = r->nv30; in nv30_render_allocate_vertices() local
78 r->buffer = pipe_buffer_create(&nv30->screen->base.base, in nv30_render_allocate_vertices()
95 &r->nv30->base.pipe, r->buffer, in nv30_render_map_vertices()
109 pipe_buffer_unmap(&r->nv30 in nv30_render_unmap_vertices()
126 struct nv30_context *nv30 = r->nv30; nv30_render_draw_elements() local
169 struct nv30_context *nv30 = r->nv30; nv30_render_draw_arrays() local
278 nv30_render_validate(struct nv30_context *nv30) nv30_render_validate() argument
383 struct nv30_context *nv30 = nv30_context(pipe); nv30_render_vbo() local
474 nv30_render_create(struct nv30_context *nv30) nv30_render_create() argument
501 struct nv30_context *nv30 = nv30_context(pipe); nv30_draw_init() local
[all...]
H A Dnv30_fragprog.c31 #include "nv30/nv30-40_3d.xml.h"
32 #include "nv30/nv30_context.h"
33 #include "nv30/nvfx_shader.h"
36 nv30_fragprog_upload(struct nv30_context *nv30) in nv30_fragprog_upload() argument
38 struct nouveau_context *nv = &nv30->base; in nv30_fragprog_upload()
39 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_upload()
40 struct pipe_context *pipe = &nv30->base.pipe; in nv30_fragprog_upload()
67 nv30_fragprog_validate(struct nv30_context *nv30) in nv30_fragprog_validate() argument
69 struct nouveau_pushbuf *push = nv30 in nv30_fragprog_validate()
175 struct nv30_context *nv30 = nv30_context(pipe); nv30_fp_state_bind() local
[all...]
H A Dnv30_miptree.c32 #include "nv30/nv30_screen.h"
33 #include "nv30/nv30_context.h"
34 #include "nv30/nv30_resource.h"
35 #include "nv30/nv30_transfer.h"
149 struct nv30_context *nv30 = nv30_context(pipe); in nv30_resource_copy_region() local
153 nouveau_copy_buffer(&nv30->base, in nv30_resource_copy_region()
164 nv30_transfer_rect(nv30, NEAREST, &src, &dst); in nv30_resource_copy_region()
168 nv30_resource_resolve(struct nv30_context *nv30, in nv30_resource_resolve() argument
212 nv30_transfer_rect(nv30, BILINEAR, &src, &dst); in nv30_resource_resolve()
221 struct nv30_context *nv30 in nv30_blit() local
285 struct nv30_context *nv30 = nv30_context(pipe); nv30_miptree_transfer_map() local
377 struct nv30_context *nv30 = nv30_context(pipe); nv30_miptree_transfer_unmap() local
[all...]
H A Dnv30_vertprog.c32 #include "nv30/nv30-40_3d.xml.h"
33 #include "nv30/nv30_context.h"
34 #include "nv30/nvfx_shader.h"
35 #include "nv30/nv30_state.h"
56 nv30_vertprog_validate(struct nv30_context *nv30) in nv30_vertprog_validate() argument
58 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_vertprog_validate()
59 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_vertprog_validate()
60 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_vertprog_validate()
61 struct nv30_fragprog *fp = nv30 in nv30_vertprog_validate()
260 struct nv30_context *nv30 = nv30_context(pipe); nv30_vp_state_bind() local
[all...]
H A Dnv30_transfer.c27 struct nv30_context *nv30, enum nv30_transfer_filter filter, \
34 #include "nv30/nv01_2d.xml.h"
35 #include "nv30/nv30-40_3d.xml.h"
37 #include "nv30/nv30_context.h"
38 #include "nv30/nv30_transfer.h"
57 if (nv30->screen->eng3d->oclass < NV40_3D_CLASS) in nv30_transfer_blit()
71 nv30_transfer_rect_vertprog(struct nv30_context *nv30) in nv30_transfer_rect_vertprog() argument
73 struct nouveau_heap *heap = nv30->screen->vp_exec_heap; in nv30_transfer_rect_vertprog()
76 vp = nv30 in nv30_transfer_rect_vertprog()
112 nv30_transfer_rect_fragprog(struct nv30_context *nv30) nv30_transfer_rect_fragprog() argument
652 nv30_transfer_rect(struct nv30_context *nv30, enum nv30_transfer_filter filter, struct nv30_rect *src, struct nv30_rect *dst) nv30_transfer_rect() argument
[all...]
H A Dnv30_clear.c31 #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); in nv30_clear() local
57 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_clear()
58 struct pipe_framebuffer_state *fb = &nv30->framebuffer; in nv30_clear()
61 if (!nv30_state_validate(nv30, NV30_NEW_FRAMEBUFFER, true)) in nv30_clear()
97 nv30->dirty |= NV30_NEW_ZSA; in nv30_clear()
102 if (nv30 in nv30_clear()
127 struct nv30_context *nv30 = nv30_context(pipe); nv30_clear_render_target() local
188 struct nv30_context *nv30 = nv30_context(pipe); nv30_clear_depth_stencil() local
[all...]
H A Dnv30_push.c33 #include "nv30/nv30-40_3d.xml.h"
34 #include "nv30/nv30_context.h"
35 #include "nv30/nv30_resource.h"
198 nv30_push_vbo(struct nv30_context *nv30, const struct pipe_draw_info *info, in nv30_push_vbo() argument
205 ctx.push = nv30->base.pushbuf; in nv30_push_vbo()
206 ctx.translate = nv30->vertex->translate; in nv30_push_vbo()
207 ctx.packet_vertex_limit = nv30->vertex->vtx_per_packet_max; in nv30_push_vbo()
208 ctx.vertex_words = nv30->vertex->vtx_size; in nv30_push_vbo()
210 for (i = 0; i < nv30 in nv30_push_vbo()
[all...]
H A Dnv30_query.c27 #include "nv30/nv30-40_3d.xml.h"
28 #include "nv30/nv30_screen.h"
29 #include "nv30/nv30_context.h"
149 struct nv30_context *nv30 = nv30_context(pipe); in nv30_query_begin() local
151 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_query_begin()
155 q->qo[0] = nv30_query_object_new(nv30->screen); in nv30_query_begin()
179 struct nv30_context *nv30 = nv30_context(pipe); in nv30_query_end() local
180 struct nv30_screen *screen = nv30->screen; in nv30_query_end()
182 struct nouveau_pushbuf *push = nv30 in nv30_query_end()
242 struct nv30_context *nv30 = nv30_context(pipe); nv40_query_render_condition() local
[all...]
H A Dnv30_context.h7 #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...]
H A Dnv30_resource.c29 #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); in nv30_memory_barrier() local
41 for (i = 0; i < nv30->num_vtxbufs; ++i) { in nv30_memory_barrier()
42 if (!nv30->vtxbuf[i].buffer.resource) in nv30_memory_barrier()
44 if (nv30->vtxbuf[i].buffer.resource->flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) in nv30_memory_barrier()
45 nv30->base.vbo_dirty = true; in nv30_memory_barrier()
H A Dnv30_format.h17 unsigned nv30; member
H A Dnv30_format.c26 #include "nv30/nv30-40_3d.xml.h"
27 #include "nv30/nv30_context.h"
28 #include "nv30/nv30_format.h"
199 .nv30 = NV30_3D_TEX_FORMAT_FORMAT_##b, \

Completed in 8 milliseconds