> Is this the sort of thing you would like for all the objects which may >> be referenced from a hash in the Shared list? > > I think this looks about right. I'll apply the patch to the master > branch.
Thanks. I'll try and get something done similar to the array_objects for the rest of the objects. > I recently made some improvements to the texture object > reference counting code that will factor into this. Is it important > to you that the 7.0.x branch get these changes? No a 7.0.x patch is not necessary. We are happily using the patch I supplied and can wait for a new release whenever it comes. >> I notice that the wglShareLists definition from MS states that the >> context which is going to share should not already contain any display >> lists (or other objects?), implying that to conform to this maybe we >> don't need to worry to much about unbinding objects? >> >> http://msdn2.microsoft.com/en-us/library/ms537565.aspx >> >> What would you like? > > That constraint could simplify the implementation a bit but I'm happy > with a "safer" solution like what you've done. Yeah seems worthwhile as we have been able to get it to work. > In any case, maybe we > should add checks to see if the 'hglrc2' context has any dlists, > texobjs, etc. and issue a warning/error if any are found. OK Shane. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
