xserver-multidpi/glx
Kristian Høgsberg 6ff60c6261 glx: Fix drawable private leak on destroy
When a drawable goes away, we don't destroy the GLX drawable in full,
since it may be current for a context.  This means that when the drawable
is destroyed in full later, the backend doesn't get a chance to
destroy resources associated with the drawable (the DRI2Drawable).

With this patch, we destroy the GLX drawable in full when it goes away
and then track down all contexts that reference it and NULL their
pointers.

(cherry picked from commit 7b6400a1b8)
2009-04-13 16:15:24 -04:00
..
dispatch.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-16 12:03:06 -08:00
extension_string.c Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
extension_string.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
g_disptab.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glapi.c gl: include assert.h if we're compiling with DEBUG. 2008-06-05 09:19:16 +09:30
glapi.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-16 12:03:06 -08:00
glapioffsets.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glapitable.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-16 12:03:06 -08:00
glapitemp.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glprocs.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glthread.c GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-16 12:03:06 -08:00
glthread.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glxbyteorder.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glxcmds.c glx: Fix drawable private leak on destroy 2009-04-13 16:15:24 -04:00
glxcmdsswap.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glxcontext.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glxdrawable.h glx: Fix drawable private leak on destroy 2009-04-13 16:15:24 -04:00
glxdri.c glx: Fix drawable private leak on destroy 2009-04-13 16:15:24 -04:00
glxdri2.c glx: Fix drawable private leak on destroy 2009-04-13 16:15:24 -04:00
glxdricommon.c Fix driGetConfigAttribIndex unaligned access to GLboolean. 2008-08-26 11:07:32 -04:00
glxdricommon.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glxdriswrast.c glx: Fix drawable private leak on destroy 2009-04-13 16:15:24 -04:00
glxext.c glx: Fix drawable private leak on destroy 2009-04-13 16:15:24 -04:00
glxext.h glx: Fix drawable private leak on destroy 2009-04-13 16:15:24 -04:00
glxscreens.c glx: Inialize best_score before calculating visual scores 2009-02-18 10:20:10 -08:00
glxscreens.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glxserver.h glx: Replace broken GLX visual setup with a fixed "all" mode. 2009-02-17 19:00:41 -08:00
glxutil.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glxutil.h glx: Fix drawable private leak on destroy 2009-04-13 16:15:24 -04:00
indirect_dispatch_swap.c GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-16 12:03:06 -08:00
indirect_dispatch.c GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-16 12:03:06 -08:00
indirect_dispatch.h VBO: Regenerate files based on recent changes to gl_API.xml 2008-07-02 06:25:03 -07:00
indirect_program.c Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_reqsize.c GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-16 12:03:06 -08:00
indirect_reqsize.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_size_get.c VBO: Regenerate files based on recent changes to gl_API.xml 2008-07-02 06:25:03 -07:00
indirect_size_get.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_size.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_table.c Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_table.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_texture_compression.c Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_util.c Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_util.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
Makefile.am glx: Fix drawable private leak on destroy 2009-04-13 16:15:24 -04:00
render2.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
render2swap.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
renderpix.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
renderpixswap.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
rensize.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
single2.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
single2swap.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
singlepix.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
singlepixswap.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
singlesize.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
singlesize.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
swap_interval.c Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
unpack.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
xfont.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00