Ben Combee wrote: > On 4/21/06, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote: >> Jason BARSTOW wrote: >> I don't mind adding a private data pointer for the graphics driver in >> each surface and/or buffer. >> >> Are you implementing the driver on top of another API that provides its >> own allocation of the data? That's not really supported by the current >> surface core design, but a design which allows implementation even on >> top of OpenGL is being made, well, not actively right now :( > > If your system can use GLib, there's a nice dataset implementation > there that lets you store keyed data to go with a private pointer from > another library. That might be an efficient and already written way > to associate data with IDFBSurface pointers.
There can't be anything faster than adding a dedicated and reserved storage in the object itself :) Otherwise, I guess they have a fast hash table for that. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
