summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/texmem.c
Commit message (Collapse)AuthorAgeFilesLines
* dri: Remove unused dri texmem.cKristian Høgsberg2011-11-021-1338/+0
|
* dri: Drop _dri_texformats that just obfuscate MESA_FORMAT names.Eric Anholt2011-10-281-3/+0
| | | | | The remaining _dri_texformats are the ones that are variable depending on the endianness of the system.
* mesa: Remove all mention of MESA_FORMAT_CI8Ian Romanick2011-08-291-1/+0
| | | | | | | | | | | Nothing in Mesa supports color-index textures, and most of the other infrastructure that could allow such support has already been removed. This puts the final nail in the coffin. Also clean out some GL_COLOR_INDEX comments in formats.c. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: move sampler state into new gl_sampler_object typeBrian Paul2011-04-101-3/+4
| | | | | | gl_texture_object contains an instance of this type for the regular texture object sampling state. glGenSamplers() generates new instances of gl_sampler_object which can override that state with glBindSampler().
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-2/+2
|
* dri/common: updated #includesBrian Paul2009-10-151-6/+2
|
* dri/common: use _mesa_little_endian() and update commentsBrian Paul2009-10-151-7/+5
|
* dri/common: fix broken _dri_texformat_* initializationsBrian Paul2009-10-151-4/+4
|
* mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-301-22/+22
| | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
* texmem: fix typo from brianp's changes.Dave Airlie2009-02-221-1/+1
| | | | Reported by cjb via tinderbox on irc
* mesa: use an array for current texture objectsBrian Paul2009-02-211-5/+5
| | | | Use loops to consolidate lots of texture object code.
* Remove CVS keywords.Keith Whitwell2008-09-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-4/+4
| | | | Makefile.template
* dri: Take the base image size into account when computingXiang, Haihao2008-07-011-0/+1
| | | | first level of the mipmap. fix #16210
* Coverity #567: Fix a memory leak on a failure path.Adam Jackson2006-04-021-0/+1
|
* replace the texture level hack used in radeon/r200 to allow larger textures ↵Roland Scheidegger2006-02-031-6/+13
| | | | with different methods to calculate the announced maximum texture sizes. Default is still the same (that is, radeon/r200 default to not announce anything which might not fit, i830/i915 default to 1 texture must fit). Bug #5785.
* Remove the many aliases for 'struct mem_block' in mm.hKeith Whitwell2005-11-281-1/+1
|
* fix two bugs wrt calculating max possible texture sizes for texture ↵Roland Scheidegger2005-10-151-3/+3
| | | | rectangles/cube maps.
* use an explicit reserved field, rather than magic number in boundKeith Whitwell2005-09-081-2/+2
|
* Fix the comment for the 'bound' field: it's a bitmask, not an index.Brian Paul2005-09-081-1/+1
| | | | In driTexturesGone(), set bound = 0, not 99.
* fix some signed vs unsigned warningsDave Airlie2005-02-141-1/+1
|
* Fixed a typo in an assertion. (Don't understand how this ever compiled.)Felix Kuehling2005-02-051-1/+1
| | | | Found by Andreas Stenglein.
* Use all texture heaps in a fair way when textures need to be kicked inFelix Kuehling2005-02-031-24/+81
| | | | | | | | | | order to make room for new textures. In particular this fixes texture trashing on the first heap when the second heap is occupied by currently unused textures (observed with Torcs and the Savage driver). Heaps are weighted by their sizes by default but drivers can override these and apply their own weights based on relative texture upload speeds to the respective heaps.
* Don't try to kick textures from a NULL tex heap.Felix Kuehling2005-02-021-0/+4
|
* Big-endian texture fixes from Michel Dänzer.Brian Paul2004-06-191-4/+52
|
* bring over build fixes from stable branchAlan Hourihane2004-04-261-1/+1
|
* Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell2004-01-271-1/+1
| | | | array, texObj->Image[face][level].
* Respect the 'in_use' field in the global LRU as a marker forKeith Whitwell2004-01-161-11/+6
| | | | kernel-reserved memory regions.
* Update DRI drivers to current DRI CVS and make them work.Jon Smirl2003-10-211-17/+79
|
* Shared dri driver resourcesKeith Whitwell2003-08-061-0/+1173