summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_tex.c
AgeCommit message (Collapse)Author
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-07-27r300: Fix a crash related to depth textures (triggered by Glest w/ shadowmaps)Nicolai Haehnle
2008-06-30r300: Cleanup LodBias supportNicolai Haehnle
. There is both a per-texture unit and a per-texture object (at least for OpenGL 1.4); this should now be supported properly. . The LOD bias calculation in r300_state has been simplified and corrected (need to multiply by 32 instead of 31, and ensure clamping) . do not clamp LOD bias in TexEnv, as that behaviour conflicts with what the spec says . set Const.MaxTextureLodBias properly . remove the no_neg_lod_bias property; if somebody can explain what it's good for, we can add it back in, but according to Google, nobody seems to use it . removed some dead code and unused variables
2008-06-29r300: Change LOD bias emission to more closely follow per-tex rules.Corbin Simpson
Okay, this time it's for real, and for good. This should be a perma-fix.
2008-06-29r300: Fix wrap mode for 1D texturesNicolai Haehnle
2008-06-16r300: Make LOD bias a persistent environment variable.Corbin Simpson
Per airlied's suggestion.
2008-06-16r300: Fix new incarnation of bug 3195.Corbin Simpson
tests/bug_3195 doesn't render right, but at least it doesn't segfault this way.
2008-06-16r300: Forgot to clear old state before writing new state.Corbin Simpson
Oooops. Hehe.
2008-06-15r300: Enable LOD bias state emission.Corbin Simpson
Properly set t->filter_1 for r300_state to emit. Expect buggies as people see LOD bias enabled for the first time...
2008-06-15Oops, misordered a few instructions.Corbin Simpson
Not like it matters, though, since it's not taking effect yet.
2008-06-15r300: Unbreak LOD biasing, a bit.Corbin Simpson
Needs a bit more work on submission.
2008-06-14r3xx/r5xx: Don't force aniso.Corbin Simpson
*Pulls paper bag down over head*
2008-06-07r300: Allow driconf to set a default anisotropy.Corbin Simpson
If an app does not use GL_EXT_tex_filter_aniso, this lets driconf set it instead.
2008-06-07r300: Further anisotropic filtering fixesNicolai Haehnle
Thanks to Corbin for the initial cut today. Fixed some minor stuff (in particular, make sure we still use a MIP_LINEAR filtering mode; anisotropy without MIP_LINEAR filtering is not the truly pleasing anisotropy).
2008-06-07r5xx: Unbreak anisotropic filtering?Corbin Simpson
Not quite finished, maybe? Not sure.
2008-06-06r300: Cleanup TX_MIN_FILTER definesNicolai Haehnle
This commit should not affect the functionality at all, just cleanup some of the original texture filter guesswork using information from the register documentation.
2008-06-06r300: Remove unused variable r300_tex_obj::dirty_state and related definesNicolai Haehnle
This variable was only ever written to, but nobody used its value.
2007-11-03r300: fix texwrap border colorDave Airlie
2007-10-17Initial support for ARB_depth_textureIan Romanick
Currently only GL_DEPTH_COMPONENT16 are supported. I don't know what the hardware bits are to select the other formats, but it shouldn't be too hard to figure out.
2007-06-07r300: Cleaned up long lines in r300Choose8888TexFormat.Oliver McFadden
2007-05-13r300: Use #if 0 for disabled code, rather than commenting it out.Oliver McFadden
2007-05-13r300: Removed a couple of obsolete/commented out includes.Oliver McFadden
2007-05-11r300: Enable hardware 3D texture support. Fixes the stex3d demo.Oliver McFadden
2007-05-09r300: Added some more Doxygen documentation and made some functions static.Oliver McFadden
2007-05-09r300: Converted a few "if (0)" into "if (RADEON_DEBUG & DEBUG_TEXTURE)".Oliver McFadden
2007-05-09r300: Added some Doxygen comments.Christoph Bill
2007-05-09r300: Indented r300_tex.[ch].Oliver McFadden
2007-05-09r300: Removed some disabled R200 code from the R300 driver.Oliver McFadden
2007-05-09r300: Removed some obsolete code from r300_tex.c.Oliver McFadden
2007-03-18r300: Removed the deprecated $XFree86$ CVS keywords.Oliver McFadden
2006-09-20try to use a 8888 texture format which will result in only a memcopy in ↵Roland Scheidegger
mesa's texstore functions whenever possible for r200 and r300. r200 can use hw formats argb8888, rgba8888 and abgr8888 (or the opposite on big endian), r300 can use argb8888, bgra8888, rgba8888 and abgr8888 regardless of endian, as it supports free component swizzling.
2006-03-29FP textures and fixes (Ewald Snel)Brian Paul
2006-03-13Clean build.Aapo Tahkola
2006-01-26Fix a problem where offsets from disabled tmus reach drmAapo Tahkola
2005-12-17No you arent.Aapo Tahkola
2005-10-28GC a bit of dead code I noticed while looking at texwrap.Eric Anholt
2005-10-26Reduce stderr noise and fix some compiler warnings.Aapo Tahkola
2005-10-20fixes for r300_tex.c from Aapo TahkolaDave Airlie
2005-09-25Add support for texture compression to R300 driverDave Airlie
This isn't perfect, texcmp still has some issues with the small textures.. but its a good start
2005-02-24Another nasty struct size bug found.Aapo Tahkola
2005-02-19Minor fix to border and blend color.Aapo Tahkola
2005-02-17Fixing *lots* of warning messages, especially concerning unportableNicolai Haehnle
whitespace before preprocessor commands. Please, can you try to keep the warnings down? Try running make with make -s sometime to see just how bad an offender the current code is.
2005-02-10Turns out unknown5 was border color. texwrap looks good now.Aapo Tahkola
2005-02-08Typo..Aapo Tahkola
2005-02-08Fix the bug and get zbias back into shape. There might still be some ↵Aapo Tahkola
problems with initial zbias...
2005-02-01Get alpha in textures to work properly.Vladimir Dergachev
2005-01-25Fixes for clamp modes.Aapo Tahkola
2005-01-15On the way to getting stencil and texture formats working.Vladimir Dergachev
Looks like the matter of texture formats is a lot simpler, with the wrong display in quake explained by the fact that we are not handling texture combine modes.
2005-01-14Added fixes for filter modes and support for anisotropy filters.Aapo Tahkola
Wrap modes would work perfectly but i messed up something when cleaning up the code :/ Border color code is incomplete because i forgot to check how to set border size :)
2005-01-11Mipmapping and other texture filters now work.Aapo Tahkola
Beaware that R300_TX_MIN_FILTER_MASK might be incorrect because i havent been able to confirm that all filters operate correctly. Because of this its also pretty pointless trying to get other features that use filter field to work. Lod bias should also work but have been unable to test it because lodbias test doesnt work.