summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2005-04-25Fix as suggested by Ben Skeggs.Aapo Tahkola
2005-04-25Minor changes to make linux-solo build againJon Smirl
2005-04-24Software fallback for glColorMask. Can be avoided on Savage4 when allFelix Kuehling
channels are masked (disable draw update). Bumped driver date to reflect recent correctness fixes. The driver now passes all glean tests except exactRGBA on both Savage4 and Savage3D-based cards.
2005-04-24Modifying to build against current Mesa. Disabled r200*.c files since they ↵Aapo Tahkola
didnt want to build anymore.
2005-04-23Fixed a segfault introduced by Keith's pipeline changes.Felix Kuehling
2005-04-23Texturing fixes for Savage3D/MX/IX:Felix Kuehling
- force emitting texAddr when the texture image changed (flush caches) - set transparent texture color key to something improbable (couldn't find a way to disable it completely) - fixed texture environment modes GL_DECAL and GL_REPLACE - made texture environment mode GL_BLEND a software fallback - added two custom texture formats for promoting from GL_ALPHA to ARGB8888 and 4444. Since the hardware can't be made to ignore the RGB color components, set them to 1 instead of 0. This gives the correct results - disabled GL_EXT_texture_env_add on Savage3D/MX/IX - map both GL_CLAMP and GL_CLAMP_TO_EDGE to hardware mode "wrap". It doesn't match either mode exactly by the spec, so we should either fall back on both or none. I chose the latter. - fall back to software when s and t wrapping modes differ (hardware has only one bit for both)
2005-04-22First pass at updating these drivers with pipeline_stage struct changes.Keith Whitwell
2005-04-22Added a French translation of option descriptions by Stephane Marchesin.Felix Kuehling
2005-04-21Fixed some suspicious pointer casts that caused lots ofFelix Kuehling
compile-time-warnings on x86-64. Not tested on x86-64 yet, but a good thing in general, so I'm giving up waiting for feedback. See also https://bugs.freedesktop.org/show_bug.cgi?id=2924.
2005-04-21Fixed TexEnv modes GL_BLEND and GL_ADD on Savage4-based cards. DisabledFelix Kuehling
the use of hardware texture format I8 as it produces garbage at least on ProSavageDDR.
2005-04-21Adding some comments.Aapo Tahkola
2005-04-21Reduce the size of mesa's internal fragment and vertex programKeith Whitwell
representations by switching to packed structures for registers and instructions.
2005-04-21Had some odd problems with add and temps so doing it with mad. Adding some ↵Aapo Tahkola
MAD_2 cases.
2005-04-19Reorganized shader stuff.Aapo Tahkola
2005-04-19Fixes for bugs that were nailed down when compairing against software vertex ↵Aapo Tahkola
shading.
2005-04-18Fixing and enabling elt buffers by default.Aapo Tahkola
2005-04-18Alpha test fixPeter Zubaj
2005-04-14Disable CLOD (Lod constant) state emit. The values emitted wereKeith Whitwell
possibly negative, hence clobbering the leading register-id byte. Fixed the calculation of the values to prevent negative numbers being emitted, but the code still doesn't implement texture LOD bias correctly, so leave it disabled overall.
2005-04-13Revert revision 1.13. This allows server-side libGLcore (in X.org) to buildIan Romanick
with Mesa CVS. This change was wrong in the first place, and the issue that necessitated it has been resolved. For more background on the problem see: http://marc.theaimsgroup.com/?l=mesa3d-dev&m=111333880529935&w=2
2005-04-12Added a Spanish translation by David Rubio Miguélezand a DutchFelix Kuehling
translation by Manfred Stienstra.
2005-04-12Changed escaping of double quotes.Felix Kuehling
2005-04-11Manage option translations in separate .po files to make translationsFelix Kuehling
easier for non-programmers familiar with GNU gettext. For now there is only a German translation but more translations are encouraged. Translatable strings are extracted from t_options.h containing option definitions with English descriptions. A corresponding header options.h with all available translations of option descriptions is generated by gen_xmlpool.py and included by xmlpool.h. Many option descriptions were rephrased to make them unambiguous for translation without context. They are hopefully more helpful to users at the same time.
2005-04-08Remove all the radeon_subset files. They were completely unused. KeithIan Romanick
Whitwell says, "[T]he radeon subset code can probably be archived now." This "fixes" bug #1623.
2005-04-06Make linux-dri-x86-64 more like linux-dri-x86. Add ARCH_FLAGS. This isIan Romanick
where things like "-m64" or "-m32" should be specified. Using this, a 32-bit DRI build can be done on an x86-64 system by doing 'ARCH_CFLAGS=-m32 make linux-dri-x86'. Minor tweaks to linux-dri to support these changes.
2005-04-05Don't call PrimitiveNotify with an invalid primitive. Fix ipersKeith Whitwell
wireframe mode.
2005-03-24Fixed segfault due to an off-by-one error in SAVAGE_TEX_MAXLEVELS.Felix Kuehling
2005-03-23Initialize texture addresses to something valid.Felix Kuehling
2005-03-23remove file after mergeKeith Whitwell
2005-03-22rename mesaVis to try and improve clarityKeith Whitwell
2005-03-22merge unichrome changes from branchKeith Whitwell
2005-03-22Remove test for defined(DRM_USE_MALLOC) around definition ofKeith Whitwell
drmSIGIOHandler().
2005-03-22Calculate haveAccumBuffer, haveDepthBuffer and haveStencilBuffer inKeith Whitwell
driFillInModes().
2005-03-18Add support for production version of ATI RN50/ES1000. (ATI TechnologiesMichel Dänzer
Inc.)
2005-03-18Misc fixes.Aapo Tahkola
2005-03-17Fix to get doom3 started.Aapo Tahkola
2005-03-17Simple TCL stage and ability to disable vps.Aapo Tahkola
2005-03-16Proper VAP output configuration as R300_RS_ROUTE_0_COLOR became optional and ↵Aapo Tahkola
broke arbvptorus(takes no input color but produces output color). Also removing some useless code.
2005-03-16Fixed some strangeness when mixing textured/flat primitives. Skipping ↵Ben Skeggs
texture units should render correctly also. Aapo, I dont think I broke glxgears again on you...
2005-03-15add support for user-configurable brilinear filtering on r200Roland Scheidegger
2005-03-15Fix to get glxgears display anything.Aapo Tahkola
2005-03-15For some reason the Makefile didn't commit..Ben Skeggs
2005-03-15Initial multitexturing support. Old behaviour can be re-enabled by changing ↵Ben Skeggs
ifdefs in r300_setup_rs_unit and r300SetupPixelShader in r300_state.c\nRequires DRM update.
2005-03-14When timestamping textures, need to emit the event with SAVAGE_WAIT_3DFelix Kuehling
set. Otherwise the 3D engine may still be using a texture that is being overwritten. In order to minimize the cost of waiting, timestamp textures only when needed: when a texture image changes, when a different texture is bound to a texture unit or when a texture unit is disabled. (Used to be after flushing every command buffer.)
2005-03-14Stencil supportPeter Zubaj
Reflex from mesa demos doesn't work TODO - double side stencil I hope that I didn't break anything
2005-03-13Replacing alpha test bits with values that give desired results as compaired ↵Aapo Tahkola
to software rendering. Alpha test in textures is still completely broken as can be seen in progs/demos/fire and various games.
2005-03-13Updated savage_dri.h from Xorg CVS. This removes definitions that areFelix Kuehling
not part of the DDX->DRI interface and should never have been in this file in the first place.
2005-03-12Removed savagedma.[ch]. They have been unused for a while and were onlyFelix Kuehling
kept around for reference. Now that command DMA is implemented in the DRM module they are no longer needed.
2005-03-12Unlike radeon and r200 drivers r300AllocCmdBuf allocs dwords not bytes.Aapo Tahkola
2005-03-11Add suitable definitions for the _REV formats, plus a commentPaul Mackerras
explaining why they are the same as the non-REV formats now that textures don't get byte-swapped on their way to the chip. Fix the ARGB4444 and L8 formats. Add entries for the A8 and RGB332 formats.
2005-03-10- Flush before updating the timestamp of a texture heap from a bound texture.Felix Kuehling
- Flush before using a new texture or before disabling a texture unit, because savageFlushCmdBuf can only update the timestamp of the last used texture. This fixes corruption in quake2 with single-textured lighting.