Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glapi: mv code generation to subdir | George Sapountzis | 2010-02-24 | 42 | -0/+0 |
| | | | | This just moves files, code generation Makefile will be fixed in next commit for easier review. | ||||
* | i965: Enable GL_ARB_fragment_coord_conventions now that the GLSL is fixed. | Eric Anholt | 2010-02-23 | 1 | -0/+1 |
| | | | | Tested with piglit glsl-arb-fragment-coord-conventions. | ||||
* | mesa: Assert that array index is not negative. | Vinson Lee | 2010-02-23 | 1 | -0/+1 |
| | |||||
* | st/mesa: change viewport Z scale/bias for glBitmap/glDrawPixels | Brian Paul | 2010-02-22 | 2 | -4/+10 |
| | | | | | | | This fixes incorrect Z position of glBitmap, glDraw/CopyPixels for the svga driver. Now we use 0.5, 0.5 as is typical for ordinary 3D rendering. (cherry picked from commit bcd561c66777e58dbb29a573c4d2279772bac6c5) | ||||
* | st/mesa: Add checks for ST_SURFACE_x vs MESA_BUFFER_x | Brian Paul | 2010-02-22 | 2 | -1/+9 |
| | | | | | | | The ST_SURFACE_x values should match the Mesa BUFFER_x values. Added some assertions to prevent future mix-ups. (cherry picked from commit 13cbb5fff68ef8831230638e9f0b29a217750e9d) | ||||
* | mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH. | Brian Paul | 2010-02-22 | 1 | -1/+1 |
| | | | | | | Some st functions assume that they are identical. (cherry picked from commit 9d17ad2891b58de9e33e943ff918a678c6a3c2bd) | ||||
* | intel: assert that we do not overflow the batch buffer. | Chris Wilson | 2010-02-22 | 1 | -1/+2 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | i915: Fix logic !gen >= 3 | Chris Wilson | 2010-02-22 | 1 | -1/+1 |
| | | | | | | | The effect of this was that all objects were aligned to 128 bytes on all generations, rather than just gen2. Signed-off-by: Chris Wilson <[email protected]> | ||||
* | i915: Remove superfluous MI_NOOP from vertex emission | Chris Wilson | 2010-02-22 | 1 | -2/+1 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | intel: Check that we have a bufmgr or bail out when initializing the context. | Chris Wilson | 2010-02-22 | 1 | -0/+4 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | st/mesa: Fix memory leak on out-of-memory error path. | Vinson Lee | 2010-02-21 | 1 | -1/+3 |
| | |||||
* | mesa: Add assert to check for null pointer dereference. | Vinson Lee | 2010-02-21 | 1 | -2/+6 |
| | |||||
* | radeon: Silence compiler format warning. | Vinson Lee | 2010-02-20 | 1 | -1/+1 |
| | |||||
* | 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: Silence compiler format warning. | Vinson Lee | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | mesa: fix snprintf() typo | Brian Paul | 2010-02-19 | 2 | -4/+4 |
| | |||||
* | mesa: restore _mesa_snprintf() - it's needed for Windows | Brian Paul | 2010-02-19 | 12 | -29/+45 |
| | | | | This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2 | ||||
* | mesa: casts to silence new warnings from printf() | Brian Paul | 2010-02-19 | 2 | -3/+3 |
| | |||||
* | mesa: remove abs/negate from fetch_vector1ui() | Brian Paul | 2010-02-19 | 1 | -14/+1 |
| | | | | | | This function is only used for the NV unpack instructions. Negate/abs make no sense and removing the code fixes Windows compiler warnings. Found by Karl Schultz. | ||||
* | 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 | 18 | -48/+37 |
| | |||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 95 | -1022/+941 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 127 | -641/+603 |
| | |||||
* | mesa: replace _mesa_bzero() with memset() | Brian Paul | 2010-02-19 | 17 | -42/+27 |
| | |||||
* | 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. |