Home
last modified time | relevance | path

Searched refs:nv04 (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_raster.c125 struct nv04_context *nv04 = to_nv04_context(ctx); in nv04_emit_control() local
130 nv04->ctrl[0] = NV04_TEXTURED_TRIANGLE_CONTROL_Z_FORMAT_FIXED | in nv04_emit_control()
132 nv04->ctrl[1] = 0; in nv04_emit_control()
133 nv04->ctrl[2] = 0; in nv04_emit_control()
137 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_DITHER_ENABLE; in nv04_emit_control()
141 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_CULL_MODE_NONE; in nv04_emit_control()
143 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_CULL_MODE_BOTH; in nv04_emit_control()
145 nv04->ctrl[0] |= (cull == GL_FRONT) ^ (front == GL_CCW) ? in nv04_emit_control()
151 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_Z_ENABLE; in nv04_emit_control()
153 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_Z_WRITE; in nv04_emit_control()
[all …]
Dnv04_render.c97 swtnl_restart_ttri(struct nv04_context *nv04, struct nouveau_pushbuf *push) in swtnl_restart_ttri() argument
100 PUSH_DATA (push, nv04->colorkey); in swtnl_restart_ttri()
101 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->texture[0]->offset, in swtnl_restart_ttri()
103 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->format[0], NOUVEAU_BO_OR, in swtnl_restart_ttri()
106 PUSH_DATA (push, nv04->filter[0]); in swtnl_restart_ttri()
107 PUSH_DATA (push, nv04->blend); in swtnl_restart_ttri()
108 PUSH_DATA (push, nv04->ctrl[0] & ~0x3e000000); in swtnl_restart_ttri()
109 PUSH_DATA (push, nv04->fog); in swtnl_restart_ttri()
113 swtnl_restart_mtri(struct nv04_context *nv04, struct nouveau_pushbuf *push) in swtnl_restart_mtri() argument
116 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->texture[0]->offset, in swtnl_restart_mtri()
[all …]
Dnouveau_surface.c55 config.nv04.surf_pitch = s->pitch; in nouveau_surface_alloc()
58 config.nv04.surf_flags = NV04_BO_32BPP; in nouveau_surface_alloc()
60 config.nv04.surf_flags = NV04_BO_16BPP; in nouveau_surface_alloc()
63 config.nv04.surf_flags |= NV04_BO_ZETA; in nouveau_surface_alloc()
Dnv04_state_tex.c63 struct nv04_context *nv04 = to_nv04_context(ctx); in nv04_emit_tex_obj() local
113 nv04->texture[i] = s; in nv04_emit_tex_obj()
114 nv04->format[i] = format; in nv04_emit_tex_obj()
115 nv04->filter[i] = filter; in nv04_emit_tex_obj()
Dnv04_state_frag.c255 struct nv04_context *nv04 = to_nv04_context(ctx); in nv04_emit_tex_env() local
288 nv04->blend &= ~NV04_TEXTURED_TRIANGLE_BLEND_TEXTURE_MAP__MASK; in nv04_emit_tex_env()
290 nv04->blend |= get_texenv_mode(ctx->Texture.FixedFuncUnit[0].EnvMode); in nv04_emit_tex_env()
292 nv04->blend |= get_texenv_mode(GL_MODULATE); in nv04_emit_tex_env()
295 nv04->alpha[i] = rc_a.hw; in nv04_emit_tex_env()
296 nv04->color[i] = rc_c.hw; in nv04_emit_tex_env()
297 nv04->factor = pack_rgba_f(MESA_FORMAT_B8G8R8A8_UNORM, in nv04_emit_tex_env()
Dnv10_state_fb.c66 .nv04.surf_flags = NV04_BO_ZETA, in setup_hierz_buffer()
67 .nv04.surf_pitch = 0 in setup_hierz_buffer()
/external/libdrm/nouveau/
Dabi16.c38 struct nv04_fifo *nv04 = obj->data; in abi16_chan_nv04() local
40 .fb_ctxdma_handle = nv04->vram, in abi16_chan_nv04()
41 .tt_ctxdma_handle = nv04->gart in abi16_chan_nv04()
50 nv04->base.channel = req.channel; in abi16_chan_nv04()
51 nv04->base.pushbuf = req.pushbuf_domains; in abi16_chan_nv04()
52 nv04->notify = req.notifier_handle; in abi16_chan_nv04()
53 nv04->base.object->handle = req.channel; in abi16_chan_nv04()
54 nv04->base.object->length = sizeof(*nv04); in abi16_chan_nv04()
301 bo->config.nv04.surf_flags = info->tile_flags & 7; in abi16_bo_info()
302 bo->config.nv04.surf_pitch = info->tile_mode; in abi16_bo_info()
[all …]
Dnouveau.h100 } nv04; member
/external/mesa3d/docs/
Dsourcetree.rst67 - **nouveau** - driver for nVidia nv04/nv10/nv20
/external/mesa3d/docs/relnotes/
D7.10.rst187 - dri/nv04: Don't expose ARB_texture_env_combine/dot3.
188 - dri/nv04: Enable eng3dm for A8/L8 textures.
1418 - dri/nv04: Fix PGRAPH_ERRORs when running OA.
1419 - dri/nv04: Mipmapping fixes.
1420 - dri/nv04: Align SIFM transfer dimensions.
1421 - dri/nv04: Fix up color mask.
1422 - dri/nv04: Fix maximum texture size.
1423 - dri/nv04: Fix provoking vertex.
1433 - dri/nv04: Use nvgl_wrap_mode().
2595 - dri/nouveau: nv04: Use rules-ng-ng headers