On Fri, Feb 12, 2010 at 4:05 PM, Eric Anholt <e...@anholt.net> wrote: > On Thu, 11 Feb 2010 20:48:01 -0500, Kristian Høgsberg <k...@bitplanet.net> > wrote: >> Eric, I was hoping you could have a look at this one in particular. > > Looks OK to me. I guess the DeleteAll is in case there was something > that's (accidentally) still referenced at screen close time?
Yes, if the application doesn't destroy its EGLSurfaces or EGLImages, there will still be live struct intel_regions at the time we shut down the struct intel_screen. By the way, the reason for introducing this hash is the case where you have, for example, a pixmap EGLSurface and an EGLImage for the same pixmap, we end up using different GEM handles for the buffer. thanks, Kristian ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev