On 6/14/07, Thomas Hellström <[EMAIL PROTECTED]> wrote: > Kristian Høgsberg wrote: ... > > True. And if we bump libdrm major version, we can drop the hash table > > and skip lists too. With DRI interface changes, I moved the hash > > table implementation into libGL, the only place it's used. > > > > Kristian > Aargh. :) > It's used in the XvMC drivers for DRI drawable tracking (At least VIA), > although one can argue whether it really belongs in libdrm.
Can't you just use a regular X resource class there? We're tracking DRI drawables in AIGLX too, but we call CreateNewResourceType to create the resource and then track them using AddResource and LookupIDByType. Kristian ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel