document new glDeleteTextures/Buffers/Programs behaviour

This commit is contained in:
Brian Paul
2005-01-20 04:03:37 +00:00
parent ea2943efd9
commit cb3bc2c49a
2 changed files with 32 additions and 1 deletions

View File

@@ -40,6 +40,28 @@ extended with a PRINT instruction.
glDeleteTextures(), glDeletePrograms() and glDeleteBuffers() Changed
--------------------------------------------------------------------
To match the behaviour of other OpenGL implementations, glDeleteTextures,
glDeletePrograms and glDeleteBuffers have been modified so that:
* The named texture/program/buffer ID is immediately freed for re-use.
* The actual texture object, program or buffers isn't really deleted until
it is no longer bound in any rendering context (the reference count
is zero).
Previously, the texture/program/buffer ID wasn't freed until the object
was really deleted.
Note that textures, programs and buffers can be shared by several rendering
contexts so they can't be deleted until they're unbound in _all_ contexts.
To Do before release
--------------------
Fix dinoshade bug
@@ -49,6 +71,12 @@ To Do before release
Miscellaneous
-------------
The main/get.c file is now generated with a Python script.
Driver Status
---------------------- ---------------------
@@ -66,4 +94,4 @@ D3D needs updating
----------------------------------------------------------------------
$Id: RELNOTES-6.3,v 3.7 2005/01/03 15:55:51 brianp Exp $
$Id: RELNOTES-6.3,v 3.8 2005/01/20 04:03:37 brianp Exp $

View File

@@ -1322,6 +1322,9 @@ Mesa Version History
- DirectFB driver (Claudio Ciccani)
Changes:
- added -stereo option for glxgears demo (Jacek Rosik)
- updated the PBuffer demo code in xdemos/ directory
- glDeleteTextures/Programs/Buffers() now makes the object ID
available for immediate re-use
Bug fixes:
- some functions didn't support PBO functionality
- glGetTexImage didn't convert color index images to RGBA as required