summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2004-11-27Remove the redundant width, height fields in xmesa_buffer struct. Just useBrian Paul
the values in the contained GLframebuffer. Removed some other unneeded code.
2004-11-27new GetOverlayInfo() function to reduce code and silence warningsBrian Paul
2004-11-27Have OSMesaGetProcAddress() return new OSMESAproc typedef.Brian Paul
2004-11-25Use a generic function typedef instead of void * to avoid gcc 3.4 warnings.Brian Paul
2004-11-25Use __GLXextFuncPtr type instead of void * for generic functions toBrian Paul
avoid gcc 3.4 compiler warnings. Remove the unused/obsolete GLX_render_texture stuff.
2004-11-25Update expected DRM version to 2.0.0Keith Whitwell
2004-11-23revert enabling of hw quads for swtcl. It lead to problems with quad_strips, ↵Roland Scheidegger
since they'll get reduced to quads sometimes if hw quads are enabled. But this needs more thought, since it looks like clipped primitives will always be emitted as polys, so the reduced primitives for triangles, quads, quads_strips, polys all need to be the same, otherwise get lockups with for instance the olympic test. Render templates would probably need to be changed for this to work.
2004-11-15moved windoze specific code outside drivers/glide/Daniel Borca
2004-11-15work around a bug in gcc 3.3.3 (which duplicates ASM block)Daniel Borca
2004-11-15fix _mesa_image_address2d invocationDaniel Borca
2004-11-12enable hw quad primitive for swtclRoland Scheidegger
2004-11-12add LOCK_HARDWARE/UNLOCK_HARDWARE to radeonClear so state gets updated which ↵Roland Scheidegger
hopefully fixes lockups (?) (from r200 driver)
2004-11-12(from r200 driver) If an application cleared before any state had been ↵Roland Scheidegger
emitted, that clear would happen before any state had been set, causing a hang later on. Fix this by calling radeonFlush instead of FIREVERTICES (which checks if any state has been emitted but not flushed, before calling Flush) in radeonClear. While here, add some more debugging info which was useful, and remove an unnecessary save/restore in BackUpAndEmit.
2004-11-12added a few sanity checksDaniel Borca
made coding style a bit more consistent
2004-11-12brown paper bag, r100 can't do hardware quads.Adam Jackson
2004-11-12make render_quads_verts call EMIT_PRIM with the arguments in the right order,Adam Jackson
and enable hardware quads on r200 and radeon. samples/prim renders quads correctly now.
2004-11-10GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul
and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions.
2004-11-10add some chip idsRoland Scheidegger
2004-11-09do clipping prior to XGetImage, just in case the image would extend beyond ↵Brian Paul
the screen's bounds
2004-11-09Removed _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead.Brian Paul
2004-11-08Remove need for defining _MSC_VER when building Mesa for windows withBrian Paul
a non MS C compiler (MinGW). (Gregor Anich)
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-11-01protected against old djgpp distrosDaniel Borca
2004-10-31Removed _swrast_validate_pbo_access().Brian Paul
In x11 driver, map/unmap PBO as needed in DrawPixels functions.
2004-10-31use _mesa_unmap_buffer by defaultBrian Paul
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-20fixed compilation errorsDaniel Borca
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