summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_texstate.c
AgeCommit message (Collapse)Author
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-08-14r300: Fix 3D texture support.Michel Dänzer
2008-06-13r300: Fix depth texture GL_LUMINANCE vs. GL_INTENSITY mixupNicolai Haehnle
2008-06-06r300: Improve texture layout calculationsNicolai Haehnle
The texture layout calculations for mipmapped cubemaps used to be completely wrong, since the GPU expects images to be grouped by miplevel instead of by face number. This has been fixed now, though the memory layout is still slightly incorrect for the smaller miplevels. Unfortunately, the docs are lacking in that area.
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.
2008-05-27r500: hopefully fix 4096 texture harderDave Airlie
2008-05-12R500: add support for 4k texturesAlex Deucher
2008-03-31DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg
Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
2007-10-17Framework for supporting z24_s8 and z32 depth textures on r300.Ian Romanick
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-30Fix r300SetTexOffset for big endian platforms.Michel Dänzer
This was broken by the unification of the texture format table.
2007-05-23r300: Minor indenting corrections in the texture format table.Oliver McFadden
2007-05-23r300: Use a single texture format table; reduces duplication.Oliver McFadden
2007-05-23r300: Corrected the RGB888 texture format entry.Oliver McFadden
I think this is correct, assuming no endian issues. See commmit 59a08923f51d4ed83effbfcd91473c9ee86465f1.
2007-05-22r300: Implement SetTexOffset hook.Michel Dänzer
2007-05-11r300: Cleaned up function names in r300_texstate.c.Oliver McFadden
2007-05-11r300: Enable hardware 3D texture support. Fixes the stex3d demo.Oliver McFadden
2007-05-10r300: Added TODO comment regarding texture tiling; I'm not sure about this.Oliver McFadden
2007-05-09r300: Added some more Doxygen documentation and made some functions static.Oliver McFadden
2007-05-09r300: Removed the "texmicrotile" variable; the tiling code is disabled via aOliver McFadden
compiler conditional anyway; probably broken?
2007-05-09r300: Converted a few "if (0)" into "if (RADEON_DEBUG & DEBUG_TEXTURE)".Oliver McFadden
2007-05-09r300: Indented r300_texstate.[ch]Oliver McFadden
2007-05-09r300: Removed some disabled R200 code from the R300 driver.Oliver McFadden
2007-05-09r300: Don't indent the tables in r300_texstate.c.Oliver McFadden
2007-05-09r300: Added a warning when texture state update fails.Oliver McFadden
2007-03-25r300: Whitespace cleanup in r300_texstate.cNicolai Haehnle
2007-03-18r300: Removed the deprecated $XFree86$ CVS keywords.Oliver McFadden
2006-11-01remove unused varsBrian Paul
2006-10-15Use endianness test function provided by mesa.Jerome Glisse
Use the _mesa_little_endian helper function insted of the MESA_BIG_ENDIAN flag. There is still place using this flag but we need to find how to submit 16bits elements on big endian computer.
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-09-12Removing some of r200 dependency, cleaning up code a bit,Jerome Glisse
and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300).
2006-06-06make sure tex format is supported.Aapo Tahkola
2006-03-31warn about broken dxt 3/5Aapo Tahkola
2006-03-29FP textures and fixes (Ewald Snel)Brian Paul
2006-03-13Clean build.Aapo Tahkola
2006-03-13Fix broken max mipmap leveling that was horribly wrong.Aapo Tahkola
2006-03-06Port r200 tex tiling code to run on r300 but keep it disabled.Aapo Tahkola
2006-01-27r300UpdateTextureEnv shouldnt be called.Aapo Tahkola
2006-01-21Doesnt apply anymoreAapo Tahkola
2006-01-20Fix ARGB1555 component swizzling.Aapo Tahkola
2006-01-09Fix cube maps.Aapo Tahkola
2005-12-17Add some missing hooks. This should fix various little problems with window ↵Aapo Tahkola
movement and 2d windows flashing on top of 3d windows. This problem was previously shadowed by r300ResetHwState as it gets called frequently.
2005-12-13fix from Roland for mipmapped compressed texturesDave Airlie
remove some debug
2005-12-05Fix AL8Aapo Tahkola
2005-12-04Fix r300 rectangular texture upload and swtcl coordinate fixing same as radeonDave Airlie
sw tcl
2005-11-18Try to detect when native support to given texture width is not available.Aapo Tahkola
2005-10-26Reduce stderr noise and fix some compiler warnings.Aapo Tahkola
2005-10-26Sync with my local tree.Aapo Tahkola
Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps
2005-10-05In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul
_BaseFormat to be consistant with gl_renderbuffer.