HomeSort by relevance Sort by last modified time
    Searched refs:nv30 (Results 1 - 18 of 18) sorted by null

  /external/mesa3d/src/gallium/drivers/nouveau/nv30/
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
45 nv30 = container_of(push->user_priv, nv30, bufctx);
46 screen = &nv30->screen->base;
75 struct nv30_context *nv30 = nv30_context(pipe) local
92 struct nv30_context *nv30 = nv30_context(&nv->pipe); local
154 struct nv30_context *nv30 = nv30_context(pipe); local
193 struct nv30_context *nv30 = CALLOC_STRUCT(nv30_context); local
    [all...]
nv40_verttex.c 27 #include "nv30/nv30_context.h"
30 nv40_verttex_validate(struct nv30_context *nv30)
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
59 nv30->vertprog.samplers[i] = hwcso[i];
60 nv30->vertprog.dirty_samplers |= (1 << i)
77 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
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)
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->state.rt_enable = (NV30_3D_RT_ENABLE_COLOR0 << fb->nr_cbufs) - 1
    [all...]
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,
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,
87 assert(nv30->vbo_max_index != ~0);
88 *base = nv30->vbo_min_index * nv30->vtxbuf[vbi].stride
330 struct nv30_context *nv30 = nv30_context(pipe); local
551 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
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)
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->fragprog.textures[unit]
156 struct nv30_context *nv30 = nv30_context(pipe); local
178 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
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)
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)
68 struct nouveau_pushbuf *push = nv30->base.pushbuf
167 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
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
78 r->buffer = pipe_buffer_create(&nv30->screen->base.base,
95 &r->nv30->base.pipe, r->buffer,
109 pipe_buffer_unmap(&r->nv30->base.pipe, r->transfer)
126 struct nv30_context *nv30 = r->nv30; local
169 struct nv30_context *nv30 = r->nv30; local
381 struct nv30_context *nv30 = nv30_context(pipe); local
499 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
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
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;
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)
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->fragprog.program
252 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
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
123 nv30->blend = hwcso;
124 nv30->dirty |= NV30_NEW_BLEND;
198 struct nv30_context *nv30 = nv30_context(pipe); local
200 nv30->rast = hwcso;
201 nv30->dirty |= NV30_NEW_RASTERIZER
276 struct nv30_context *nv30 = nv30_context(pipe); local
292 struct nv30_context *nv30 = nv30_context(pipe); local
302 struct nv30_context *nv30 = nv30_context(pipe); local
312 struct nv30_context *nv30 = nv30_context(pipe); local
322 struct nv30_context *nv30 = nv30_context(pipe); local
333 struct nv30_context *nv30 = nv30_context(pipe); local
367 struct nv30_context *nv30 = nv30_context(pipe); local
396 struct nv30_context *nv30 = nv30_context(pipe); local
408 struct nv30_context *nv30 = nv30_context(pipe); local
420 struct nv30_context *nv30 = nv30_context(pipe); local
431 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
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
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->screen->eng3d->oclass < NV40_3D_CLASS)
107 struct nv30_context *nv30 = nv30_context(pipe); local
167 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
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_t mask, bool hwtnl)
    [all...]
nv30_miptree.c 32 #include "nv30/nv30_screen.h"
33 #include "nv30/nv30_context.h"
34 #include "nv30/nv30_resource.h"
35 #include "nv30/nv30_transfer.h"
130 struct nv30_context *nv30 = nv30_context(pipe); local
134 nouveau_copy_buffer(&nv30->base,
145 nv30_transfer_rect(nv30, NEAREST, &src, &dst);
149 nv30_resource_resolve(struct nv30_context *nv30,
193 nv30_transfer_rect(nv30, BILINEAR, &src, &dst);
202 struct nv30_context *nv30 = nv30_context(pipe) local
266 struct nv30_context *nv30 = nv30_context(pipe); local
339 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_push.c 33 #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)
204 ctx.push = nv30->base.pushbuf;
205 ctx.translate = nv30->vertex->translate;
206 ctx.packet_vertex_limit = nv30->vertex->vtx_per_packet_max;
207 ctx.vertex_words = nv30->vertex->vtx_size;
209 for (i = 0; i < nv30->num_vtxbufs; ++i)
    [all...]
nv30_query.c 27 #include "nv30/nv30-40_3d.xml.h"
28 #include "nv30/nv30_screen.h"
29 #include "nv30/nv30_context.h"
152 struct nv30_context *nv30 = nv30_context(pipe); local
154 struct nouveau_pushbuf *push = nv30->base.pushbuf;
158 q->qo[0] = nv30_query_object_new(nv30->screen);
182 struct nv30_context *nv30 = nv30_context(pipe); local
183 struct nv30_screen *screen = nv30->screen;
185 struct nouveau_pushbuf *push = nv30->base.pushbuf
245 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_transfer.c 27 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)
71 nv30_transfer_rect_vertprog(struct nv30_context *nv30)
73 struct nouveau_heap *heap = nv30->screen->vp_exec_heap;
76 vp = nv30->blit_vp
    [all...]
nv30_format.h 17 unsigned nv30; member in struct:nv30_texfmt
nv30_format.c 26 #include "nv30/nv30-40_3d.xml.h"
27 #include "nv30/nv30_context.h"
28 #include "nv30/nv30_format.h"
197 .nv30 = NV30_3D_TEX_FORMAT_FORMAT_##b, \

Completed in 428 milliseconds