On Wed, 2009-10-28 at 05:21 -0700, José Fonseca wrote: > On Tue, 2009-10-27 at 14:45 -0700, Younes Manton wrote: > > I'd just like to add that if other interfaces will exist in the future > > (I recall pipe_2d_context being floated at one time) and state > > trackers want to use them without initializing a pipe_context > > needlessly and want to reuse the rest of the DRM winsys then the > > relevent parts of this patch (or comparable changes) will need to be > > considered sooner or later regardless of whether or not > > pipe_video_context exists. > > Indeed. > > And it is not only the problem of the pipe_*_context creation. There is > the problem of the state tracker still reaching out parts of the winsys. > > I really think that a simple driver with a generic interface query as I > proposed in > > http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg07818.html > > is the best, and we sorely need it, with the recent and welcomed > increase of pipe drivers and state trackers. > > I'll try to prototype this on a few state trackers and see how it goes. > > Jose
It's an interesting topic how to broaden the set of interfaces that we manage in Gallium, and there's a real opportunity to create a nice solution. My personal interest would be to see Gallium grow an ability to build a complete driver (possibly at runtime) out of a set of registered components, each of which implements one or more named interfaces, and in turn depends on a set of named interfaces. Once you do that, we end up with a lot of flexibility about how to incorporate new interfaces over time, and add the ability to keep older versions alive, provide compatibility shims, and so forth. It also provides a universal mechanism for injecting tracing shims, etc. Keith ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev