summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2005-06-30-"fix" page flippingAapo Tahkola
-use depth tiling if tiling is enabled
2005-06-27Uncomment a couple of helper functions.Vladimir Dergachev
Fix slipup from CVS update that was commented out and did not show up during compilation.
2005-06-27Rename unchecked state to match DRM driver.Vladimir Dergachev
Emit wait idle and pacify r300 before emitting state - this seems to improve stability.
2005-06-27Get rid of the MESA_PBUFFER_ALLOC/FREE() macros.Brian Paul
If that stuff is still needed, lots of other updates are needed anyway. Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes.
2005-06-26Fix crashes during rasterization fallback by avoiding _tnl_need_projected_coordsEric Anholt
during fallbacks. In one case, _swsetup_Wakeup had just been called, covering the need there, and in the other case, we can simply exit the entire radeonChooseVertexState function, knowing that it will be called again once we leave the fallback. Bugzilla #: 2516 Submitted by: sroland
2005-06-26Remove the #if 0-ed out old span code.Eric Anholt
2005-06-26Explain the reason for TCL fallback when GL_SPHERE_MAP happens withEric Anholt
RADEON_DEBUG=fall.
2005-06-26Zero out the ENGPACKET allocated on the stack, to avoid sending uninitializedEric Anholt
values to reserved fields on the card, resulting in all-black output and sometimes hangs. Submitted by: Thomas Winischhofer
2005-06-26need parenthesis in realloc callBrian Paul
2005-06-23Remove the xmesa_set_buffer() function. No longer needed since theBrian Paul
span functions pass in a gl_renderbuffer to indicate which color buffer should be drawn into. Optimized line/triangle routines are smart enough to know which buffer to draw into as well. The swrast->SetBuffer() routine should eventually be removed from all drivers.
2005-06-21Back out the actual enabling of depth tiling.Nicolai Haehnle
Depth tiling breaks software fallbacks and depth buffer reads. radeon_span.c **must** be updated for anything that is related to tiling.
2005-06-21Add PCI ID for R420 JI.Nicolai Haehnle
The driver appears to work reliably (i.e. lockup-free) with a card based on this chip. However, I have not explored whether we could get anything in terms of 3D performance "for free" just by setting some magic bits in those registers that are still a mystery to us.
2005-06-21r300 driver side of color tiling support.Aapo Tahkola
2005-06-21Make sure texture base addresses are used correctly.Nicolai Haehnle
They are relative to the card's address space, not relative to fbLocation, which will be important once we program MC_FB/AGP_LOCATION in the way they are programmed on older Radeon chips.
2005-06-20DirectFB updates (Claudio Ciccani)Brian Paul
2005-06-16Fix gloss breakage when using hw tnl.Aapo Tahkola
2005-06-16Use depth tiling.Aapo Tahkola
2005-06-16Support 16-bit modes.Aapo Tahkola
2005-06-16Fix problems with elts when immediate mode is on.Aapo Tahkola
2005-06-16Turn off VBO's.Aapo Tahkola
2005-06-16lost_context never gets reset.Aapo Tahkola
2005-06-16Fix linux-solo build for mga check-inJon Smirl
2005-06-14Adds support for MGA DRM version 3.2.Ian Romanick
This patch makes use of two of the new ioctls added in MGA DRM version 3.2. Specifically, the DRM_MGA_SET_FENCE and DRM_MGA_WAIT_FENCE ioctls are used in mgaWaitForFrameCompletion. As a result the MMIO register region and the primary DMA region are *not* mapped (if DRM 3.2 is available). This patch does *not* make use of the new get_param query was added to differentiate between G4x0 cards and G550 cards. That is left to a future update. Xorg bug: 3259 Reviewed by: Eric Anholt
2005-06-13fbSwapBuffers needs to return a statusJon Smirl
2005-06-13mingw changes (Nolan Leake)Brian Paul
2005-06-12Fixed typos.Vladimir Dergachev
2005-06-10Add definition for memory controller latency registers..Vladimir Dergachev
2005-06-08- Secondary colourBen Skeggs
- Calculate tc_count in EmitArrays (enabled units != nr texcoords).
2005-06-08fix some renderbuffer problems for Xserver build (Dave Reveman)Brian Paul
2005-06-08check for double-buffered buffer in XMesaDestroyBuffer() (Dave Reveman)Brian Paul
2005-06-07Add SetBuffer to egl driver tooJon Smirl
2005-06-06Add a NULL SetBuffer function to the fbdev driverJon Smirl
2005-06-06TEX to outputBen Skeggs
2005-06-05Fix xyz/w interaction (needs a cleanup still..)Ben Skeggs
Use SRC0A instead of WZY/XXX combination for W in XYZ positions. Remove dodgy hack from POW opcode, now works correctly without it
2005-06-04added commentBrian Paul
2005-06-02oops, undo previous changeBrian Paul
2005-06-02start removing old (pre-renderbuffer) span codeBrian Paul
2005-06-01Move fallback and other debugging under TDFX_DEBUG using the same mechanismEric Anholt
as other drivers.
2005-06-01Add no_rast option.Eric Anholt
2005-06-01Fix the 3dfx driver by correcting what appears to be a typo GL_RGBA8 insteadEric Anholt
of GL_RGBA in driNewRenderbuffer of the backbuffer.
2005-05-31Bugzilla #2708: Disable the fallback on GL_SPHERE_MAP. It appears to hurt moreEric Anholt
than it helps, and we seem to have a handle on how to fix it.
2005-05-31Add Intel(R) 945G support (Keith Whitwell, Tungsten Graphics)Alan Hourihane
2005-05-31Causes lockups on some rare cases.Aapo Tahkola
2005-05-31Pull locking out of HW_LOCK/UNLOCK and into SpanRenderStart/Finish. Also doEric Anholt
some cleanups on the span macros. This does not deal with the brokenness of depth spans, but makes the code more readable.
2005-05-31Correct the descriptions of the glBlend{Equation,Func} fallbacks in r128, andEric Anholt
remove those descriptions and the corresponding bits on r200, where they're no longer used.
2005-05-31Remove unused CTX_ARG2 define.Eric Anholt
2005-05-31Bugzilla #2195: Convert the radeon driver to the t_vertex interface. This cutsEric Anholt
about 200 lines from the code and 25k from the binary, while matching other drivers more closely. In the worst case (tcl_mode=0) it appears to have a performance cost of 4.4% +/- 0.3% on quake3 (800x600 demofours, 1ghz p3, rv200). Tested on ut2004, ut, q3, projtex. Submitted by: Andreas Stenglein <a.stenglein@gmx.net>
2005-05-31Move fallback debugging under MACH64_DEBUG=fall (matching other drivers) andEric Anholt
add pretty descriptions of the bits. GC one of the bits that was unused. Also, now only the first thing triggering a fallback and the last thing requiring one do the debug output. This also matches other drivers.
2005-05-30Pull locking out from HW_LOCK/UNLOCK into SpanRenderStart/Finish. Provides aEric Anholt
factor of 5+ improvement in no_rast glxgears and 2.3 in no_rast quake3 (n=1, 320x240, 16bpp, low qualities, 1ghz p3)
2005-05-30Fix software fallbacks by being safe with macro arguments in READ/WRITE_DEPTH.Eric Anholt
Convert to spantmp2.h while I'm here. Tested with 16 and 32bpp no_rast glxgears.