Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | changed _mesa_rescale_teximage2d to allow rescaling of padded images | Daniel Borca | 2004-10-18 | 2 | -12/+17 |
| | |||||
* | added dstRowStride to dxtCompressTexFuncExt; | Daniel Borca | 2004-10-18 | 1 | -5/+5 |
| | | | | | | | | good for subimages, padded images and such. NB: intentionally, this is the last parameter, to avoid breaking the current API! adding a new parameter is not harmful, at worst it will be ignored, since all platforms use a CDECL calling convention. | ||||
* | use RowStride instead of Width in texel fetchers. | Daniel Borca | 2004-10-18 | 1 | -11/+11 |
| | | | | changed some pointers to be (char *) instead of (long) | ||||
* | Fix compile errors when DEBUG is defined. | Ian Romanick | 2004-10-18 | 2 | -5/+5 |
| | |||||
* | Fix t_vertex byte-ordering issues for PowerPC. This was tested with gears | Ian Romanick | 2004-10-17 | 1 | -0/+20 |
| | | | | and tunnel (for fog). | ||||
* | Add ARGB modes to support big-endian systems. | Ian Romanick | 2004-10-17 | 2 | -0/+57 |
| | |||||
* | Fix hangs on big-endian (e.g., PowerPC) hardware. | Ian Romanick | 2004-10-17 | 1 | -2/+1 |
| | |||||
* | - FIX: flickering | Nicolai Haehnle | 2004-10-17 | 12 | -81/+274 |
| | | | | - Scissor support works now | ||||
* | Removed two unnecessary variables. | Ville Syrjala | 2004-10-16 | 1 | -4/+2 |
| | |||||
* | Fixed off by one errors in clipping. | Ville Syrjala | 2004-10-16 | 1 | -2/+2 |
| | |||||
* | Add code to support projective texturing and fix mixed enabling of texture | Eric Anholt | 2004-10-16 | 11 | -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 that | Eric Anholt | 2004-10-16 | 1 | -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. | ||||
* | Add support for OES_read_format. As soon as glext.h is updated with the | Ian Romanick | 2004-10-16 | 4 | -0/+36 |
| | | | | enums for this extension, the changes to gl.h can be removed. | ||||
* | fix if/else bug in _mesa_ProgramEnvParameter4fARB (fdo bug 1645) | Brian Paul | 2004-10-16 | 1 | -2/+2 |
| | |||||
* | Only build the MMX/SSE/SSE2 versions for ReadRGBASpan when the pixel format | Ian Romanick | 2004-10-16 | 1 | -3/+12 |
| | | | | matches what they optimized versions actually expect. | ||||
* | Fixed a few places that should have been using GET_SRC_PTR. | Ian Romanick | 2004-10-15 | 1 | -3/+3 |
| | |||||
* | Convert MGA driver to use new spantmp2.h interface. | Ian Romanick | 2004-10-15 | 1 | -70/+27 |
| | |||||
* | Huge dumb drop. State: | Nicolai Haehnle | 2004-10-15 | 13 | -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 ReadPixels | Ian Romanick | 2004-10-14 | 7 | -193/+1114 |
| | | | | | | | | | (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 get | Keith Whitwell | 2004-10-13 | 1 | -0/+29 |
| | | | | the honours. | ||||
* | Added some documentation that I managed to figure out through | Ian Romanick | 2004-10-13 | 1 | -17/+27 |
| | | | | experimentation. | ||||
* | Make the GL_RENDERER string include the actual chipset information | Ian Romanick | 2004-10-13 | 1 | -8/+16 |
| | | | | instead of always saying "CLE266". | ||||
* | Initial support for PowerPC specific code in Mesa and DRI drivers. DRI | Ian Romanick | 2004-10-13 | 5 | -6/+175 |
| | | | | | | | | | 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 to | Ian Romanick | 2004-10-13 | 1 | -15/+40 |
| | | | | add support for features of non-x86 CPU types. | ||||
* | Eliminate the funky SSE exception test from DRI builds. It's not need | Ian Romanick | 2004-10-13 | 1 | -6/+16 |
| | | | | (see the comment in the code), and it's just annoying. | ||||
* | Fix minor fog / fragment program state bug. | Brian Paul | 2004-10-13 | 4 | -26/+29 |
| | | | | Don't add diffuse and specular colors when using fragment program. | ||||
* | Bug #1588: abort if no palette format matches. (Egbert Eich, Stefan Dirsch) | Adam Jackson | 2004-10-13 | 1 | -0/+1 |
| | |||||
* | Let's build again after the support for GL_ARB_draw_buffers was added. | Philippe Houdoin | 2004-10-13 | 1 | -1/+1 |
| | |||||
* | Fix a potential memory leak. | Philippe Houdoin | 2004-10-13 | 1 | -1/+2 |
| | |||||
* | Implement BGLView::CopyPixelsIn/Out(). | Philippe Houdoin | 2004-10-13 | 1 | -24/+137 |
| | | | | | BGLView::ErrorCallback() is now actually called on error! Plus usual minor changes. | ||||
* | support for external libraries | Daniel Borca | 2004-10-12 | 2 | -0/+2 |
| | |||||
* | SWTC trick (disabled for now) | Daniel Borca | 2004-10-12 | 3 | -0/+31 |
| | |||||
* | SWTC trick, enabled new extensions | Daniel Borca | 2004-10-12 | 1 | -2/+32 |
| | |||||
* | SWTC trick | Daniel Borca | 2004-10-12 | 1 | -2/+44 |
| | |||||
* | avoid the patch if Mesa_DXTn flag is set | Daniel Borca | 2004-10-12 | 1 | -2/+2 |
| | |||||
* | add more mess to the dynamic linking system | Daniel Borca | 2004-10-12 | 1 | -25/+35 |
| | |||||
* | add newline to end of file | Daniel Borca | 2004-10-12 | 1 | -1/+1 |
| | |||||
* | Fix strange white space that gcc didn't like. | Felix Kuehling | 2004-10-11 | 1 | -1/+1 |
| | |||||
* | Prefix operator and constructor keywords with two consequtive underscores | Michal Krol | 2004-10-11 | 1 | -327/+327 |
| | | | | ( __ ). This will be more compatible with glslang spec. | ||||
* | Enable draw_buffers only if GL_ARB_draw_buffers string is | Michal Krol | 2004-10-11 | 1 | -1/+12 |
| | | | | | present in GL_EXTENSIONS string. Parse OPTION ARB_draw_buffers. | ||||
* | This statechange is vtx state, not tcl. | Eric Anholt | 2004-10-09 | 1 | -1/+1 |
| | |||||
* | Use the right FALLBACK macro for projtex so that projective textures actually | Eric Anholt | 2004-10-08 | 1 | -11/+7 |
| | | | | cause a fallback, and simplify the tmu handling a little. | ||||
* | Add fallback debugging (R128_DEBUG=fall) output, and set DO_DEBUG=1 by default | Eric Anholt | 2004-10-08 | 4 | -13/+52 |
| | | | | | so that we can use the env var to get output. Add a no_rast driconf option to force software fallbacks. | ||||
* | Don't compile WriteMonoDepthSpan if HAVE_HW_DEPTH_SPANS is defined -- it won't | Eric Anholt | 2004-10-08 | 1 | -0/+2 |
| | | | | | be used in that case, and it wanting WRITE_DEPTH was making r128 die on the undefined symbol. | ||||
* | Add support for NV_blend_square, and print errors if an unsupported blend | Eric Anholt | 2004-10-08 | 3 | -10/+27 |
| | | | | function is used. | ||||
* | Massively cleaned up the code that calculates front/back/depth buffer | Ian Romanick | 2004-10-08 | 4 | -342/+126 |
| | | | | | | pitch and size. Cut out a bunch of dead code. This fixes bugzilla #1555. | ||||
* | Reject unsupported texture formats passed to glCompressedTexImage?D. This | Ian Romanick | 2004-10-08 | 1 | -0/+3 |
| | | | | fixes Mesa bug #1028405. | ||||
* | Apply Eric's stencil wrap patch (Eric Anholt) | Alex Deucher | 2004-10-08 | 7 | -195/+147 |
| | |||||
* | Add Roland Scheidegger's S3TC patch. This patch does not implement the | Eric Anholt | 2004-10-07 | 25 | -44/+627 |
| | | | | | | | | | | | | | | | | | (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. | ||||
* | Prevent Y-offset from exceeding valid range in texture upload code. This | Ian Romanick | 2004-10-07 | 1 | -0/+8 |
| | | | | fixes bugzilla #960. |