summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv04
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: oops, forgot to keep the NV10_SIFM objectPatrice Mandin2009-03-041-0/+4
|
* nouveau: Use proper SIFM object on NV30Patrice Mandin2009-03-041-6/+10
|
* gallium: Unify reference counting.Michel Dänzer2009-03-042-31/+13
| | | | | | | | | | | | | | 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-259-80/+266
|
* 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.
* Merge commit 'origin/draw-vbuf-interface'Keith Whitwell2009-02-181-5/+17
|\
| * nv04: Use the new draw vbuf interfaceJakob Bornecrantz2009-02-171-5/+17
| |
* | util: Move p_debug.h into util module.José Fonseca2009-02-181-1/+1
|/ | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
* nouveau: nv40 swizzled mipmap fixes.Younes Manton2009-02-101-2/+2
|
* nouveau: revert all my changes here, not the right wayPatrice Mandin2009-02-101-22/+9
|
* nouveau: stop with 0 dimensionPatrice Mandin2009-02-101-1/+1
|
* nouveau: we already have the right src offsetPatrice Mandin2009-02-101-3/+2
|
* nouveau: do not forget to half dimension.Patrice Mandin2009-02-101-3/+7
|
* nouveau: revert most parts of recent mipmap+swizzle stuff. We only need to ↵Patrice Mandin2009-02-101-50/+43
| | | | find right src and dst offset for given mipmap level.
* nouveau: dst offset is correctPatrice Mandin2009-02-101-4/+2
|
* nouveau: recalc sub width and height for each mipmap levelPatrice Mandin2009-02-101-16/+23
|
* nouveau: include and calc offset before changing dimensions for next levelPatrice Mandin2009-02-081-2/+3
|
* nouveau: upload and swizzle each mipmap level in turnPatrice Mandin2009-02-081-28/+38
|
* nouveau: Pass proper format to NV04_GDI_RECTANGLE_TEXT.Younes Manton2009-02-061-1/+1
|
* 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: fix pasto in nv04_surface_2d_init()Pekka Paalanen2009-02-051-1/+1
| | | | | | Wrong hardware object being used, when compared with earlier code. Signed-off-by: Pekka Paalanen <[email protected]>
* nv04-nv40: move 2d blit/fill code into pipe driverBen Skeggs2009-02-056-5/+506
|
* 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-9/+11
| | | | | | | 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.
* Merge branch 'gallium-0.2' of ↵Stephane Marchesin2009-02-024-3/+5
|\ | | | | | | git+ssh://[email protected]/git/mesa/mesa into gallium-0.2
| * gallium: initialize simple screen in driversZack Rusin2009-01-311-0/+2
| |
| * gallium: make p_winsys internalZack Rusin2009-01-306-10/+10
| | | | | | | | | | 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-293-7/+7
| | | | | | | | | | | | 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
* | nv04: some old changes I had lying around.Stephane Marchesin2009-02-028-118/+185
|/
* gallium: it's a reference value, not a reference numberZack Rusin2009-01-271-1/+1
|
* gallium: Remove the standalone surfaces.José Fonseca2009-01-201-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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: 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: fix minor API change in surface_copyPekka Paalanen2008-11-301-1/+1
| | | | Signed-off-by: Pekka Paalanen <[email protected]>
* nv04..nv30: fix pipe_surface initPekka Paalanen2008-11-121-0/+2
| | | | Signed-off-by: Pekka Paalanen <[email protected]>
* nouveau: gallium directory structure changed again..Ben Skeggs2008-09-119-13/+10
|
* nouveau: pf_sprint_name -> pf_nameBen Skeggs2008-08-111-3/+1
|
* nouveau: fix buildBen Skeggs2008-08-073-4/+4
|
* nv all: Copy shader tokens on create, free on delete.Younes Manton2008-07-232-2/+4
| | | | | Must copy token stream on shader create, client is allowed to free their copy after creating the state object.
* nouveau: is_format_supported() interface changesBen Skeggs2008-07-231-9/+6
|
* nv04: use FREE/MALLOC like a good gallium boy should.Stephane Marchesin2008-07-083-8/+8
|
* nv04: use BEGIN_RING_NIStephane Marchesin2008-07-081-6/+2
|
* nv04.Stephane Marchesin2008-07-0815-0/+1960