Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | gallium: Initial port of Thomas slab suballocator to pipebuffer. | José Fonseca | 2008-04-13 | 4 | -0/+440 |
| | | | | | | | | Not tested yet -- just compiles. This includes only the slab algorithm. Fencing is already implemented in pb_bufmgr_fence and time-based caching will be commited in a separate module shortly. | ||||
* | gallium: Fix overzealous assert. | José Fonseca | 2008-04-08 | 1 | -1/+5 |
| | |||||
* | gallium: Keep fenced buffers list ordered. | José Fonseca | 2008-04-05 | 1 | -53/+99 |
| | | | | This allows to keep the list small without the overhead of full walks. | ||||
* | gallium: Fix typo. | José Fonseca | 2008-04-05 | 1 | -1/+1 |
| | |||||
* | gallium: Do not assume that buffers are freed in the same order they are fenced. | José Fonseca | 2008-04-01 | 1 | -18/+21 |
| | | | | | | | | Also free buffers as soon as possible. This short term fix corrects the fenced list behavior but it will impact on performance. The long term fix is probably replace the linked list (legacy from the bufpool code) by a binary tree. | ||||
* | gallium: Make headers C++ friendly. | José Fonseca | 2008-02-27 | 3 | -3/+30 |
| | |||||
* | gallium: MSVC fixes. | José Fonseca | 2008-02-24 | 1 | -0/+2 |
| | |||||
* | Bring in several forgotten MSVC fixes. | José Fonseca | 2008-02-23 | 2 | -2/+3 |
| | |||||
* | Remove src/mesa and src/mesa/main from gallium source include paths. | José Fonseca | 2008-02-19 | 4 | -97/+3 |
| | |||||
* | Simplify makefile boilerplate code. | José Fonseca | 2008-02-19 | 1 | -7/+1 |
| | | | | | Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES. | ||||
* | Move mm.c code into util module. | José Fonseca | 2008-02-19 | 1 | -301/+1 |
| | | | | | Using the u_ prefix to distingish the c source files that support gallium interfaces and those that have really no relation with gallium itself. | ||||
* | Standardize on using the pipe/ include prefix. | José Fonseca | 2008-02-18 | 4 | -16/+16 |
| | |||||
* | Update scons build for new code layout. | José Fonseca | 2008-02-18 | 1 | -0/+14 |
| | |||||
* | Code reorganization: s/aux/auxiliary/. | José Fonseca | 2008-02-15 | 11 | -0/+2167 |
"aux" is a reserved name on Windows (X_X) |