search for: nv04_miptree

Displaying 6 results from an estimated 6 matches for "nv04_miptree".

2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code (v2)
Changes: - Fixed some nv##_miptree that were not converted to nv04_miptree. - Disable swizzling on non-RGBA 2D textures, since the current 2D code is mostly broken in those cases. A later patch will fix this. Thanks to Andrew Randrianasulu who reported this. This patch rewrites all the miptree layout and transfer code in the pre-NV50 Gallium drivers. The code is also...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code
...v40 unification. Support for render temporaries is removed, and will be readded in a later patch. Note that the current temporary code is broken, because it does not copy the temporary back on render cache flushes. --- src/gallium/drivers/nv04/nv04_context.h | 1 - src/gallium/drivers/nv04/nv04_miptree.c | 155 +++++++++++++----- src/gallium/drivers/nv04/nv04_screen.c | 9 - src/gallium/drivers/nv04/nv04_state.h | 13 -- src/gallium/drivers/nv04/nv04_state_emit.c | 14 +- src/gallium/drivers/nv04/nv04_surface_2d.c | 14 +- src/gallium/drivers/nv04/nv04_surface_2d.h | 14 ++...
2009 Dec 31
1
[PATCH] Print NOUVEAU_NO_SWIZZLE and NOUVEAU_NO_TRANSFER messages only once
...lium/drivers/nv04/nv04_transfer.c b/src/gallium/drivers/nv04/nv04_transfer.c index 2dd2e14..f7a64f9 100644 --- a/src/gallium/drivers/nv04/nv04_transfer.c +++ b/src/gallium/drivers/nv04/nv04_transfer.c @@ -41,6 +41,9 @@ nv04_transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt, struct nv04_miptree *mt = (struct nv04_miptree *)pt; struct nv04_transfer *tx; struct pipe_texture tx_tex_template, *tx_tex; + static int no_transfer = -1; + if(no_transfer < 0) + no_transfer = debug_get_bool_option("NOUVEAU_NO_TRANSFER", TRUE/*XXX:FALSE*/); tx = CALLOC_STRUCT(nv04_transfer); i...
2009 Dec 04
1
[Bug 25440] New: PATCH: fixes conflicting miptree definitions
...edTo: nouveau at lists.freedesktop.org ReportedBy: rjgleits at bellsouth.net Created an attachment (id=31731) --> (http://bugs.freedesktop.org/attachment.cgi?id=31731) Patch to fix problem above There is a conflict between the definitions of struct nv50_miptree and nv[1-4]0_miptree + nv04_miptree. Note that nv50_miptree starts with struct nouveau_miptree. Sometimes pipe_textures are cast to nouveau_miptree, although the pt was part of a nv40_miptree (for example). This results in the bo field pointing to an incorrect location, resulting in segfaults, etc. The patch does not change the nv50...
2010 Feb 02
2
[RFC] Merge of a reincarnation of the nouveau classic mesa driver.
...c | 12 - src/gallium/drivers/nv04/nv04_context.c | 112 --- src/gallium/drivers/nv04/nv04_context.h | 148 ---- src/gallium/drivers/nv04/nv04_fragprog.c | 21 - src/gallium/drivers/nv04/nv04_fragtex.c | 73 -- src/gallium/drivers/nv04/nv04_miptree.c | 146 ---- src/gallium/drivers/nv04/nv04_prim_vbuf.c | 339 -------- src/gallium/drivers/nv04/nv04_screen.c | 222 ----- src/gallium/drivers/nv04/nv04_screen.h | 30 - src/gallium/drivers/nv04/nv04_state.c | 459 ----------- src/gall...
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
- This avoids problematic "reloc'ed while mapped" messages and some associated corruption as well. Signed-off-by: Maarten Maathuis <madman2003 at gmail.com> --- src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++ src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++ src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++