summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Adapt extension string to new GL dispatch schema proposedJerome Glisse2005-07-011-1/+48
| | | | | | by Idr. This patch is based on Idr patch to radeon driver. Change #if 1 to #if 0 (r300_context.c:l69) for old dispatch tab.
* Fix a prototypeKarl Schultz2005-07-011-5/+5
|
* convert sis and radeon driver to use spantmp2 instead of spantmp template. ↵Roland Scheidegger2005-07-013-317/+27
| | | | Remove old (pre-renderbuffer) span code instead of converting that too. Remove this old code from mach64 (the dead code was not fully converted to spantmp2 previously) too.
* Remove NEW_RENDERBUFFER stuff.Brian Paul2005-07-012-15/+7
| | | | | Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
* remove common macros used in the span functions of most drivers from the ↵Roland Scheidegger2005-07-0119-475/+124
| | | | individual drivers and put them in common code. It is still possible for a driver to define its own macros if it has special needs. This affects CLIPPIXEL, CLIPSPAN, HW_CLIPLOOP, HW_ENDCLIPLOOP, and for drivers using the spantmp2 template also GET_SRC_PTR and GET_DST_PTR.
* Replace add_newer_entrypoints (src/mesa/main/context.c) withIan Romanick2005-06-3017-268/+6408
| | | | | | | | | | | | | | | device-specific code. A new Python script (src/mesa/glapi/extension_helper.py) generates a list of all entry-points for all known extensions. Each driver the selects only the extensions that it needs and enables the via either driInitExtensions or driInitSingleExtension. This code has been compile-tested on a drivers, but has only been run-tested on mga and i915 (on i830 hardware). These changes were discussed at length on the mesa3d-dev mailing list. http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2
* -"fix" page flippingAapo Tahkola2005-06-302-13/+30
| | | | -use depth tiling if tiling is enabled
* Uncomment a couple of helper functions.Vladimir Dergachev2005-06-271-10/+1
| | | | Fix slipup from CVS update that was commented out and did not show up during compilation.
* Rename unchecked state to match DRM driver.Vladimir Dergachev2005-06-275-140/+148
| | | | Emit wait idle and pacify r300 before emitting state - this seems to improve stability.
* Get rid of the MESA_PBUFFER_ALLOC/FREE() macros.Brian Paul2005-06-274-11/+11
| | | | | If that stuff is still needed, lots of other updates are needed anyway. Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes.
* Fix crashes during rasterization fallback by avoiding _tnl_need_projected_coordsEric Anholt2005-06-262-2/+14
| | | | | | | | | | 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
* Remove the #if 0-ed out old span code.Eric Anholt2005-06-261-45/+0
|
* Explain the reason for TCL fallback when GL_SPHERE_MAP happens withEric Anholt2005-06-261-1/+2
| | | | RADEON_DEBUG=fall.
* Zero out the ENGPACKET allocated on the stack, to avoid sending uninitializedEric Anholt2005-06-261-0/+2
| | | | | | | values to reserved fields on the card, resulting in all-black output and sometimes hangs. Submitted by: Thomas Winischhofer
* need parenthesis in realloc callBrian Paul2005-06-261-1/+1
|
* Remove the xmesa_set_buffer() function. No longer needed since theBrian Paul2005-06-232-72/+0
| | | | | | | | 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.
* Back out the actual enabling of depth tiling.Nicolai Haehnle2005-06-211-7/+0
| | | | | Depth tiling breaks software fallbacks and depth buffer reads. radeon_span.c **must** be updated for anything that is related to tiling.
* Add PCI ID for R420 JI.Nicolai Haehnle2005-06-211-0/+2
| | | | | | | 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.
* r300 driver side of color tiling support.Aapo Tahkola2005-06-213-2/+8
|
* Make sure texture base addresses are used correctly.Nicolai Haehnle2005-06-212-2/+2
| | | | | | 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.
* DirectFB updates (Claudio Ciccani)Brian Paul2005-06-202-131/+155
|
* Fix gloss breakage when using hw tnl.Aapo Tahkola2005-06-162-1/+21
|
* Use depth tiling.Aapo Tahkola2005-06-162-7/+28
|
* Support 16-bit modes.Aapo Tahkola2005-06-163-7/+21
|
* Fix problems with elts when immediate mode is on.Aapo Tahkola2005-06-161-9/+9
|
* Turn off VBO's.Aapo Tahkola2005-06-161-3/+27
|
* lost_context never gets reset.Aapo Tahkola2005-06-161-2/+3
|
* Fix linux-solo build for mga check-inJon Smirl2005-06-161-0/+1
|
* Adds support for MGA DRM version 3.2.Ian Romanick2005-06-144-73/+134
| | | | | | | | | | | | | | | 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
* fbSwapBuffers needs to return a statusJon Smirl2005-06-131-0/+2
|
* mingw changes (Nolan Leake)Brian Paul2005-06-133-5/+4
|
* Fixed typos.Vladimir Dergachev2005-06-121-2/+2
|
* Add definition for memory controller latency registers..Vladimir Dergachev2005-06-101-0/+21
|
* - Secondary colourBen Skeggs2005-06-085-31/+64
| | | | - Calculate tc_count in EmitArrays (enabled units != nr texcoords).
* fix some renderbuffer problems for Xserver build (Dave Reveman)Brian Paul2005-06-081-2/+2
|
* check for double-buffered buffer in XMesaDestroyBuffer() (Dave Reveman)Brian Paul2005-06-081-17/+20
|
* Add SetBuffer to egl driver tooJon Smirl2005-06-072-1/+4
|
* Add a NULL SetBuffer function to the fbdev driverJon Smirl2005-06-061-0/+8
|
* TEX to outputBen Skeggs2005-06-061-6/+45
|
* Fix xyz/w interaction (needs a cleanup still..)Ben Skeggs2005-06-052-117/+128
| | | | | Use SRC0A instead of WZY/XXX combination for W in XYZ positions. Remove dodgy hack from POW opcode, now works correctly without it
* added commentBrian Paul2005-06-041-0/+2
|
* oops, undo previous changeBrian Paul2005-06-022-8/+2
|
* start removing old (pre-renderbuffer) span codeBrian Paul2005-06-026-175/+10
|
* Move fallback and other debugging under TDFX_DEBUG using the same mechanismEric Anholt2005-06-014-28/+20
| | | | as other drivers.
* Add no_rast option.Eric Anholt2005-06-015-10/+43
|
* Fix the 3dfx driver by correcting what appears to be a typo GL_RGBA8 insteadEric Anholt2005-06-011-1/+1
| | | | of GL_RGBA in driNewRenderbuffer of the backbuffer.
* Bugzilla #2708: Disable the fallback on GL_SPHERE_MAP. It appears to hurt moreEric Anholt2005-05-311-2/+1
| | | | than it helps, and we seem to have a handle on how to fix it.
* Add Intel(R) 945G support (Keith Whitwell, Tungsten Graphics)Alan Hourihane2005-05-314-2/+207
|
* Causes lockups on some rare cases.Aapo Tahkola2005-05-311-1/+1
|
* Pull locking out of HW_LOCK/UNLOCK and into SpanRenderStart/Finish. Also doEric Anholt2005-05-312-29/+22
| | | | | some cleanups on the span macros. This does not deal with the brokenness of depth spans, but makes the code more readable.