summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: move channel creation into pipe driversBen Skeggs2009-06-055-73/+77
|
* nouveau: call notifier/grobj etc funcs directlyBen Skeggs2009-06-053-42/+45
| | | | | libdrm_nouveau is linked with the winsys, there's no good reason to do all this through yet another layer.
* nv40: remove u_simple_screen usageBen Skeggs2009-06-055-50/+32
|
* nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs2009-06-055-12/+21
|
* nouveau: call nouveau_pushbuf directly rather than going through nvwsBen Skeggs2009-06-051-1/+1
|
* gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom2009-04-151-0/+26
| | | | | | | Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* gallium: remove pipe_texture::compressed fieldBrian Paul2009-04-101-1/+0
| | | | | The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format).
* gallium: Clean up driver clear() interface.Michel Dänzer2009-04-042-5/+7
| | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
* gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer2009-03-263-10/+0
|
* nouveau: bypass_vs_clip_and_viewportYounes Manton2009-03-141-1/+2
|
* gallium: Remove do_flip argument from surface_copyJakob Bornecrantz2009-03-131-10/+1
| | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
* nouveau: make stateobjs start off with refcount of 1Ben Skeggs2009-03-079-0/+13
|
* gallium: Unify reference counting.Michel Dänzer2009-03-043-32/+15
| | | | | | | | | | | | | | 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().
* nouveau: Grab correct surface from temp texture for transfers.Younes Manton2009-03-021-1/+1
|
* nouveau: nv04-nv40 texture transfer.Younes Manton2009-02-257-133/+245
|
* gallium: Improve makefiles for librariesJakob Bornecrantz2009-02-201-10/+1
| | | | | | | | The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles.
* nouveau: 1xN, Nx1 levels of a swizzled mip tree shouldn't be aligned.Younes Manton2009-02-111-1/+2
|
* nouveau: nv40 swizzled mipmap fixes.Younes Manton2009-02-102-11/+29
|
* nv40: Fix build -- rename Size to NrTokens.Michal Krol2009-02-101-1/+1
|
* nouveau: Need to surface_copy() without a pipe context.Younes Manton2009-02-071-18/+13
|
* nouveau: Frontbuffer pitch needs to be set.Younes Manton2009-02-061-0/+1
|
* nv04-nv40: fix nv##_surface_copy() for flippedPekka Paalanen2009-02-051-0/+1
| | | | | | | | | | If do_flipp is true, it would first do the proper copy, height would wrap around to unsigned maximum, and then it attempts to do another copy. Return after doing the proper copy. Signed-off-by: Pekka Paalanen <[email protected]>
* nv04-nv40: move 2d blit/fill code into pipe driverBen Skeggs2009-02-053-13/+21
|
* nouveau: get things building/running again after pipe_surface.buffer removalBen Skeggs2009-02-041-0/+25
| | | | Don't look at nouveau_winsys_pipe.h... I promise it's temporary!
* gallium: remove pipe_buffer from surfacesZack Rusin2009-02-023-15/+23
| | | | | | | 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.
* gallium: initialize simple screen in driversZack Rusin2009-01-311-0/+2
|
* gallium: make p_winsys internalZack Rusin2009-01-308-24/+24
| | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
* gallium: give the screen priority when it comes to buffer allocationsZack Rusin2009-01-296-23/+23
| | | | | | 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
* gallium: remove redundant size from the constant bufferZack Rusin2009-01-271-1/+1
| | | | reuse the size of the actual buffer
* gallium: it's a reference value, not a reference numberZack Rusin2009-01-271-1/+1
|
* gallium: standardize api on the prefix "nr"Zack Rusin2009-01-272-3/+3
|
* gallium: standardize naming of masksZack Rusin2009-01-271-4/+4
|
* gallium: standardize on stride instead of pitch in the interfaceZack Rusin2009-01-271-2/+2
|
* nouveau: Map correct mip level when using the shadow (nv30, nv40).Younes Manton2009-01-211-6/+7
|
* gallium: Remove the standalone surfaces.José Fonseca2009-01-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom.Younes Manton2009-01-101-1/+1
|
* nouveau: Put dynamic textures in GART for CPU access and don't swizzle.Younes Manton2009-01-102-5/+11
| | | | Also flag shadows as dynamic since they're for CPU access as well.
* nouveau: Swizzle textures larger than nv04 SIFM limit in parts.Younes Manton2009-01-101-2/+1
| | | | Limit of SIFM on nv40 is 1024x1024, not sure about others.
* gallium: Replace uint64 by standard uint64_t.José Fonseca2009-01-082-3/+3
| | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes.
* nv40: apply ABS modifier to RSQ source in vpBen Skeggs2008-12-161-1/+1
| | | | Gallium used to do this for us :)
* nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITSBen Skeggs2008-12-161-0/+2
|
* Nouveau: move the definition of log2i() to headerPekka Paalanen2008-12-131-26/+1
| | | | | | | Also make the type unsigned instead of signed, since negative values do not make sense. Signed-off-by: Pekka Paalanen <[email protected]>
* nouveau: Calc pitch for swizzled textures appropriately.Younes Manton2008-12-021-4/+3
|
* nouveau: Use swizzled textures & render targets on nv40 when possible.Younes Manton2008-12-025-10/+130
|
* nv40: init pipe_surface correctlyBen Skeggs2008-11-101-0/+2
|
* nv40: rename some vars in texture layout codeBen Skeggs2008-10-291-25/+27
|
* nouveau: gallium directory structure changed again..Ben Skeggs2008-09-118-14/+12
|
* nv30/nv40: KIL/KILP swapped meaningsBen Skeggs2008-08-141-2/+2
|
* nouveau: pf_sprint_name -> pf_nameBen Skeggs2008-08-112-9/+3
|
* nv40/nv50: enable mirror wrap modesBen Skeggs2008-08-071-0/+3
|