Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun cc | Alan Coopersmith | 2009-03-25 | 1 | -2/+2 |
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> | ||||
* | gallium: Remove remnants of reference counting internals outside of p_refcnt.h. | Michel Dänzer | 2009-03-23 | 7 | -17/+17 |
| | |||||
* | gallium: Use struct pipe_atomic for pipe refcounts. | Thomas Hellstrom | 2009-03-16 | 7 | -17/+21 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium: Remove some superfluous instances of #include "p_inlines.h". | Michel Dänzer | 2009-03-04 | 1 | -1/+0 |
| | |||||
* | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 9 | -47/+37 |
| | | | | | | | | | | | | | | 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(). | ||||
* | Merge commit 'origin/gallium-0.1' | José Fonseca | 2009-03-03 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | ||||
| * | pipebuffer: Fix copy'n'paste typo. | José Fonseca | 2009-03-03 | 1 | -1/+1 |
| | | |||||
* | | pipebuffer: Cleanup merge. | José Fonseca | 2009-03-03 | 1 | -43/+0 |
| | | |||||
* | | pb: fix up merge mistakes | Keith Whitwell | 2009-03-03 | 1 | -9/+7 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' | Keith Whitwell | 2009-03-03 | 1 | -9/+64 |
|\| | | | | | | | | | | | | | | | | | | | Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/include/pipe/p_defines.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c | ||||
| * | pipebuffer: Cleanup code & comments. | José Fonseca | 2009-03-02 | 1 | -11/+7 |
| | | |||||
| * | pipebuffer: Handle PIPE_BUFFER_USAGE_DONTBLOCK flag. | José Fonseca | 2009-03-02 | 1 | -5/+15 |
| | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | ||||
| * | pipebuffer: Wait for the GPU to finish reading too. | José Fonseca | 2009-03-02 | 1 | -3/+4 |
| | | | | | | | | No real change, as we're not tracking relocations read/write access yet. | ||||
| * | pipebuffer: Remove unused var. | José Fonseca | 2009-03-02 | 1 | -1/+0 |
| | | |||||
* | | gallium: Add support for BSD operating systems, tested with FreeBSD | Benjamin Close | 2009-02-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | 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é Fonseca | 2009-02-24 | 2 | -8/+13 |
| | | |||||
* | | pipebuffer: Remove unused var. | José Fonseca | 2009-02-24 | 1 | -1/+0 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' | José Fonseca | 2009-02-23 | 4 | -16/+103 |
|\| | | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c src/gallium/auxiliary/util/u_tile.c | ||||
| * | pipebuffer: Dump debugging info for fenced buffer list. | José Fonseca | 2009-02-18 | 3 | -9/+100 |
| | | |||||
| * | pipebuffer: Don't retry to alloc memory block on mm. | José Fonseca | 2009-02-18 | 1 | -7/+3 |
| | | | | | | | | | | It will give the same result 2nd time too, as fencing is done at a higher level. | ||||
* | | gallium: Improve makefiles for libraries | Jakob Bornecrantz | 2009-02-20 | 1 | -3/+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. | ||||
* | | util: Move p_debug.h into util module. | José Fonseca | 2009-02-18 | 13 | -13/+13 |
| | | | | | | | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | ||||
* | | pipebuffer: Drop reliance on pipe_winsys. | José Fonseca | 2009-02-10 | 4 | -24/+54 |
| | | |||||
* | | pipebuffer: Drop (most of) pipe winsys stuff. | José Fonseca | 2009-02-01 | 6 | -275/+1 |
| | | |||||
* | | gallium: make p_winsys internal | Zack Rusin | 2009-01-30 | 4 | -8/+8 |
| | | | | | | | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage | ||||
* | | Merge branch 'gallium-0.2' into gallium-winsys-private | José Fonseca | 2009-01-30 | 1 | -1/+7 |
|\ \ | |||||
| * | | pipebuffer: Consider 0 as no alignment needed. | José Fonseca | 2009-01-30 | 1 | -1/+7 |
| | | | |||||
* | | | gallium: give the screen priority when it comes to buffer allocations | Zack Rusin | 2009-01-29 | 1 | -4/+4 |
|/ / | | | | | | | | | | | 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 | ||||
* | | pipebuffer: Ondemand buffer manager. | José Fonseca | 2009-01-29 | 4 | -0/+319 |
| | | | | | | | | | | A variation of malloc buffers which get transferred to real graphics memory when there is an attempt to validate them. | ||||
* | | pipebuffer: Implement proper buffer validation. | José Fonseca | 2009-01-29 | 14 | -108/+359 |
| | | |||||
* | | pipebuffer: More assertions. | José Fonseca | 2009-01-28 | 1 | -0/+5 |
| | | |||||
* | | pipebuffer: Fix alignment assertion. | José Fonseca | 2009-01-28 | 1 | -2/+2 |
| | | |||||
* | | pipebuffer: Export the pipe buffer winsys hooks. | José Fonseca | 2009-01-28 | 3 | -8/+84 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Alan Hourihane | 2008-12-15 | 17 | -686/+108 |
|\| | | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript | ||||
| * | Revert "pipebuffer: Implement proper buffer validation." | Keith Whitwell | 2008-12-12 | 14 | -367/+108 |
| | | | | | | | | This reverts commit a6d866f72c88d48d2bcfb3e3c882fdb639b5a8ce. | ||||
| * | Revert "pipebuffer: Ondemand buffer manager." | Keith Whitwell | 2008-12-12 | 4 | -319/+0 |
| | | | | | | | | This reverts commit 17849eafaacfbb2124d86f561a91b707317d3b31. | ||||
| * | Revert "pipebuffer: Fix buffer overflow." | Keith Whitwell | 2008-12-12 | 1 | -1/+1 |
| | | | | | | | | This reverts commit 55839ae064d64b7fcc180fcddb364bf31ab760dc. | ||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Alan Hourihane | 2008-11-25 | 17 | -111/+686 |
|\| | | | | | | | | | | | | | Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer.h | ||||
| * | pipebuffer: Fix buffer overflow. | José Fonseca | 2008-11-25 | 1 | -1/+1 |
| | | |||||
| * | pipebuffer: Ondemand buffer manager. | José Fonseca | 2008-11-24 | 4 | -0/+319 |
| | | | | | | | | | | A variation of malloc buffers which get transferred to real graphics memory when there is an attempt to validate them. | ||||
| * | pipebuffer: Implement proper buffer validation. | José Fonseca | 2008-11-24 | 14 | -108/+367 |
| | | |||||
* | | gallium: s/mmDestroy/u_mmDestroy/ | Brian Paul | 2008-11-05 | 1 | -1/+1 |
| | | |||||
* | | pipebuffer: Ensure refcounts of live buffer objects are never zero. | José Fonseca | 2008-11-03 | 2 | -5/+13 |
| | | |||||
* | | gallium: prefix memory manager functions with u_ to differentiate from ↵ | Brian Paul | 2008-10-29 | 1 | -5/+5 |
|/ | | | | functions in mesa/main/mm.c | ||||
* | pipebuffer: New callback to flush all temporary-held buffers. | José Fonseca | 2008-09-18 | 9 | -11/+113 |
| | | | | | Used mostly to aid debugging memory issues or to clean up resources when the drivers are long lived. | ||||
* | pipebuffer: Add missing break statement to cache lookup logic. | José Fonseca | 2008-09-02 | 1 | -6/+14 |
| | | | | Second loop was never run. Spotted by Keith. | ||||
* | pipebuffer: Comment the slab code. Remove the freeSlabs list. | José Fonseca | 2008-09-02 | 1 | -27/+77 |
| | | | | | The freeSlabs list is not really needed as we free empty slabs immediately. Time based cached is done separately. | ||||
* | pipebuffer: Fix/add detail to the under- overflow report messages. | José Fonseca | 2008-08-28 | 1 | -5/+8 |
| | |||||
* | pipebuffer: Check buffer over- & underflows when mapping/unmapping too. | José Fonseca | 2008-08-28 | 1 | -16/+52 |
| | |||||
* | gallium: thread wrapper clean-up | Brian Paul | 2008-08-26 | 5 | -53/+53 |
| | | | | | In p_thread.h replace _glthread_* functions with new pipe_* functions. Remove other old cruft. |