summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: don't dump interpolation info except for fragment shader inputsKeith Whitwell2009-02-271-2/+6
| | | | | Don't print the meaningless and confusing CONSTANT interpolation attribute after everything else.
* util: set vbuf.max_index in draw_vertex_buffer()Keith Whitwell2009-02-271-0/+2
| | | | (cherry picked from commit 1350f2efba5eeceebe0e711db6152c29e9889ce7)
* gallium: Add support for BSD operating systems, tested with FreeBSDBenjamin Close2009-02-255-15/+19
| | | | | | | | | | BSD supports pipe in the same way as linux hence options which are safe for linux are also safe for BSD. Define PIPE_OS_BSD in include/pipe/p_config.h and adjust the defines to make use of it. Also define MAP_ANONYMOUS for BSD systems which use MAP_ANON Signed-off-by: Benjamin Close <[email protected]>
* pipebuffer: Allow asymmetric guard sizes for under/overflow detection.José Fonseca2009-02-242-8/+13
|
* util: Don't use 0-sized arrays.José Fonseca2009-02-241-0/+6
| | | | Not supported by MSVC.
* gallium: Add pipe_buffer_write/read inlines.José Fonseca2009-02-242-21/+6
| | | | Saves code, and will simplify future interface changes.
* pipebuffer: Remove unused var.José Fonseca2009-02-241-1/+0
|
* Merge commit 'origin/gallium-0.1'José Fonseca2009-02-235-18/+127
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c src/gallium/auxiliary/util/u_tile.c
| * util: Use a checkboard pattern instead of asserting for unknown formats.José Fonseca2009-02-201-2/+24
| | | | | | | | Useful to replay traces which use DXTC textures...
| * util: Support PIPE_FORMAT_Z32_FLOAT in pipe_tile_raw_to_rgbaJosé Fonseca2009-02-191-0/+29
| |
| * pipebuffer: Dump debugging info for fenced buffer list.José Fonseca2009-02-183-9/+100
| |
| * pipebuffer: Don't retry to alloc memory block on mm.José Fonseca2009-02-181-7/+3
| | | | | | | | | | It will give the same result 2nd time too, as fencing is done at a higher level.
* | gallium: use the TGSI_TEXTURE_SHADOW1D/2D/RECT texture types for TEX ↵Brian Paul2009-02-201-0/+3
| | | | | | | | | | | | | | | | instructions These texture types were defined but never put to use. For the time being though, the Mesa->TGSI translater isn't emitting these targets. See the XXX comment in map_texture_target().
* | util/debug: need to fflush(stderr) on windowsKeith Whitwell2009-02-201-0/+1
| | | | | | | | Hard to believe... but true.
* | util: Also output messages to stderr on windows.José Fonseca2009-02-201-0/+6
| | | | | | | | When there is a console attached, and no debugger attached.
* | util: Stack backtracing facilities.José Fonseca2009-02-204-0/+170
| | | | | | | | Not much useful until we have symbol lookup.
* | gallium: Improve recursive makefilesJakob Bornecrantz2009-02-201-11/+3
| |
* | gallium: Improve makefiles for librariesJakob Bornecrantz2009-02-209-29/+0
| | | | | | | | | | | | | | | | 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.
* | draw: Fix segfault if rast is nullJakob Bornecrantz2009-02-141-2/+3
| |
* | mesa: Free the util shaders with the gallium's FREE.José Fonseca2009-02-192-0/+11
| |
* | util: Use right include.José Fonseca2009-02-191-1/+1
| |
* | Merge branch 'gallium-texture-transfer'Michel Dänzer2009-02-187-252/+232
|\ \ | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
| * \ Merge branch 'master' into gallium-texture-transferKeith Whitwell2009-02-1626-63/+5963
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c
| * | | gallium: Fix a couple of potential NULL pointer dereferences.Michel Dänzer2009-02-121-4/+4
| | | | | | | | | | | | | | | | A lot more test programs work.
| * | | Cosmetic: Rename struct pipe_transfer pointers from 'ps' to 'pt'.Michel Dänzer2009-02-121-13/+13
| | | | | | | | | | | | | | | | Missed these for the initial gallium-texture-transfer commit.
| * | | gallium: No longer allow CPU mapping surfaces directly.Michel Dänzer2009-02-057-245/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails.
* | | | Merge commit 'origin/gallium-0.1'Keith Whitwell2009-02-181-0/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_vs_aos.c
| * | | draw: Reuse xmm registers.Keith Whitwell2009-02-171-0/+13
| | | |
* | | | Merge commit 'origin/draw-vbuf-interface'Keith Whitwell2009-02-187-177/+174
|\ \ \ \
| * | | | draw: second argument to unmap is max, not countKeith Whitwell2009-02-174-9/+12
| | | | |
| * | | | draw: add map/unmap directives for swtnl driver interfaceKeith Whitwell2009-02-177-177/+171
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously draw module asked for a pointer into (mapped) vertex data, which it would incrementally fill and emit draw commands against. This was hard for the drivers to deal with, especially in the case where a draw command would force a flush and thus an unmap of the vertex data. With this change, the draw module explicitly maps & then unmaps vertex data prior to emitting draw commands.
* | | | util: Move p_debug.h into util module.José Fonseca2009-02-1853-55/+416
| | | | | | | | | | | | | | | | | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
* | | | util: (Re)enable memory debugging for all windows platforms.José Fonseca2009-02-181-1/+1
| | | |
* | | | draw: Reuse xmm registers.Keith Whitwell2009-02-181-0/+12
| | | |
* | | | gallium: fix glean's vertProg1Alan Hourihane2009-02-163-10/+20
|/ / / | | | | | | | | | RSQ test 2 (reciprocal square toot of negative value)
* | | tgsi: keep immediate file info uptodateKeith Whitwell2009-02-121-1/+8
| | | | | | | | | | | | | | | | | | Make sure the stats for TGSI_FILE_IMMEDIATE are uptodate. Previously we just had immediate_count, but file_*[TGSI_FILE_IMMEDIATE] were bogus.
* | | gallium: const-correctness for u_linear.c functionsBrian Paul2009-02-112-7/+8
| | |
* | | gallium: silence warnings about void ptr arithmeticBrian Paul2009-02-111-5/+6
| | |
* | | draw: Cap max vertices instead of failing assert.José Fonseca2009-02-111-2/+3
| | |
* | | pipebuffer: Drop reliance on pipe_winsys.José Fonseca2009-02-104-24/+54
| | |
* | | gallivm: Fix build -- rename Size to NrTokens.Michal Krol2009-02-101-2/+2
| | |
* | | draw: Fix build -- rename Size to NrTokens.Michal Krol2009-02-102-2/+2
| | |
* | | tgsi: Fix build -- rename Size to NrTokens.Michal Krol2009-02-108-20/+20
| | |
* | | indices: Fix typo.José Fonseca2009-02-092-241/+241
| | |
* | | indices: quad fixesKeith Whitwell2009-02-052-132/+133
| | |
* | | gallium: add new aux lib for index list translationsKeith Whitwell2009-02-057-0/+5859
| |/ |/| | | | | | | | | | | | | | | Could this be the ultimate index list translating utility? Maybe, but it doesn't yet include support for splitting primitives. Unlike previous attempts, this captures all possible combinations of API and hardware provoking vertex, supports generated list reuse and various other tricks. Relies on python-generated code.
* | gallium: remove pipe_buffer from surfacesZack Rusin2009-02-021-18/+18
| | | | | | | | | | | | | | 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.
* | util: List new file in sconscript.José Fonseca2009-02-011-0/+1
| |
* | pipebuffer: Drop (most of) pipe winsys stuff.José Fonseca2009-02-016-275/+1
| |
* | gallium: initialize simple screen in driversZack Rusin2009-01-311-1/+1
| |