summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-105-60/+52
| | | | | | | 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.
* add some chip idsRoland Scheidegger2004-11-102-3/+21
|
* do clipping prior to XGetImage, just in case the image would extend beyond ↵Brian Paul2004-11-091-1/+53
| | | | the screen's bounds
* Removed _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead.Brian Paul2004-11-091-3/+3
|
* Remove need for defining _MSC_VER when building Mesa for windows withBrian Paul2004-11-082-3/+5
| | | | a non MS C compiler (MinGW). (Gregor Anich)
* enable GL_EXT_fog_coord. Calculate fog factors and submit them instead of ↵Roland Scheidegger2004-11-039-9/+266
| | | | 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).
* Added MMX optimized version of the RGB565 ReadRGBASpan routine.Ian Romanick2004-11-021-7/+19
|
* No visible changes, but commit the groundwork for further experiments:Nicolai Haehnle2004-11-027-24/+360
| | | | | - Install custom (though inactive) pipeline - Track depth test and culling state in hardware registers
* Add culling registers, sync versions of r300_reg.hNicolai Haehnle2004-11-021-9/+16
|
* Nicolai's sw-clipspan-fixes.patchKeith Whitwell2004-11-012-12/+13
|
* protected against old djgpp distrosDaniel Borca2004-11-011-1/+3
|
* Removed _swrast_validate_pbo_access().Brian Paul2004-10-311-8/+52
| | | | In x11 driver, map/unmap PBO as needed in DrawPixels functions.
* use _mesa_unmap_buffer by defaultBrian Paul2004-10-311-2/+2
|
* Bug #1713: Some rare libGL's have __glXFindDRIScreen defined but do notAdam Jackson2004-10-271-6/+26
| | | | | export it via glXGetProcAddress. These are not supported anymore, so print an error message to that effect.
* As per suggestions my Michel Daenzer, improve the fix for bugzilla #1513.Ian Romanick2004-10-263-2/+66
|
* Bug #1679: Link DRI drivers against DRI_LIB_DEPS, not GL_LIB_DEPS.Adam Jackson2004-10-251-1/+1
|
* Implement ColorMaskNicolai Haehnle2004-10-242-9/+35
|
* Hardware accelerated depth clearNicolai Haehnle2004-10-245-16/+62
|
* Big-endian fixes for R200 sw TCL path.Ian Romanick2004-10-231-0/+21
|
* fixed compilation errorsDaniel Borca2004-10-202-5/+10
|
* fix compilation error in `convertPalette' (still have to fix the issue, though)Daniel Borca2004-10-191-2/+4
|
* Small optimization for big-endian (e.g., PowerPC) systems.Ian Romanick2004-10-181-0/+10
|
* print an error message in convertPalette before dying.Daniel Borca2004-10-181-0/+3
| | | | this is NOT a fix, but it'll have to wait a little...
* small fix to match new _mesa_rescale_teximage2dDaniel Borca2004-10-181-0/+2
|
* Fix compile errors when DEBUG is defined.Ian Romanick2004-10-182-5/+5
|
* Fix t_vertex byte-ordering issues for PowerPC. This was tested with gearsIan Romanick2004-10-171-0/+20
| | | | and tunnel (for fog).
* Fix hangs on big-endian (e.g., PowerPC) hardware.Ian Romanick2004-10-171-2/+1
|
* - FIX: flickeringNicolai Haehnle2004-10-1712-81/+274
| | | | - Scissor support works now
* Fixed off by one errors in clipping.Ville Syrjala2004-10-161-2/+2
|
* Add code to support projective texturing and fix mixed enabling of textureEric Anholt2004-10-1611-270/+265
| | | | | | | | | | | | | | | 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
* Always turn on the TAM_DEBUG3=0x6 workaround on real r200s. It appears thatEric Anholt2004-10-161-2/+8
| | | | | | | 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.
* Only build the MMX/SSE/SSE2 versions for ReadRGBASpan when the pixel formatIan Romanick2004-10-161-3/+12
| | | | matches what they optimized versions actually expect.
* Fixed a few places that should have been using GET_SRC_PTR.Ian Romanick2004-10-151-3/+3
|
* Convert MGA driver to use new spantmp2.h interface.Ian Romanick2004-10-151-70/+27
|
* Huge dumb drop. State:Nicolai Haehnle2004-10-1513-59/+296
| | | | | | | | | | - 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)
* Add support for optimized versions of the code underlying ReadPixelsIan Romanick2004-10-144-193/+607
| | | | | | | | | (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.
* Add a license to this file. It was written on VA's watch, so they getKeith Whitwell2004-10-131-0/+29
| | | | the honours.
* Added some documentation that I managed to figure out throughIan Romanick2004-10-131-17/+27
| | | | experimentation.
* Make the GL_RENDERER string include the actual chipset informationIan Romanick2004-10-131-8/+16
| | | | instead of always saying "CLE266".
* Initial support for PowerPC specific code in Mesa and DRI drivers. DRIIan Romanick2004-10-131-3/+27
| | | | | | | | | 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. :)
* Refactor the code in driGetRendererString a bit to make it easier toIan Romanick2004-10-131-15/+40
| | | | add support for features of non-x86 CPU types.
* Bug #1588: abort if no palette format matches. (Egbert Eich, Stefan Dirsch)Adam Jackson2004-10-131-0/+1
|
* Let's build again after the support for GL_ARB_draw_buffers was added.Philippe Houdoin2004-10-131-1/+1
|
* Fix a potential memory leak.Philippe Houdoin2004-10-131-1/+2
|
* Implement BGLView::CopyPixelsIn/Out().Philippe Houdoin2004-10-131-24/+137
| | | | | BGLView::ErrorCallback() is now actually called on error! Plus usual minor changes.
* SWTC trick (disabled for now)Daniel Borca2004-10-123-0/+31
|
* SWTC trick, enabled new extensionsDaniel Borca2004-10-121-2/+32
|
* SWTC trickDaniel Borca2004-10-121-2/+44
|
* avoid the patch if Mesa_DXTn flag is setDaniel Borca2004-10-121-2/+2
|
* This statechange is vtx state, not tcl.Eric Anholt2004-10-091-1/+1
|