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

/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv40_verttex.c30 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];
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
76 struct nv30_context *nv30 = nv30_context(pipe); local
[all...]
H A Dnv30_context.c29 #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
109 struct nv30_context *nv30 = CALLOC_STRUCT(nv30_context); local
[all...]
H A Dnv30_state_validate.c31 #include "nv30-40_3d.xml.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->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
178 nv30_validate_blend_colour(struct nv30_context *nv30) argument
207 nv30_validate_stencil_ref(struct nv30_context *nv30) argument
218 nv30_validate_stipple(struct nv30_context *nv30) argument
227 nv30_validate_scissor(struct nv30_context *nv30) argument
248 nv30_validate_viewport(struct nv30_context *nv30) argument
268 nv30_validate_clip(struct nv30_context *nv30) argument
291 nv30_validate_blend(struct nv30_context *nv30) argument
300 nv30_validate_zsa(struct nv30_context *nv30) argument
309 nv30_validate_rasterizer(struct nv30_context *nv30) argument
318 nv30_validate_multisample(struct nv30_context *nv30) argument
337 nv30_validate_fragment(struct nv30_context *nv30) argument
349 nv30_validate_point_coord(struct nv30_context *nv30) argument
431 nv30_state_context_switch(struct nv30_context *nv30) argument
459 nv30_state_validate(struct nv30_context *nv30, boolean hwtnl) argument
535 nv30_state_release(struct nv30_context *nv30) argument
[all...]
H A Dnv30_vbo.c32 #include "nv30-40_3d.xml.h"
37 nv30_emit_vtxattr(struct nv30_context *nv30, struct pipe_vertex_buffer *vb, argument
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, argument
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
91 nv30_prevalidate_vbufs(struct nv30_context *nv30) argument
127 nv30_update_user_vbufs(struct nv30_context *nv30) argument
165 nv30_release_user_vbufs(struct nv30_context *nv30) argument
180 nv30_vbo_validate(struct nv30_context *nv30) argument
321 struct nv30_context *nv30 = nv30_context(pipe); local
328 nv30_draw_arrays(struct nv30_context *nv30, unsigned mode, unsigned start, unsigned count, unsigned instance_count) argument
452 nv30_draw_elements(struct nv30_context *nv30, boolean shorten, unsigned mode, unsigned start, unsigned count, unsigned instance_count, int32_t index_bias) argument
543 struct nv30_context *nv30 = nv30_context(pipe); local
[all...]
H A Dnv30_fragtex.c29 #include "nv30-40_3d.xml.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->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
156 struct nv30_context *nv30 = nv30_context(pipe); local
178 struct nv30_context *nv30 = nv30_context(pipe); local
[all...]
H A Dnv30_fragprog.c29 #include "nv30-40_3d.xml.h"
34 nv30_fragprog_upload(struct nv30_context *nv30) argument
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) argument
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, f
158 struct nv30_context *nv30 = nv30_context(pipe); local
[all...]
H A DMakefile4 LIBNAME = nv30
H A Dnv30_draw.c33 #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
164 struct nv30_context *nv30 = r->nv30; local
267 nv30_render_validate(struct nv30_context *nv30) argument
367 struct nv30_context *nv30 = nv30_context(pipe); local
447 nv30_render_create(struct nv30_context *nv30) argument
474 struct nv30_context *nv30 = nv30_context(pipe); local
[all...]
H A Dnv30_state.c30 #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
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...]
H A Dnv30_vertprog.c30 #include "nv30-40_3d.xml.h"
53 nv30_vertprog_validate(struct nv30_context *nv30) argument
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
246 struct nv30_context *nv30 = nv30_context(pipe); local
[all...]
H A Dnv30_push.c33 #include "nv30-40_3d.xml.h"
198 nv30_push_vbo(struct nv30_context *nv30, const struct pipe_draw_info *info) argument
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
[all...]
H A Dnv30_context.h142 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, struc
[all...]
H A Dnv30_clear.c31 #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
160 struct nv30_context *nv30 = nv30_context(pipe); local
[all...]
H A Dnv30_transfer.c27 struct nv30_context *nv30, enum nv30_transfer_filter filter, \
35 #include "nv30-40_3d.xml.h"
57 if (nv30->screen->eng3d->oclass < NV40_3D_CLASS)
71 nv30_transfer_rect_vertprog(struct nv30_context *nv30) argument
73 struct nouveau_heap *heap = nv30->screen->vp_exec_heap;
76 vp = nv30->blit_vp;
78 if (nouveau_heap_alloc(heap, 2, &nv30->blit_vp, &nv30->blit_vp)) {
84 if (nouveau_heap_alloc(heap, 2, &nv30->blit_vp, &nv30
112 nv30_transfer_rect_fragprog(struct nv30_context *nv30) argument
651 nv30_transfer_rect(struct nv30_context *nv30, enum nv30_transfer_filter filter, struct nv30_rect *src, struct nv30_rect *dst) argument
[all...]
H A Dnv30_query.c27 #include "nv30-40_3d.xml.h"
150 struct nv30_context *nv30 = nv30_context(pipe); local
152 struct nouveau_pushbuf *push = nv30->base.pushbuf;
156 q->qo[0] = nv30_query_object_new(nv30->screen);
179 struct nv30_context *nv30 = nv30_context(pipe); local
180 struct nv30_screen *screen = nv30->screen;
182 struct nouveau_pushbuf *push = nv30->base.pushbuf;
237 struct nv30_context *nv30 = nv30_context(pipe); local
239 struct nouveau_pushbuf *push = nv30->base.pushbuf;
H A Dnv30_format.h17 unsigned nv30; member in struct:nv30_texfmt
H A Dnv30_miptree.c129 struct nv30_context *nv30 = nv30_context(pipe); local
143 nv30_transfer_rect(nv30, NEAREST, &src, &dst);
150 struct nv30_context *nv30 = nv30_context(pipe); local
158 nv30_transfer_rect(nv30, BILINEAR, &src, &dst);
166 struct nv30_context *nv30 = nv30_context(pipe); local
167 struct nouveau_device *dev = nv30->screen->base.device;
211 nv30_transfer_rect(nv30, NEAREST, &tx->img, &tx->tmp);
219 struct nv30_context *nv30 = nv30_context(pipe); local
223 nv30_transfer_rect(nv30, NEAREST, &tx->tmp, &tx->img);
233 struct nv30_context *nv30 local
[all...]
H A Dnvfx_vertprog.c15 #include "nv30-40_3d.xml.h"
39 struct nv30_context* nv30; member in struct:nvfx_vpc
117 emit_src(struct nv30_context *nv30, struct nvfx_vpc *vpc, uint32_t *hw, argument
201 emit_dst(struct nv30_context *nv30, struct nvfx_vpc *vpc, uint32_t *hw, argument
208 if(!nv30->is_nv4x)
219 if(!nv30->is_nv4x)
230 /* TODO: this may be wrong because on nv30 COL0 and BFC0 are swapped */
231 if(nv30->is_nv4x) {
266 if(!nv30->is_nv4x) {
293 struct nv30_context *nv30 local
458 nvfx_vertprog_parse_instruction(struct nv30_context *nv30, struct nvfx_vpc *vpc, unsigned idx, const struct tgsi_full_instruction *finst) argument
817 nvfx_vertprog_parse_decl_output(struct nv30_context *nv30, struct nvfx_vpc *vpc, const struct tgsi_full_declaration *fdec) argument
889 nvfx_vertprog_prepare(struct nv30_context *nv30, struct nvfx_vpc *vpc) argument
972 _nvfx_vertprog_translate(struct nv30_context *nv30, struct nv30_vertprog *vp) argument
[all...]
H A Dnvfx_shader.h13 #define NVFX_VP(c) ((NV30_VP_##c) + (nv30->is_nv4x & ((NV40_VP_##c) - (NV30_VP_##c))))
H A Dnv30_format.c26 #include "nv30-40_3d.xml.h"
203 .nv30 = NV30_3D_TEX_FORMAT_FORMAT_##b, \
/external/mesa3d/src/gallium/targets/dri-nouveau/
H A DMakefile11 $(TOP)/src/gallium/drivers/nv30/libnv30.a \
/external/mesa3d/src/gallium/targets/vdpau-nouveau/
H A DMakefile10 $(TOP)/src/gallium/drivers/nv30/libnv30.a \
/external/mesa3d/src/gallium/targets/xorg-nouveau/
H A DMakefile16 $(TOP)/src/gallium/drivers/nv30/libnv30.a \
/external/mesa3d/src/gallium/targets/pipe-loader/
H A DMakefile42 $(TOP)/src/gallium/drivers/nv30/libnv30.a \
/external/mesa3d/src/gallium/targets/egl-static/
H A DMakefile104 $(TOP)/src/gallium/drivers/nv30/libnv30.a \

Completed in 280 milliseconds