From cb3bc2c49adee6533397bae73812527e50ab82f2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 20 Jan 2005 04:03:37 +0000 Subject: document new glDeleteTextures/Buffers/Programs behaviour --- docs/RELNOTES-6.3 | 30 +++++++++++++++++++++++++++++- docs/VERSIONS | 3 +++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/docs/RELNOTES-6.3 b/docs/RELNOTES-6.3 index a7bb76884e..d7e7af0940 100644 --- a/docs/RELNOTES-6.3 +++ b/docs/RELNOTES-6.3 @@ -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 $ diff --git a/docs/VERSIONS b/docs/VERSIONS index fb3143d2fb..74400e01aa 100644 --- a/docs/VERSIONS +++ b/docs/VERSIONS @@ -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 -- cgit v1.2.3