summaryrefslogtreecommitdiff
path: root/src/mesa/main/texobj.c
AgeCommit message (Collapse)Author
2007-05-21get rid of GenTexturesLock, used ctx->Shared->MutexBrian
2007-05-21remove the unused texobj Mutex fieldBrian
2007-05-21remove a VMS-ism that doesn't seem needed elsewhereBrian
2007-05-21improve some comments, clean-up formattingBrian
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-05-10Refactor the loop in unbind_texobj_from_texunits.Ian Romanick
Common code was pulled out of the per-target if-statment and put at the end of the for-loop. The common code is guarded by a new variable, curr, that is set to point to the unit's current target in each if-statement.
2007-01-23fixes for C++ warnings/errorsBrian
2006-11-01Merge texmem-0-3-branch.Keith Whitwell
2006-06-15added some comments, braces in _mesa_BindTextureBrian Paul
2006-03-26merge from texman branchBrian Paul
2006-03-20Lots of changes/fixes for rendering to framebuffer objects.Brian Paul
- When deleting texture objects, unbind from FBOs if necessary. - Changed driver hooks for starting/ending render to texture. - Now properly handle case where gl[Copy]TexImage() is called after glFramebufferTexture[123]D(). That didn't work before.
2005-10-05Remove _IsPowerOfTwo from gl_texture_object, not really needed.Brian Paul
2005-10-05In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul
_BaseFormat to be consistant with gl_renderbuffer.
2005-09-23 Committing in .Jouk Jansen
1) change compilation on VMS to use IEEE floating points 2) one more problem with _mesa_sprintf solved Modified Files: Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms Mesa/src/mesa/array_cache/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/grammar/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
2005-09-16use mesa import wrappers, bug 4468Brian Paul
2005-03-22add FreeTexImageData hook to help single-copy texturing in driversKeith Whitwell
2005-02-12unlock mutex upon error return (Jeff Muizelaar)Brian Paul
2005-02-11mesa-main-0-NULL.patch from Jeff MuizelaarKeith Whitwell
2005-02-05Remove the Shared->TexObjectList pointer and Next field from gl_texture_object.Brian Paul
Was only used by two drivers to walk over all texture objects. Can do that via the hash table instead. Cleaned up some comments for struct gl_texture_object.
2005-01-26added mutex to-do commentBrian Paul
2005-01-19Change behaviour of glDeleteTextures as discussed on ARB list.Brian Paul
glDeleteTexture makes the texture ID immediately free for re-use while the actual texture object lingers until its reference count goes to zero (when no longer bound by any rendering context).
2004-12-21`t' was not initialized (use `texture' instead?)Daniel Borca
2004-12-21fix bug in _mesa_IsTexture()Brian Paul
2004-09-23added a comment in BindTextureBrian Paul
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