summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_state_fb.c
AgeCommit message (Collapse)Author
2010-03-15nv30, nv40: non-trivially unify nv[34]0_state_fb.cLuca Barbieri
The files are significantly different due to: 1. nv30 support 2 render targets, nv40 4 2. z-buffer pitch is set differently 3. nv30 has a limitation of colour_bits >= zeta_bits. This may not actually exist in the driver though 4. nv30 points color0 at depth in the depth-only case 5. nv30 sets NV34TCL_VIEWPORT_TX_ORIGIN to 0. This is probably unnecessary This patch attempts to unify the two files and preserve the existing behavior.
2010-03-15nv30, nv40: unify all structures and headers, except shadersLuca Barbieri
This patch unifies nv[34]0_screen.h, nv[34]0_context.h and nv[34]0_state.h The unified files are put in a new "nvfx" directory. nv30_context.h and nv40_context.h still exist to hold the function prototypes and include nvfx_context.h nv[34]0_screen.h and nv[34]0_state.h are deleted, replaced by the unified versions. nv40 includes some extra fields for swtnl and user clip planes support. These fields will be unused on nv30 until that functionality gets added to it too (by unification with nv40).
2010-03-15nouveau: s/rankine/eng3d/g; s/curie/eng3d/gLuca Barbieri
Result of running: perl -i -p -e 's/rankine/eng3d/g; s/curie/eng3d/g;' nv[34]0/*.[ch] This will allow to more easily unify nv30 and nv40.
2010-03-01nouveau: Rename pipe formats.José Fonseca
2010-01-05nouveau: rewrite nouveau_stateobj to use BEGIN_RING properlyMaarten Maathuis
- The previous solution was hacky and didn't do subchannel autobinding. - The beheaviour should match what libdrm_nouveau does closely. - The solution remains statically sized, but when debugging is on it will check for abuse. Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
2009-10-31nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.Younes Manton
2009-10-23nouveau: nv30: Relax some limits. We can render to z24s8 buffer even if ↵Patrice Mandin
color buffer is 16 bits.
2009-10-22nouveau: nv30: rewrite so we can render only in depth bufferPatrice Mandin
2009-10-21nouveau: nv30: check number of colour buffers to bindPatrice Mandin
2009-10-15nouveau: nv30: refuse binding a colour buffer with a zeta buffer with ↵Patrice Mandin
different bits, till the backend can tell Mesa not to do that.
2009-10-13nouveau: nv30: use texture width,height for render target dimensionsPatrice Mandin
2009-07-01nouveau: return some supported zeta formatsBen Skeggs
2009-06-05nouveau: move channel creation into pipe driversBen Skeggs
2009-06-05nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-02-25nouveau: nv04-nv40 texture transfer.Younes Manton
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures.
2009-01-27gallium: standardize api on the prefix "nr"Zack Rusin
2008-12-13Nouveau: move the definition of log2i() to headerPekka Paalanen
Also make the type unsigned instead of signed, since negative values do not make sense. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-12-12nouveau: remove useless NOUVEAU_BO_SWIZZLED flag, copy/paste nv40 work to ↵Patrice Mandin
swizzle textures
2008-07-03nv30: Emit framebuffer state using state objectsPatrice Mandin
2008-06-29nouveau: adapt to cpp->pf_block changesBen Skeggs
2008-06-20nv30: Add separate nv30 state stuff for fb, based on nv40 one, need to use ↵Patrice Mandin
it now