Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: replace old MEMSET macro with memset | Brian Paul | 2010-02-19 | 7 | -22/+19 |
| | |||||
* | mesa: replace old MEMCPY macro with memcpy | Brian Paul | 2010-02-19 | 21 | -105/+103 |
| | |||||
* | Remove _mesa_memcmp in favor of plain memcmp. | Kenneth Graunke | 2010-02-19 | 6 | -20/+5 |
| | | | | 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 | 22 | -41/+24 |
| | | | | 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 | 53 | -176/+157 |
| | | | | 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 | 6 | -22/+12 |
| | |||||
* | Remove _mesa_strncmp in favor of plain strncmp. | Kenneth Graunke | 2010-02-19 | 6 | -18/+8 |
| | |||||
* | Remove _mesa_strcmp in favor of plain strcmp. | Kenneth Graunke | 2010-02-19 | 19 | -47/+33 |
| | |||||
* | Remove _mesa_strlen in favor of plain strlen. | Kenneth Graunke | 2010-02-19 | 19 | -39/+29 |
| | |||||
* | Remove _mesa_strncpy in favor of plain strncpy. | Kenneth Graunke | 2010-02-19 | 4 | -12/+2 |
| | |||||
* | Remove _mesa_strcpy in favor of plain strcpy. | Kenneth Graunke | 2010-02-19 | 5 | -15/+5 |
| | |||||
* | Remove _mesa_strncat in favor of plain strncat. | Kenneth Graunke | 2010-02-19 | 3 | -18/+8 |
| | |||||
* | Remove _mesa_strstr in favor of plain strstr. | Kenneth Graunke | 2010-02-19 | 5 | -23/+13 |
| | |||||
* | 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 |
| | |||||
* | st/mesa: added some bitmap debug code (disabled) | Brian Paul | 2010-02-18 | 1 | -0/+22 |
| | |||||
* | 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. | ||||
* | mesa: silence mklib output for libglapi.c as for other targets | Brian Paul | 2010-02-18 | 1 | -1/+1 |
| | |||||
* | swrast: fix left side clipping | Brian Paul | 2010-02-18 | 1 | -3/+36 |
| | | | | | | | Fixes bug 26623. Original patch was submitted by Mathias Frohlich and modified by Brian. (cherry picked from commit 7c34c237a2f6732b2c013543523617e375c1f534) | ||||
* | Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)." | Francisco Jerez | 2010-02-18 | 1 | -4/+8 |
| | | | | | | We probably don't want to propagate this condition to the pipe driver, this reverts commit f455ca6490fcb65781b21f81c7117bd923e250d1 and the dri_update_buffer flush altogether until an agreement is reached. | ||||
* | intel: Include main/hash.h using "" instead of <> | Kristian Høgsberg | 2010-02-18 | 1 | -1/+1 |
| | |||||
* | st/mesa: always call FLUSH_CURRENT before st->pipe->flush() | Keith Whitwell | 2010-02-18 | 1 | -2/+1 |
| | | | | | | Undoes part of commit f455ca6 which would permit pipe->flush() to be called while the VBO module still had its buffers mapped. Some drivers care deeply about this. Sorry for not spotting this earlier. | ||||
* | 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 |
| | |||||
* | st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME). | Francisco Jerez | 2010-02-17 | 1 | -9/+6 |
| | | | | | | | | | | | | | So far the frontbuffer was only being flushed on st_glFlush and st_glFinish, however, a co-state tracker may need to make sure that any frontbuffer changes are already on its way to the actual front. The dri2 state tracker will need this for event-driven GL applications to resize properly (It could also be done calling "dri_flush_frontbuffer", but that way we would flush unnecessarily in the double-buffered case). Additionally this patch avoids flushing the mesa rendering cache if PIPE_FLUSH_RENDER_CACHE wasn't specified. | ||||
* | st/mesa: replace conditional with assertion | Brian Paul | 2010-02-17 | 1 | -7/+2 |
| | | | | | Core Mesa will not call ctx->Driver.CheckQuery() if the Ready flag is already set. | ||||
* | glsl: Silence unused value warning. | Vinson Lee | 2010-02-17 | 1 | -0/+2 |
| | |||||
* | nouveau: fix legacy dri driver build | Johannes Obermayr | 2010-02-17 | 3 | -8/+6 |
| | |||||
* | st/dri2: Use event-driven buffer validation. | Francisco Jerez | 2010-02-16 | 6 | -84/+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 |
| | |||||
* | mesa: Lock mutex around _mesa_HashLookup linked list chase. | Brian Paul | 2010-02-16 | 2 | -3/+6 |
| | | | | | | | | | Remove const qualifier from _mesa_HashLookup() table parameter to avoid LOCK/UNLOCK warnings in the function body. Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 3094adb3caeb90124359db2356df3bf8ee94800a) | ||||
* | mesa: Test for failed malloc in _mesa_HashInsert. | Brian Paul | 2010-02-16 | 1 | -4/+6 |
| | | | | | | Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 7c7247ddbf6e3f7f93e44c1cb52490044f1a2215) | ||||
* | vbo: fix broken glMultiDrawElements() | Brian Paul | 2010-02-15 | 1 | -4/+5 |
| | | | | | | Seems to be a regression from commit 60b08eb1fdf287d28ec66b9282513ab35a61aee0. (cherry picked from commit c5a4cfb03ff17955c049f16ac805f5837ea4b633) | ||||
* | mesa: Remove pointless comparison of unsigned integer with a negative constant. | Vinson Lee | 2010-02-15 | 1 | -9/+4 |
| | |||||
* | st/mesa: minor assorted clean-ups | Brian Paul | 2010-02-14 | 1 | -8/+12 |
| | |||||
* | st/mesa: change some function return types | Brian Paul | 2010-02-14 | 1 | -15/+15 |
| | |||||
* | st/mesa: move per-fragment shader fields to local vars | Brian Paul | 2010-02-14 | 2 | -20/+19 |
| | |||||
* | st/mesa: use _mesa_clone_fragment_program() | Brian Paul | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | glsl: use new program cloning functions | Brian Paul | 2010-02-14 | 1 | -2/+2 |
| | |||||
* | mesa: added _mesa_clone_vertex/fragment_program() | Brian Paul | 2010-02-14 | 1 | -0/+16 |
| | | | | To reduce casting elsewhere... | ||||
* | r600: Silence uninitialized variable warnings. | Vinson Lee | 2010-02-14 | 1 | -0/+4 |
| | |||||
* | mesa: Don't pass paramter to __builtin_clz which would hve undefined result. | Pauli Nieminen | 2010-02-14 | 1 | -5/+11 |
| | | | | | | | | | __builtin_clz with parameter 0 has undefined value. When using -O3 optimizing this would result to too large next power of two value. Fix is to check if passed value is 1 and modify formula for that case. | ||||
* | mesa: Add missing include. | José Fonseca | 2010-02-14 | 1 | -0/+1 |
| | |||||
* | mesa: Use util_format_name(). | José Fonseca | 2010-02-14 | 2 | -2/+2 |
| | |||||
* | 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 |
| |