Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | gallium: include <sched.h> on linux to get sched_yield() proto | Brian | 2008-08-25 | 1 | -0/+1 |
| | |||||
* | gallium: include u_memory.h, u_math.h | Brian | 2008-08-24 | 1 | -0/+1 |
| | |||||
* | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | 2008-08-24 | 11 | -11/+11 |
| | | | | Also, rename p_tile.[ch] to u_tile.[ch] | ||||
* | pipebuffer: Add an extra assertion to ensure buffers do not jump between lists. | José Fonseca | 2008-08-07 | 1 | -6/+8 |
| | |||||
* | pipebuffer: More detailed description of bufer over-/undereflows. | José Fonseca | 2008-07-20 | 1 | -15/+34 |
| | |||||
* | pb: buffer over/underflows are errors. | José Fonseca | 2008-07-13 | 1 | -2/+2 |
| | |||||
* | gallium: fix logic in pb_check_usage() | Brian Paul | 2008-07-09 | 1 | -1/+1 |
| | |||||
* | pipebuffer: Silent warnings. | José Fonseca | 2008-07-03 | 1 | -0/+4 |
| | | | | Although rarely hit in normal apps, they are too noisy with test suites. | ||||
* | pipebuffer: Debug buffer manager to detect buffer under- and overflows. | José Fonseca | 2008-07-02 | 4 | -1/+309 |
| | | | | It should detect both cpu and gpu buffer overflows. | ||||
* | pipebuffer: Verify usage flag consistency. Minor cleanups. | José Fonseca | 2008-07-02 | 8 | -17/+43 |
| | |||||
* | pb: don't assert(0) on failure to allocate - this is a normal condition in ↵ | Keith Whitwell | 2008-06-12 | 1 | -1/+0 |
| | | | | many drivers | ||||
* | pipebuffer: Fix improper memory free. | José Fonseca | 2008-06-12 | 1 | -1/+1 |
| | |||||
* | pipebuffer: Alternative buffer manager. | José Fonseca | 2008-06-10 | 4 | -0/+108 |
| | | | | | For situations where one has a reserve memory pool, or a faster/slower pool. | ||||
* | pipebuffer: Be more lenient when matching cached buffer sizes. | José Fonseca | 2008-06-10 | 1 | -2/+5 |
| | | | | Reuse cached buffers up to twice as big a requested. | ||||
* | pipebuffer: Malloc buffer provider. | José Fonseca | 2008-05-27 | 2 | -1/+41 |
| | | | | Simple wrapper around pb_malloc_buffer_create for convenience. | ||||
* | pipebuffer: Allow slab allocations of buffers of inequal size. | José Fonseca | 2008-05-27 | 1 | -2/+2 |
| | |||||
* | pipebuffer: More robust face null pointers. | José Fonseca | 2008-05-22 | 1 | -1/+12 |
| | | | | | | It is really the caller responsibility not to call pipebuffer with null buffers, etc. But don't let the crash happen here, and still asserting early. | ||||
* | pipebuffer: Don't retry allocating in slab suballocator. | José Fonseca | 2008-05-22 | 1 | -18/+5 |
| | | | | | | In pipebuffer, fencing is done at on a level above sub-allocation, so no matter how many times slab allocator retries no buffer will be freed. The pipebuffer fencing implemention already retries allocating. | ||||
* | gallium: Don't serialize GPU writes. | José Fonseca | 2008-05-09 | 1 | -50/+50 |
| | | | | | | | Only make sure the GPU is finished with a buffer before mapping. The opposite -- waiting for the CPU to be finished before handing to the CPU -- must be done before fencing. | ||||
* | pipebuffer: Temporarily reimplement validation as growable array. | José Fonseca | 2008-05-09 | 1 | -65/+48 |
| | | | | Jose | ||||
* | gallium: Make sure functions have proper prototypes and remove unused variable. | Michel Dänzer | 2008-05-08 | 2 | -2/+2 |
| | |||||
* | pipebuffer: Preliminary buffer validation. | José Fonseca | 2008-05-08 | 4 | -0/+263 |
| | | | | | | | Use table to store a list of buffers to validate. Unfortunately cso_hash shrinks/regrows the hash every time, so still has to be addressed. Multi-thread validation is still WIP. | ||||
* | pipebuffer: Don't include standard headers directly. | José Fonseca | 2008-05-08 | 1 | -2/+2 |
| | |||||
* | pb: remove unused variable, squash warning | Keith Whitwell | 2008-04-28 | 1 | -2/+0 |
| | |||||
* | pipebuffer: Be extra cautious with the incoming buffers. | José Fonseca | 2008-04-27 | 1 | -3/+17 |
| | | | | | A common mistake is trying to fence user or malloc buffers. So don't let the crash happen inside pipebuffer lib. | ||||
* | gallium: Windows user mode portability fixes. | José Fonseca | 2008-04-25 | 1 | -4/+7 |
| | |||||
* | pipebuffer: New function to flush the buffer cache. | José Fonseca | 2008-04-24 | 2 | -3/+12 |
| | |||||
* | pipebuffer: Temporarily allow simultaneous CPU writes. | José Fonseca | 2008-04-22 | 1 | -1/+17 |
| | | | | Also, fast path for re-fencing the same buffer multiple times with the same fence. | ||||
* | gallium: Fix seg fault (James Vogt). | José Fonseca | 2008-04-15 | 1 | -2/+6 |
| | |||||
* | gallium: Several fixes to buffer caching. | José Fonseca | 2008-04-15 | 3 | -25/+68 |
| | |||||
* | gallium: Allow to use a single slab. | José Fonseca | 2008-04-15 | 2 | -128/+209 |
| | | | | | We often want to use a pool of equally sized buffers, so this makes the slab suballocator a drop-in replacement. | ||||
* | gallium: Serialize buffers writes. | José Fonseca | 2008-04-15 | 1 | -5/+76 |
| | | | | | Allow concurrent reads from buffers by the CPU/GPU, but serialize all writes. | ||||
* | gallium: Buffer cache. | José Fonseca | 2008-04-13 | 4 | -3/+318 |
| |