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

1 2

  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
nv40_verttex.c 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];
47 nv30->vertprog.dirty_samplers = 0;
54 struct nv30_context *nv30 = nv30_context(pipe); local
58 nv30->vertprog.samplers[i] = hwcso[i];
59 nv30->vertprog.dirty_samplers |= (1 << i);
62 for (; i < nv30->vertprog.num_samplers; i++)
76 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_context.c 29 #include "nv30-40_3d.xml.h"
40 struct nv30_context *nv30; local
44 nv30 = container_of(push->user_priv, nv30, bufctx);
45 screen = &nv30->screen->base;
72 struct nv30_context *nv30 = nv30_context(pipe); local
73 struct nouveau_pushbuf *push = nv30->base.pushbuf;
76 nouveau_fence_ref(nv30->screen->base.fence.current,
85 struct nv30_context *nv30 = nv30_context(pipe); local
87 if (nv30->draw
109 struct nv30_context *nv30 = CALLOC_STRUCT(nv30_context); local
    [all...]
nv30_state_validate.c 31 #include "nv30-40_3d.xml.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;
49 if (nv30->state.rt_enable > 1)
50 nv30->state.rt_enable |= NV30_3D_RT_ENABLE_MRT;
86 if (nv30->state.rt_enable)
    [all...]
nv30_vbo.c 32 #include "nv30-40_3d.xml.h"
37 nv30_emit_vtxattr(struct nv30_context *nv30, struct pipe_vertex_buffer *vb,
41 struct nouveau_pushbuf *push = nv30->base.pushbuf;
46 data = nouveau_resource_map_offset(&nv30->base, res, vb->buffer_offset +
81 nv30_vbuf_range(struct nv30_context *nv30, int vbi,
84 assert(nv30->vbo_max_index != ~0);
85 *base = nv30->vbo_min_index * nv30->vtxbuf[vbi].stride;
86 *size = (nv30->vbo_max_index -
87 nv30->vbo_min_index + 1) * nv30->vtxbuf[vbi].stride
321 struct nv30_context *nv30 = nv30_context(pipe); local
543 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_fragtex.c 29 #include "nv30-40_3d.xml.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];
44 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit];
98 if (fmt->nv30 == NV30_3D_TEX_FORMAT_FORMAT_Z16) {
104 if (fmt->nv30 == NV30_3D_TEX_FORMAT_FORMAT_Z24)
156 struct nv30_context *nv30 = nv30_context(pipe); local
178 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_fragprog.c 29 #include "nv30-40_3d.xml.h"
34 nv30_fragprog_upload(struct nv30_context *nv30)
36 struct nouveau_context *nv = &nv30->base;
37 struct nv30_fragprog *fp = nv30->fragprog.program;
38 struct pipe_context *pipe = &nv30->base.pipe;
61 nv30_fragprog_validate(struct nv30_context *nv30)
63 struct nouveau_pushbuf *push = nv30->base.pushbuf;
64 struct nouveau_object *eng3d = nv30->screen->eng3d;
65 struct nv30_fragprog *fp = nv30->fragprog.program;
70 _nvfx_fragprog_translate(nv30, fp, FALSE)
158 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
Makefile 4 LIBNAME = nv30
nv30_draw.c 33 #include "nv30-40_3d.xml.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,
94 char *map = pipe_buffer_map(&r->nv30->base.pipe, r->buffer,
105 pipe_buffer_unmap(&r->nv30->base.pipe, r->transfer);
121 struct nv30_context *nv30 = r->nv30; local
122 struct nouveau_pushbuf *push = nv30->screen->base.pushbuf
164 struct nv30_context *nv30 = r->nv30; local
367 struct nv30_context *nv30 = nv30_context(pipe); local
474 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_state.c 30 #include "nv30-40_3d.xml.h"
119 struct nv30_context *nv30 = nv30_context(pipe); local
121 nv30->blend = hwcso;
122 nv30->dirty |= NV30_NEW_BLEND;
196 struct nv30_context *nv30 = nv30_context(pipe); local
198 nv30->rast = hwcso;
199 nv30->dirty |= NV30_NEW_RASTERIZER;
266 struct nv30_context *nv30 = nv30_context(pipe); local
268 nv30->zsa = hwcso;
269 nv30->dirty |= NV30_NEW_ZSA
282 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
356 struct nv30_context *nv30 = nv30_context(pipe); local
368 struct nv30_context *nv30 = nv30_context(pipe); local
378 struct nv30_context *nv30 = nv30_context(pipe); local
388 struct nv30_context *nv30 = nv30_context(pipe); local
399 struct nv30_context *nv30 = nv30_context(pipe); local
419 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_vertprog.c 30 #include "nv30-40_3d.xml.h"
53 nv30_vertprog_validate(struct nv30_context *nv30)
55 struct nouveau_pushbuf *push = nv30->base.pushbuf;
56 struct nouveau_object *eng3d = nv30->screen->eng3d;
57 struct nv30_vertprog *vp = nv30->vertprog.program;
58 struct nv30_fragprog *fp = nv30->fragprog.program;
63 if (nv30->dirty & NV30_NEW_FRAGPROG) {
71 if (nv30->rast && nv30->rast->pipe.clip_plane_enable != vp->enabled_ucps) {
72 vp->enabled_ucps = nv30->rast->pipe.clip_plane_enable
246 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_push.c 33 #include "nv30-40_3d.xml.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) {
211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i];
214 data = nouveau_resource_map_offset(&nv30->base, res,
224 if (nv30->idxbuf.buffer
    [all...]
nv30_context.h 142 nv30_vbo_validate(struct nv30_context *nv30);
157 nv30_vertprog_validate(struct nv30_context *nv30);
163 nv30_fragprog_validate(struct nv30_context *nv30);
169 nv30_texture_validate(struct nv30_context *nv30);
175 nv30_fragtex_validate(struct nv30_context *nv30);
181 nv40_verttex_validate(struct nv30_context *nv30);
184 nv30_push_vbo(struct nv30_context *nv30, const struct pipe_draw_info *info);
193 nv30_state_validate(struct nv30_context *nv30, boolean hwtnl);
196 nv30_state_release(struct nv30_context *nv30);
204 _nvfx_vertprog_translate(struct nv30_context *nv30, struct nv30_vertprog *vp)
    [all...]
nv30_clear.c 31 #include "nv30-40_3d.xml.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, TRUE))
81 if (nv30->screen->eng3d->oclass < NV40_3D_CLASS) {
93 nv30_state_release(nv30);
101 struct nv30_context *nv30 = nv30_context(pipe); local
104 struct nouveau_pushbuf *push = nv30->base.pushbuf;
105 struct nouveau_object *eng3d = nv30->screen->eng3d
160 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
  /external/mesa3d/src/gallium/drivers/nv30/
nv40_verttex.c 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];
47 nv30->vertprog.dirty_samplers = 0;
54 struct nv30_context *nv30 = nv30_context(pipe); local
58 nv30->vertprog.samplers[i] = hwcso[i];
59 nv30->vertprog.dirty_samplers |= (1 << i);
62 for (; i < nv30->vertprog.num_samplers; i++)
76 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_context.c 29 #include "nv30-40_3d.xml.h"
40 struct nv30_context *nv30; local
44 nv30 = container_of(push->user_priv, nv30, bufctx);
45 screen = &nv30->screen->base;
72 struct nv30_context *nv30 = nv30_context(pipe); local
73 struct nouveau_pushbuf *push = nv30->base.pushbuf;
76 nouveau_fence_ref(nv30->screen->base.fence.current,
85 struct nv30_context *nv30 = nv30_context(pipe); local
87 if (nv30->draw
109 struct nv30_context *nv30 = CALLOC_STRUCT(nv30_context); local
    [all...]
nv30_state_validate.c 31 #include "nv30-40_3d.xml.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;
49 if (nv30->state.rt_enable > 1)
50 nv30->state.rt_enable |= NV30_3D_RT_ENABLE_MRT;
86 if (nv30->state.rt_enable)
    [all...]
nv30_vbo.c 32 #include "nv30-40_3d.xml.h"
37 nv30_emit_vtxattr(struct nv30_context *nv30, struct pipe_vertex_buffer *vb,
41 struct nouveau_pushbuf *push = nv30->base.pushbuf;
46 data = nouveau_resource_map_offset(&nv30->base, res, vb->buffer_offset +
81 nv30_vbuf_range(struct nv30_context *nv30, int vbi,
84 assert(nv30->vbo_max_index != ~0);
85 *base = nv30->vbo_min_index * nv30->vtxbuf[vbi].stride;
86 *size = (nv30->vbo_max_index -
87 nv30->vbo_min_index + 1) * nv30->vtxbuf[vbi].stride
321 struct nv30_context *nv30 = nv30_context(pipe); local
543 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_fragtex.c 29 #include "nv30-40_3d.xml.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];
44 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit];
98 if (fmt->nv30 == NV30_3D_TEX_FORMAT_FORMAT_Z16) {
104 if (fmt->nv30 == NV30_3D_TEX_FORMAT_FORMAT_Z24)
156 struct nv30_context *nv30 = nv30_context(pipe); local
178 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_fragprog.c 29 #include "nv30-40_3d.xml.h"
34 nv30_fragprog_upload(struct nv30_context *nv30)
36 struct nouveau_context *nv = &nv30->base;
37 struct nv30_fragprog *fp = nv30->fragprog.program;
38 struct pipe_context *pipe = &nv30->base.pipe;
61 nv30_fragprog_validate(struct nv30_context *nv30)
63 struct nouveau_pushbuf *push = nv30->base.pushbuf;
64 struct nouveau_object *eng3d = nv30->screen->eng3d;
65 struct nv30_fragprog *fp = nv30->fragprog.program;
70 _nvfx_fragprog_translate(nv30, fp, FALSE)
158 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
Makefile 4 LIBNAME = nv30
nv30_draw.c 33 #include "nv30-40_3d.xml.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,
94 char *map = pipe_buffer_map(&r->nv30->base.pipe, r->buffer,
105 pipe_buffer_unmap(&r->nv30->base.pipe, r->transfer);
121 struct nv30_context *nv30 = r->nv30; local
122 struct nouveau_pushbuf *push = nv30->screen->base.pushbuf
164 struct nv30_context *nv30 = r->nv30; local
367 struct nv30_context *nv30 = nv30_context(pipe); local
474 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_state.c 30 #include "nv30-40_3d.xml.h"
119 struct nv30_context *nv30 = nv30_context(pipe); local
121 nv30->blend = hwcso;
122 nv30->dirty |= NV30_NEW_BLEND;
196 struct nv30_context *nv30 = nv30_context(pipe); local
198 nv30->rast = hwcso;
199 nv30->dirty |= NV30_NEW_RASTERIZER;
266 struct nv30_context *nv30 = nv30_context(pipe); local
268 nv30->zsa = hwcso;
269 nv30->dirty |= NV30_NEW_ZSA
282 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
356 struct nv30_context *nv30 = nv30_context(pipe); local
368 struct nv30_context *nv30 = nv30_context(pipe); local
378 struct nv30_context *nv30 = nv30_context(pipe); local
388 struct nv30_context *nv30 = nv30_context(pipe); local
399 struct nv30_context *nv30 = nv30_context(pipe); local
419 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_vertprog.c 30 #include "nv30-40_3d.xml.h"
53 nv30_vertprog_validate(struct nv30_context *nv30)
55 struct nouveau_pushbuf *push = nv30->base.pushbuf;
56 struct nouveau_object *eng3d = nv30->screen->eng3d;
57 struct nv30_vertprog *vp = nv30->vertprog.program;
58 struct nv30_fragprog *fp = nv30->fragprog.program;
63 if (nv30->dirty & NV30_NEW_FRAGPROG) {
71 if (nv30->rast && nv30->rast->pipe.clip_plane_enable != vp->enabled_ucps) {
72 vp->enabled_ucps = nv30->rast->pipe.clip_plane_enable
246 struct nv30_context *nv30 = nv30_context(pipe); local
    [all...]
nv30_push.c 33 #include "nv30-40_3d.xml.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) {
211 struct pipe_vertex_buffer *vb = &nv30->vtxbuf[i];
214 data = nouveau_resource_map_offset(&nv30->base, res,
224 if (nv30->idxbuf.buffer
    [all...]
nv30_context.h 142 nv30_vbo_validate(struct nv30_context *nv30);
157 nv30_vertprog_validate(struct nv30_context *nv30);
163 nv30_fragprog_validate(struct nv30_context *nv30);
169 nv30_texture_validate(struct nv30_context *nv30);
175 nv30_fragtex_validate(struct nv30_context *nv30);
181 nv40_verttex_validate(struct nv30_context *nv30);
184 nv30_push_vbo(struct nv30_context *nv30, const struct pipe_draw_info *info);
193 nv30_state_validate(struct nv30_context *nv30, boolean hwtnl);
196 nv30_state_release(struct nv30_context *nv30);
204 _nvfx_vertprog_translate(struct nv30_context *nv30, struct nv30_vertprog *vp)
    [all...]

Completed in 171 milliseconds

1 2