search for: nv20_state_emit_framebuffer

Displaying 4 results from an estimated 4 matches for "nv20_state_emit_framebuffer".

2008 Nov 11
2
Memory corruption on Gallium window resize, diagnosed?
...anch gallium-0.1, trying to get trivial/tri working on nv20 (with nv10 code). When ever I resize the window, it ends up in an assert failure: #0 0xf790744f in _debug_assert_fail (expr=0xf791908f "0", file=0xf7919050 "nv20_state_emit.c", line=139, function=0xf7919034 "nv20_state_emit_framebuffer") at p_debug.c:335 #1 0xf76fe723 in nv20_state_emit_framebuffer (nv20=0x805ef68) at nv20_state_emit.c:139 #2 0xf76fef2e in nv20_emit_hw_state (nv20=0x805ef68) at nv20_state_emit.c:255 #3 0xf76ff70b in nv20_draw_elements (pipe=0x805ef68, indexBuffer=0x0, indexSize=0, prim=4, start=0, count=3...
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 +++++++++++++
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code
...IPE_MAX_TEXTURE_LEVELS]; -}; - #endif diff --git a/src/gallium/drivers/nv20/nv20_state_emit.c b/src/gallium/drivers/nv20/nv20_state_emit.c index a916788..44a4ac4 100644 --- a/src/gallium/drivers/nv20/nv20_state_emit.c +++ b/src/gallium/drivers/nv20/nv20_state_emit.c @@ -132,7 +132,7 @@ static void nv20_state_emit_framebuffer(struct nv20_context* nv20) struct nv04_surface *rt, *zeta = NULL; uint32_t rt_format, w, h; int colour_format = 0, zeta_format = 0; - struct nv20_miptree *nv20mt = 0; + struct nv04_miptree *nv20mt = 0; struct nv20_screen *screen = nv20->screen; struct nouveau_channel *chan = screen-&gt...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code (v2)
...IPE_MAX_TEXTURE_LEVELS]; -}; - #endif diff --git a/src/gallium/drivers/nv20/nv20_state_emit.c b/src/gallium/drivers/nv20/nv20_state_emit.c index a916788..0ba1cb0 100644 --- a/src/gallium/drivers/nv20/nv20_state_emit.c +++ b/src/gallium/drivers/nv20/nv20_state_emit.c @@ -132,7 +132,7 @@ static void nv20_state_emit_framebuffer(struct nv20_context* nv20) struct nv04_surface *rt, *zeta = NULL; uint32_t rt_format, w, h; int colour_format = 0, zeta_format = 0; - struct nv20_miptree *nv20mt = 0; + struct nv04_miptree *nv20mt = 0; struct nv20_screen *screen = nv20->screen; struct nouveau_channel *chan = screen-&gt...