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

12

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
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 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_format.h17 unsigned nv30; member in struct:nv30_texfmt
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 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_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_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_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_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_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 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_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...]
/external/mesa3d/src/gallium/drivers/nv30/
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 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_format.h17 unsigned nv30; member in struct:nv30_texfmt
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 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_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_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_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_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_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 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_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...]

Completed in 191 milliseconds

12