summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2004-11-03enable GL_EXT_fog_coord. Calculate fog factors and submit them instead of ↵Roland Scheidegger
fog coords (it seems the chip cannot do fog factor computation when not using fragment depth as fog coord source). vtxfmt uses fallback for now (most code present but some magic would be needed if replaying vertices is necessary later on).
2004-11-02Added MMX optimized version of the RGB565 ReadRGBASpan routine.Ian Romanick
2004-11-02No visible changes, but commit the groundwork for further experiments:Nicolai Haehnle
- Install custom (though inactive) pipeline - Track depth test and culling state in hardware registers
2004-11-02Add culling registers, sync versions of r300_reg.hNicolai Haehnle
2004-11-01Nicolai's sw-clipspan-fixes.patchKeith Whitwell
2004-10-27Bug #1713: Some rare libGL's have __glXFindDRIScreen defined but do notAdam Jackson
export it via glXGetProcAddress. These are not supported anymore, so print an error message to that effect.
2004-10-26As per suggestions my Michel Daenzer, improve the fix for bugzilla #1513.Ian Romanick
2004-10-25Bug #1679: Link DRI drivers against DRI_LIB_DEPS, not GL_LIB_DEPS.Adam Jackson
2004-10-24Implement ColorMaskNicolai Haehnle
2004-10-24Hardware accelerated depth clearNicolai Haehnle
2004-10-23Big-endian fixes for R200 sw TCL path.Ian Romanick
2004-10-19fix compilation error in `convertPalette' (still have to fix the issue, though)Daniel Borca
2004-10-18Small optimization for big-endian (e.g., PowerPC) systems.Ian Romanick
2004-10-18print an error message in convertPalette before dying.Daniel Borca
this is NOT a fix, but it'll have to wait a little...
2004-10-18small fix to match new _mesa_rescale_teximage2dDaniel Borca
2004-10-18Fix compile errors when DEBUG is defined.Ian Romanick
2004-10-17Fix t_vertex byte-ordering issues for PowerPC. This was tested with gearsIan Romanick
and tunnel (for fog).
2004-10-17Fix hangs on big-endian (e.g., PowerPC) hardware.Ian Romanick
2004-10-17- FIX: flickeringNicolai Haehnle
- Scissor support works now
2004-10-16Fixed off by one errors in clipping.Ville Syrjala
2004-10-16Add code to support projective texturing and fix mixed enabling of textureEric Anholt
coordinate generation. Original code by Roland Schiedegger, with changes by myself. While here, ensure that the swtcl path does tnl_install_attrs enough when fog/specular are being (en/dis)abled. Notable effects: - projtex test works with TCL and is closer with swtcl (Bugzilla #1461) - 8/9 squares work in texgenmix instead of 3. - texcyl "reflect" mode works (GL_SPHERE_MAP is now a fallback -- unclear if the hardware can actually support it). - flickering in doom3 replaced by just plain darkness. - blocktube fixed (Bugzilla #984) - fixes stex3d
2004-10-16Always turn on the TAM_DEBUG3=0x6 workaround on real r200s. It appears thatEric Anholt
the current cases for turning it on were insufficient (Bugzilla #1519, 729, 814) and it has no significant performance impact. Performance tested with quake3 in GL_LINEAR mode both with and without anisotropy, with the workaround always on or always off.
2004-10-16Only build the MMX/SSE/SSE2 versions for ReadRGBASpan when the pixel formatIan Romanick
matches what they optimized versions actually expect.
2004-10-15Fixed a few places that should have been using GET_SRC_PTR.Ian Romanick
2004-10-15Convert MGA driver to use new spantmp2.h interface.Ian Romanick
2004-10-15Huge dumb drop. State:Nicolai Haehnle
- Color buffer clear is accelerated, but flickers (possibly caused by a recent DDX or Mesa change or bad merge) - Everything else uses software fallback rendering - There should be no clipping-related artifacts with the sw-clipspan-fixes.patch against Mesa (posted on dri-devel) - Multiple clients should be rock solid with a DDX patch that is soon to come (soon = within the next hour or so)
2004-10-14Add support for optimized versions of the code underlying ReadPixelsIan Romanick
(and DrawPixels). The R200, R128, and Unichrome drivers get support in this commit. Other drivers would be easy enough to add for people that have the cards. The DRI (CVS) build will need to be updated to account for the new source files.
2004-10-13Add a license to this file. It was written on VA's watch, so they getKeith Whitwell
the honours.
2004-10-13Added some documentation that I managed to figure out throughIan Romanick
experimentation.
2004-10-13Make the GL_RENDERER string include the actual chipset informationIan Romanick
instead of always saying "CLE266".
2004-10-13Initial support for PowerPC specific code in Mesa and DRI drivers. DRIIan Romanick
drivers built on PowerPC systems should now show things like "PowerPC" or "PowerPC/Altivec" in the GL_RENDERER string. The VMX moniker is used for Altivec/Velocity Engine/VMX SIMD additions. I chose this not because I work for IBM but because it's a LOT shorter to type. :)
2004-10-13Refactor the code in driGetRendererString a bit to make it easier toIan Romanick
add support for features of non-x86 CPU types.
2004-10-13Bug #1588: abort if no palette format matches. (Egbert Eich, Stefan Dirsch)Adam Jackson
2004-10-09This statechange is vtx state, not tcl.Eric Anholt
2004-10-08Use the right FALLBACK macro for projtex so that projective textures actuallyEric Anholt
cause a fallback, and simplify the tmu handling a little.
2004-10-08Add fallback debugging (R128_DEBUG=fall) output, and set DO_DEBUG=1 by defaultEric Anholt
so that we can use the env var to get output. Add a no_rast driconf option to force software fallbacks.
2004-10-08Don't compile WriteMonoDepthSpan if HAVE_HW_DEPTH_SPANS is defined -- it won'tEric Anholt
be used in that case, and it wanting WRITE_DEPTH was making r128 die on the undefined symbol.
2004-10-08Add support for NV_blend_square, and print errors if an unsupported blendEric Anholt
function is used.
2004-10-08Massively cleaned up the code that calculates front/back/depth bufferIan Romanick
pitch and size. Cut out a bunch of dead code. This fixes bugzilla #1555.
2004-10-08Apply Eric's stencil wrap patch (Eric Anholt)Alex Deucher
2004-10-07Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt
(patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module providing functions to do so. Because it uses dlopen, it is only enabled if USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far). It adds support for S3TC to several DRI drivers, and adds a DRI config option to force enabling S3TC even if the software compression/decompression is unavailable. This may allow people to use apps that require S3TC even though they don't have a license to implement the patented material themselves, if those apps use precompressed textures. Ideally we would get permission from the current holder of the patents to implement the algorithm in Mesa, at which point the dlopen mess could go away. Until then, this allows some to run applications they couldn't otherwise, and hopefully will provide us with more push to get the final step of getting that permission done.
2004-10-07Prevent Y-offset from exceeding valid range in texture upload code. ThisIan Romanick
fixes bugzilla #960.
2004-10-07Fix emitting fog without secondary color and vice-versa.Felix Kuehling
2004-10-06Convert tdfxDDInitExtensions to use driInitExtensions.Ian Romanick
2004-10-05stencil wrap works, either HW or SW (Ian Romanick)Daniel Borca
2004-10-04Use the driFillInModes utility function.Ian Romanick
2004-10-04Also export fbconfigs with 0/0 depth/stencil modes. This fixes "driverIan Romanick
claims not to support visual 0xXX" warnings in X.org 6.8.1.
2004-10-04Add some Savage3D stencil documentation based on discussions during theIan Romanick
20-Sep-2004 #dri-devel meeting.
2004-10-04make clean should remove depend.bak too (Sérgio Moneiro Basto)Brian Paul
2004-10-04Set MaxTextureImageUnits and MaxTextureCoordUnits to match MaxTextureUnits.Ian Romanick
This fixes bugzilla #1511.