summaryrefslogtreecommitdiff
path: root/src/mesa/main/texobj.c
AgeCommit message (Collapse)Author
2004-09-14Repeatedly deleting a texture ID with glDeleteTextures() could lead to a crash.Brian Paul
Added a DeletePending flag to texture object struct to fix that. Other misc clean-ups.
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-03-20minor clean-upsBrian Paul
2004-02-06inform driver of changed wrap/filter parameters due to binding of nv_texrect ↵Roland Scheidegger
texture
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2004-01-19replace CALLOC with MALLOC in _mesa_new_texture_object()Brian Paul
2004-01-19remove incorrect comments, added _mesa_bzero() call in ↵Brian Paul
_mesa_initialize_texture_object()
2003-11-25added a castBrian Paul
2003-11-24minor error string improvementBrian Paul
2003-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
2003-09-12Allow glTexImage1/2/3D to specify width/height/depth = 0.Brian Paul
This allows texture state to be resettable to default state. Not allowed according to the spec, but allowed by all other OpenGL libs.
2003-08-28Added OpenGL 1.4's per-texture LOD bias.Brian Paul
2003-08-18minor code improvement in glGenTexturesBrian Paul
2003-07-22Restore more code lost during last big merge.Brian Paul
Rename colortable-related functions.
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-07-03Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).Brian Paul
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-04-01fix default compare modeBrian Paul
2003-04-01New device driver hooks for texture object and texture image creation toBrian Paul
allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
2003-03-10fix/improve glAreTextures/ProgramsResident (Jose Fonseca)Brian Paul
2003-01-14First batch of code for GL_NV_fragment_program.Brian Paul
Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
2003-01-08move t->Image[i]->Format test (bug 659012)Brian Paul
2002-12-12Add mechanism to destroy mutexes. Important on OS's where mutex initializationKeith Whitwell
allocates memory (like FreeBSD).
2002-10-24Header file clean-up:Brian Paul
1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
2002-10-22remove debug printfsBrian Paul
2002-10-22fix refcount error in _mesa_DeleteTextures (Randy Fayan)Brian Paul
2002-10-22add missing texture rectangle code in _mesa_DeleteTextures()Brian Paul
2002-10-04Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul
Also changed parameter types for some driver functions (like ctx->Driver.Clear- Color). Updated all the device drivers. Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
2002-06-29Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
2002-06-17Port glXCopyContext bug from 4.0 branch.Brian Paul
2002-06-15Implemented GL_NV_texture_rectangle extension.Brian Paul
Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2002-06-13more removal of fprintf() callsBrian Paul
2002-02-15Finished up GL_ARB_depth_texture and GL_ARB_shadow.Brian Paul
2001-12-04prototype implementation of GL_ARB_depth_texture, GL_ARB_shadow, ↵Brian Paul
GL_ARB_shadow_ambient
2001-07-27check if deleting _Current texobj in _mesa_DeleteTextures (Bart Barenbrug)Brian Paul
2001-06-13Allow different max texture sizes for 1/2D, 3D and cube maps.Brian Paul
2001-04-25fixed a potential tex obj reference count problem involving multi-textureBrian Paul
2001-04-20improved a glBindTexture error messageBrian Paul
2001-03-28use Image[i]->TexFormat to check for mipmap consistencyBrian Paul
2001-03-18- Port 3.4 texture utils, texture format work to 3.5 (including newGareth Hughes
FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-08More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-26tiny change to a gl_problem() callBrian Paul
2001-02-20Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.Brian Paul
Added some const keywords in the s/w texturing code.
2001-02-17Changed FetchTexel() function pointer arguments.Brian Paul
Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong.
2001-01-29Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell
functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
2000-12-26Major rework of tnl moduleKeith Whitwell
New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.
2000-12-14Renamed texture object _P to _MaxLevel and _M to _MaxLambda.Brian Paul
Now add BaseLevel in _MaxLevel computation.