summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_miptree.c
AgeCommit message (Collapse)Author
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-02-25nouveau: nv04-nv40 texture transfer.Younes Manton
2009-02-16nouveau: oops :-)Patrice Mandin
2009-02-11nouveau: 1xN, Nx1 levels of a swizzled mip tree shouldn't be aligned.Younes Manton
2009-02-10nouveau: nv30: fix miptree organization to have swizzled texture+mipmap at ↵Patrice Mandin
the right places
2009-02-06nouveau: Frontbuffer pitch needs to be set.Younes Manton
2009-02-04nouveau: get things building/running again after pipe_surface.buffer removalBen Skeggs
Don't look at nouveau_winsys_pipe.h... I promise it's temporary!
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-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-29gallium: give the screen priority when it comes to buffer allocationsZack Rusin
allows the driver to overwrite buffer allocation, first step on the way to making winsys interface internal to the drivers. state trackers and the code above it will go through the screen
2009-01-20gallium: Remove the standalone surfaces.José Fonseca
This commit is mostly just a cosmetic change that cleans-up the interfaces, replacing pipe_winsys::surface_* calls by /** * Allocate storage for a display target surface. * * Often surfaces which are meant to be blitted to the front screen (i.e., * display targets) must be allocated with special characteristics, memory * pools, or obtained directly from the windowing system. * * This callback is invoked by the pipe_screenwhen creating a texture marked * with the PIPE_TEXTURE_USAGE_DISPLAY_TARGET flag to get the underlying * buffer storage. */ struct pipe_buffer *(*surface_buffer_create)(struct pipe_winsys *ws, unsigned width, unsigned height, enum pipe_format format, unsigned usage, unsigned *stride); Most drivers were updated but not all were tested. Use the softpipe pipe driver and the xlib winsys changes as a reference when fixing other drivers.
2009-01-10nouveau: Update nv30 swizzling.Younes Manton
2008-12-12nouveau: remove useless NOUVEAU_BO_SWIZZLED flag, copy/paste nv40 work to ↵Patrice Mandin
swizzle textures
2008-11-12nv04..nv30: fix pipe_surface initPekka Paalanen
Signed-off-by: Pekka Paalanen <pq@iki.fi>
2008-09-11nouveau: gallium directory structure changed again..Ben Skeggs
2008-07-11nv30: Update miptree to match latest changesPatrice Mandin
2008-06-29nouveau: adapt to cpp->pf_block changesBen Skeggs
2008-05-27nouveau: very quick port to tex-surface changes.Ben Skeggs
probably the last match-gallium-upstream merge for a bit, some cleanup+nv50 work coming RSN...
2008-04-12nv30: Update miptree stuffPatrice Mandin
2008-03-30nv30: use FREE macroPatrice Mandin
2008-03-21nouveau: match gallium API changesBen Skeggs
2008-03-18nv30: update miptree stuff for texturingPatrice Mandin
2008-03-12nv30: line up the miptree creation to latest changes.Stephane Marchesin
2008-02-29nouveau: implement pipe_screenBen Skeggs
Untested on NV3x/NV5x. Quite possibly broken.
2008-02-16nouveau: match gallium code reorginisation.Ben Skeggs
That was... fun..