Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gamma: Silence uninitialized variable warnings. | Vinson Lee | 2010-02-20 | 1 | -1/+1 |
| | |||||
* | gamma: Add missing headers. | Vinson Lee | 2010-02-20 | 10 | -5/+12 |
| | |||||
* | gamma: Remove unnecessary header. | Vinson Lee | 2010-02-20 | 1 | -1/+0 |
| | |||||
* | intel: Silence compiler format warnings. | Vinson Lee | 2010-02-20 | 2 | -2/+2 |
| | |||||
* | mesa: restore _mesa_snprintf() - it's needed for Windows | Brian Paul | 2010-02-19 | 1 | -3/+3 |
| | | | | This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2 | ||||
* | intel: Set buffer stamp before getting new buffers | Kristian Høgsberg | 2010-02-19 | 1 | -1/+5 |
| | | | | | | | This way, if we get an invalidate as we update the buffers, we don't clobber the drawable stamp and ignore the invalidate. Pointed-out-by: Francisco Jerez | ||||
* | Drop macro wrappers for the aligned memory functions | Kristian Høgsberg | 2010-02-19 | 9 | -19/+19 |
| | |||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 36 | -318/+314 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 44 | -189/+184 |
| | |||||
* | mesa: replace _mesa_bzero() with memset() | Brian Paul | 2010-02-19 | 2 | -2/+2 |
| | |||||
* | mesa: replace old MEMSET macro with memset | Brian Paul | 2010-02-19 | 3 | -9/+9 |
| | |||||
* | mesa: replace old MEMCPY macro with memcpy | Brian Paul | 2010-02-19 | 6 | -17/+17 |
| | |||||
* | Remove _mesa_memcmp in favor of plain memcmp. | Kenneth Graunke | 2010-02-19 | 2 | -3/+2 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | Remove _mesa_memset in favor of plain memset. | Kenneth Graunke | 2010-02-19 | 5 | -5/+3 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | 2010-02-19 | 13 | -29/+25 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | Remove _mesa_atoi in favor of plain atoi. | Kenneth Graunke | 2010-02-19 | 1 | -2/+2 |
| | |||||
* | Remove _mesa_strcmp in favor of plain strcmp. | Kenneth Graunke | 2010-02-19 | 5 | -11/+9 |
| | |||||
* | Remove _mesa_strncpy in favor of plain strncpy. | Kenneth Graunke | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | gamma: s#colormac.h#main/colormac.h# | Vinson Lee | 2010-02-19 | 6 | -6/+6 |
| | |||||
* | gamma: s/gammacontext.h/gamma_context.h/ | Vinson Lee | 2010-02-19 | 14 | -14/+14 |
| | |||||
* | i915: update render buffers at prepare_render time | Jesse Barnes | 2010-02-18 | 1 | -0/+1 |
| | | | | | We need to do this before we emit any state dependent on the current render buffers. | ||||
* | intel: Include main/hash.h using "" instead of <> | Kristian Høgsberg | 2010-02-18 | 1 | -1/+1 |
| | |||||
* | intel: Implement the DRI2 invalidate function properly | Kristian Høgsberg | 2010-02-17 | 16 | -48/+79 |
| | | | | | | | | | | | | | | | | | | | This uses a stamp mechanisms to mark the DRI drawable as invalid. Instead of immediately updating the buffers we just bump the drawable stamp and call out to DRI2GetBuffers "later". "Later" used to be at LOCK_HARDWARE time, and this patch brings back callouts at the points where we used to call LOCK_HARDWARE. A new function, intel_prepare_render(), is called where we used to call LOCK_HARDWARE, and if the buffers are invalid, we call out to DRI2GetBuffers there. This lets us invalidate buffers only when notified instead of on every glViewport() call. If the loader calls the DRI invalidate entrypoint, we disable viewport triggered buffer invalidation. Additionally, we can clean up the old viewport mechanism a bit, since we can just invalidate the buffers and not worry about reentrancy and whatnot. | ||||
* | dri/nouveau: Some multithreaded rendering fixes. | Francisco Jerez | 2010-02-17 | 18 | -1278/+1124 |
| | |||||
* | nouveau: fix legacy dri driver build | Johannes Obermayr | 2010-02-17 | 3 | -8/+6 |
| | |||||
* | dri/nouveau: Use event driven buffer validation. | Francisco Jerez | 2010-02-16 | 2 | -4/+41 |
| | |||||
* | dri2: Event driven buffer validation. | Francisco Jerez | 2010-02-16 | 5 | -12/+20 |
| | | | | | | | | | | | | | | | | | | When a buffer invalidation event is received from the X server, the "invalidate" hook of the DRI2 flush extension is executed: A generic implementation (dri2InvalidateDrawable) is provided that just bumps the "pStamp" sequence number in __DRIdrawableRec. For old servers not supporting buffer invalidation events, the invalidate hook will be called before flushing the fake front/back buffer (that's typically once per frame -- not a lot worse than the situation we were in before). No effort has been made on preserving backwards compatibility with version 2 of the flush extension, but I think it's acceptable because AFAIK no released stack is making use of it. Signed-off-by: Kristian Høgsberg <[email protected]> | ||||
* | dri2: Allocate cliprect as part of the __DRIdrawableRec | Kristian Høgsberg | 2010-02-16 | 2 | -4/+8 |
| | |||||
* | r600: use new program cloning functions | Brian Paul | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | r300: use new program cloning functions | Brian Paul | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | r600: Silence uninitialized variable warnings. | Vinson Lee | 2010-02-14 | 1 | -0/+4 |
| | |||||
* | r300: Silence uninitialized variable warning. | Vinson Lee | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | r600: Silence uninitialized variable warning. | Vinson Lee | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | i965: Remove unnecessary headers. | Vinson Lee | 2010-02-12 | 1 | -8/+0 |
| | |||||
* | dri: Remove unnecessary headers. | Vinson Lee | 2010-02-12 | 3 | -16/+0 |
| | |||||
* | mesa: Remove unnecessary headers. | Vinson Lee | 2010-02-12 | 2 | -3/+0 |
| | |||||
* | intel: Remove unused variable. | Vinson Lee | 2010-02-12 | 1 | -1/+0 |
| | |||||
* | intel: Avoid dri_bo_flink() in intel_update_renderbuffers() | Kristian Høgsberg | 2010-02-12 | 1 | -8/+2 |
| | | | | | Now that we track the global name in struct intel_region, we can just look it up there. | ||||
* | intel: Track named regions and make sure we only have one region per named bo | Kristian Høgsberg | 2010-02-12 | 4 | -1/+41 |
| | |||||
* | dri: Store the loader private passed in at dri context creation | Kristian Høgsberg | 2010-02-12 | 2 | -1/+7 |
| | | | | We just threw it away before, but we haven't had a use for it yet. | ||||
* | Revert "r600c: substract vbo offset to vbo size" | Jerome Glisse | 2010-02-12 | 1 | -1/+1 |
| | | | | | This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things | ||||
* | r600c: substract vbo offset to vbo size | Jerome Glisse | 2010-02-12 | 1 | -1/+1 |
| | | | | | To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size. | ||||
* | r600: be more exact in vb size calculation | Andre Maasikas | 2010-02-12 | 1 | -1/+2 |
| | | | | | to make kernel cs checker happier, last attribs don't need full stride of space. Calculate as count-1*stride + size of attrib | ||||
* | r600: support GL_SHORT attributes | Andre Maasikas | 2010-02-12 | 1 | -5/+5 |
| | | | | normalized seems to work with this setting. | ||||
* | i915: Remove always-true irq_active struct intel_screen field | Kristian Høgsberg | 2010-02-11 | 3 | -8/+0 |
| | |||||
* | i915: Remove a few DRI1 era struct intel_screen fields | Kristian Høgsberg | 2010-02-11 | 2 | -9/+0 |
| | |||||
* | i915: Drop intelScreenPrivate typedef and just call it struct intel_screen | Kristian Høgsberg | 2010-02-11 | 4 | -15/+9 |
| | |||||
* | i915: Remove unused intelRegion struct | Kristian Høgsberg | 2010-02-11 | 1 | -23/+0 |
| | | | | Phew, sure is nice to only have one struct called intel region. | ||||
* | i915: Remove left-over drmUnmap() | Kristian Høgsberg | 2010-02-11 | 2 | -7/+1 |
| | |||||
* | ffb: Fix build. | Vinson Lee | 2010-02-10 | 1 | -1/+1 |
| |