2009/6/15 Michel Dänzer <[email protected]>: > On Mon, 2009-06-15 at 15:34 +0800, Shuang He wrote: >> According to GLX_EXT_texture_from_pixmap spec, "The storage for the GLX >> pixmap >> will be freed when it is not current to any client and all color buffers that >> are bound to a texture object have been released." > > With this patch, I can easily trigger an assertion failure with compiz > (e.g. by using the scale plugin), see below. (With a driver built > without --enable-debug, this should be a segmentation fault instead due > to de-referencing a NULL pointer). > > Also, I'm not sure why this is necessary - the miptrees should get > released anyway as the texture objects / images are destroyed / > replaced?
Yeah, that's why I didn't implement this in the first place. There's no harm in adding a release path though, it potentially lets us free up the pixmap earlier. cheers, Kristian ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
