summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_tex.c
AgeCommit message (Collapse)Author
2010-01-25Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
2010-01-23r300: Remove unnecessary headers.Vinson Lee
2010-01-19radeon/r300/r600: share common glCopyTex(Sub)Image codeMaciej Cencora
2010-01-04mesa: make texture BorderColor a union of float/int/uintBrian Paul
When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
2009-12-12r300: use _mesa_meta_Clear for buffer clearsMaciej Cencora
2009-11-14radeon: rework mipmap treeMaciej Cencora
2009-11-14radeon: rework mipmap tree reference countingMaciej Cencora
2009-11-14radeon/r300: don't flush cmdbuf if not necessaryMaciej Cencora
2009-10-05drivers: don't include texformat.hBrian Paul
And remove other unneeded #includes while we're at it.
2009-09-27drivers: use more mesa format functionsBrian Paul
2009-08-31r300: Convert to shared debug code.Pauli Nieminen
2009-04-09Merge remote branch 'origin/master' into radeon-rewriteDave Airlie
Conflicts: src/mesa/drivers/dri/r200/r200_tex.c src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_context.h src/mesa/drivers/dri/r300/r300_swtcl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texmem.c src/mesa/drivers/dri/r300/r300_texstate.c src/mesa/drivers/dri/radeon/radeon_tex.c
2009-04-01dri: use BorderColor instead of _BorderChanBrian Paul
2009-04-01radeon: go back and repick texture formats.Dave Airlie
This might trip up some serious FBO users, will have to see, but it avoids the slow paths for all the demos I have.
2009-02-24r300: fix bo ref/unref, plugs DRI handle leaksDave Airlie
2009-02-14radeon-common: Fix crash in glGetTexImageNicolai Haehnle
Since texture images are now stored in miptrees, we cannot usually access them directly via the Data pointer. So we wrap Mesa's implementation by map/unmap calls. This crash was triggered by Sauerbraten, Piglit now contains a regression test. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-02-12radeon/r200/r300: another big merge upheavel.Dave Airlie
This merges lots of the hw state atom emission and firevertices code. it also removes a lot of the extra radeon crap from r300 and merge scissor
2009-02-03r300: fixup mipmap + texsubimage issuesDave Airlie
This fixes a few regression in piglit, and adds some debug to the mipmap code
2009-01-22r200/r300: port r200 texture handling to common codeDave Airlie
we now get texrect + trivial textures working
2009-01-21r300/radeon: move face_for_targetDave Airlie
2009-01-21r300: start migrating common functions into common codeDave Airlie
2009-01-21r300: move to common texture_image objectDave Airlie
2009-01-21radeon/r200/r300: start to move to common miptree/texobjDave Airlie
2008-11-14r300: release bo from pixmapJerome Glisse
2008-11-14r300: bo and cs abstraction.Jerome Glisse
This abstract memory management and command stream building so we can use different backend either legacy one which use old pathway or a new one like with a new memory manager. This works was done by : Nicolai Haehnle Dave Airlie Jerome Glisse
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