summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-02-24radeon: fix bad state emission causes kernel to do bad depth clearDave Airlie
The kernel lets you clear depth without getting a depth offset from userspace, mesa used to emit state before clear, but that got lost in the refactoring, which made the kernel bug show up. Fix mesa driver to emit the state properly now. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-23intel: Call intel_prepare_render() in intelMakeCurrent()Kristian Høgsberg
This restores old behaviour, where we end up doing a DRI2GetBuffers() call from intelMakeCurrent(). The idea was that we could do this lazily, just before we start rendering. However, if we don't do the DRI2GetBuffers() round-trip we don't get the drawable size and higher level mesa ends up short-cutting a number of GL calls, such as glClear().
2010-02-23st/mesa: whitespace fixesBrian Paul
2010-02-24glapi: fix es after mvGeorge Sapountzis
2010-02-24glapi: fix code generation Makefile after mvGeorge Sapountzis
2010-02-24glapi: mv code generation to subdirGeorge Sapountzis
This just moves files, code generation Makefile will be fixed in next commit for easier review.
2010-02-23i965: Enable GL_ARB_fragment_coord_conventions now that the GLSL is fixed.Eric Anholt
Tested with piglit glsl-arb-fragment-coord-conventions.
2010-02-23mesa: Assert that array index is not negative.Vinson Lee
2010-02-22st/mesa: change viewport Z scale/bias for glBitmap/glDrawPixelsBrian Paul
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)
2010-02-22st/mesa: Add checks for ST_SURFACE_x vs MESA_BUFFER_xBrian Paul
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)
2010-02-22mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH.Brian Paul
Some st functions assume that they are identical. (cherry picked from commit 9d17ad2891b58de9e33e943ff918a678c6a3c2bd)
2010-02-22intel: assert that we do not overflow the batch buffer.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-02-22i915: Fix logic !gen >= 3Chris Wilson
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 <chris@chris-wilson.co.uk>
2010-02-22i915: Remove superfluous MI_NOOP from vertex emissionChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-02-22intel: Check that we have a bufmgr or bail out when initializing the context.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-02-21st/mesa: Fix memory leak on out-of-memory error path.Vinson Lee
2010-02-21mesa: Add assert to check for null pointer dereference.Vinson Lee
2010-02-20radeon: Silence compiler format warning.Vinson Lee
2010-02-20gamma: Silence uninitialized variable warnings.Vinson Lee
2010-02-20gamma: Add missing headers.Vinson Lee
2010-02-20gamma: Remove unnecessary header.Vinson Lee
2010-02-20intel: Silence compiler format warnings.Vinson Lee
2010-02-19mesa: Silence compiler format warning.Vinson Lee
2010-02-19mesa: fix snprintf() typoBrian Paul
2010-02-19mesa: restore _mesa_snprintf() - it's needed for WindowsBrian Paul
This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2
2010-02-19mesa: casts to silence new warnings from printf()Brian Paul
2010-02-19mesa: remove abs/negate from fetch_vector1ui()Brian Paul
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.
2010-02-19intel: Set buffer stamp before getting new buffersKristian Høgsberg
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
2010-02-19Drop macro wrappers for the aligned memory functionsKristian Høgsberg
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19mesa: replace _mesa_bzero() with memset()Brian Paul
2010-02-19mesa: replace old MEMSET macro with memsetBrian Paul
2010-02-19mesa: replace old MEMCPY macro with memcpyBrian Paul
2010-02-19Remove _mesa_memcmp in favor of plain memcmp.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_memset in favor of plain memset.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_atoi in favor of plain atoi.Kenneth Graunke
2010-02-19Remove _mesa_strncmp in favor of plain strncmp.Kenneth Graunke
2010-02-19Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke
2010-02-19Remove _mesa_strlen in favor of plain strlen.Kenneth Graunke
2010-02-19Remove _mesa_strncpy in favor of plain strncpy.Kenneth Graunke
2010-02-19Remove _mesa_strcpy in favor of plain strcpy.Kenneth Graunke
2010-02-19Remove _mesa_strncat in favor of plain strncat.Kenneth Graunke
2010-02-19Remove _mesa_strstr in favor of plain strstr.Kenneth Graunke
2010-02-19gamma: s#colormac.h#main/colormac.h#Vinson Lee
2010-02-19gamma: s/gammacontext.h/gamma_context.h/Vinson Lee
2010-02-18st/mesa: added some bitmap debug code (disabled)Brian Paul
2010-02-18i915: update render buffers at prepare_render timeJesse Barnes
We need to do this before we emit any state dependent on the current render buffers.
2010-02-18mesa: silence mklib output for libglapi.c as for other targetsBrian Paul