summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* dri/nouveau: Try to validate textures earlier.Francisco Jerez2010-02-256-112/+191
|
* dri/nouveau: Swizzle using the CPU when we hit a limitation of SIFM.Francisco Jerez2010-02-251-7/+89
|
* dri/nouveau: Clean up the nv04 surface code a bit.Francisco Jerez2010-02-251-26/+10
|
* dri/nouveau: Avoid mask overflow on nv04_surface_fill.Francisco Jerez2010-02-251-1/+1
|
* dri/nouveau: Set _BaseFormat correctly for z24s8 renderbuffers.Francisco Jerez2010-02-251-1/+1
|
* dri/nouveau: Fix stencil mask handling on glClear().Francisco Jerez2010-02-251-2/+2
|
* dri: remove old assertion (see bug 26734)Brian Paul2010-02-241-8/+0
| | | | (cherry picked from commit 293f4d51b473783d5c5ab773a1c438e0a2fe46f2)
* intel: Implement GL_OES_EGL_image entrypointsKristian Høgsberg2010-02-242-0/+88
|
* intel: Implement DRI image extensionKristian Høgsberg2010-02-244-0/+104
|
* r600: proper fix for 15601835361e2fdd34b38b265cfc3007749ee24dAlex Deucher2010-02-242-2/+2
| | | | | | PRE_EMIT_STATE_BUFSZ accounts for the start 3d, idle, cd/db flush not for state. The relocs for CB_COLOR0_FRAG & CB_COLOR0_TILE are part of the render target state.
* mesa: disable unreachable meta mipmap gen codeBrian Paul2010-02-241-0/+3
| | | | | | | More work is needed to support 3D mipmap generation. Disable unreachable code until then. See bug 26722.
* radeon/r200: fix the state emission before kernel clearDave Airlie2010-02-242-1/+4
| | | | | | this moves the emission outside the lock and adds r200 support. Signed-off-by: Dave Airlie <[email protected]>
* r600: Assert that array index is not negative.Vinson Lee2010-02-241-0/+1
|
* radeon: fix bad state emission causes kernel to do bad depth clearDave Airlie2010-02-241-0/+1
| | | | | | | | | 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 <[email protected]>
* intel: Call intel_prepare_render() in intelMakeCurrent()Kristian Høgsberg2010-02-231-0/+1
| | | | | | | | 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().
* i965: Enable GL_ARB_fragment_coord_conventions now that the GLSL is fixed.Eric Anholt2010-02-231-0/+1
| | | | Tested with piglit glsl-arb-fragment-coord-conventions.
* intel: assert that we do not overflow the batch buffer.Chris Wilson2010-02-221-1/+2
| | | | Signed-off-by: Chris Wilson <[email protected]>
* i915: Fix logic !gen >= 3Chris Wilson2010-02-221-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 emissionChris Wilson2010-02-221-2/+1
| | | | Signed-off-by: Chris Wilson <[email protected]>
* intel: Check that we have a bufmgr or bail out when initializing the context.Chris Wilson2010-02-221-0/+4
| | | | Signed-off-by: Chris Wilson <[email protected]>
* radeon: Silence compiler format warning.Vinson Lee2010-02-201-1/+1
|
* gamma: Silence uninitialized variable warnings.Vinson Lee2010-02-201-1/+1
|
* gamma: Add missing headers.Vinson Lee2010-02-2010-5/+12
|
* gamma: Remove unnecessary header.Vinson Lee2010-02-201-1/+0
|
* intel: Silence compiler format warnings.Vinson Lee2010-02-202-2/+2
|
* mesa: restore _mesa_snprintf() - it's needed for WindowsBrian Paul2010-02-191-3/+3
| | | | This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2
* intel: Set buffer stamp before getting new buffersKristian Høgsberg2010-02-191-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 functionsKristian Høgsberg2010-02-199-19/+19
|
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-1936-318/+314
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-1944-189/+184
|
* mesa: replace _mesa_bzero() with memset()Brian Paul2010-02-192-2/+2
|
* mesa: replace old MEMSET macro with memsetBrian Paul2010-02-193-9/+9
|
* mesa: replace old MEMCPY macro with memcpyBrian Paul2010-02-196-17/+17
|
* Remove _mesa_memcmp in favor of plain memcmp.Kenneth Graunke2010-02-192-3/+2
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_memset in favor of plain memset.Kenneth Graunke2010-02-195-5/+3
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-1913-29/+25
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_atoi in favor of plain atoi.Kenneth Graunke2010-02-191-2/+2
|
* Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke2010-02-195-11/+9
|
* Remove _mesa_strncpy in favor of plain strncpy.Kenneth Graunke2010-02-191-1/+1
|
* gamma: s#colormac.h#main/colormac.h#Vinson Lee2010-02-196-6/+6
|
* gamma: s/gammacontext.h/gamma_context.h/Vinson Lee2010-02-1914-14/+14
|
* i915: update render buffers at prepare_render timeJesse Barnes2010-02-181-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øgsberg2010-02-181-1/+1
|
* intel: Implement the DRI2 invalidate function properlyKristian Høgsberg2010-02-1716-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 Jerez2010-02-1718-1278/+1124
|
* nouveau: fix legacy dri driver buildJohannes Obermayr2010-02-173-8/+6
|
* dri/nouveau: Use event driven buffer validation.Francisco Jerez2010-02-162-4/+41
|
* dri2: Event driven buffer validation.Francisco Jerez2010-02-165-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 __DRIdrawableRecKristian Høgsberg2010-02-162-4/+8
|
* r600: use new program cloning functionsBrian Paul2010-02-141-1/+1
|