[Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work
Lauri Kasanen
cand at gmx.com
Wed Aug 17 09:56:22 PDT 2011
On Wed, 17 Aug 2011 09:13:24 -0600
Brian Paul <brianp at vmware.com> wrote:
> I don't know if this is possible, but could the post-processor be
> constructed as another gallium driver that wraps other drivers? For
> example, the rbug driver is a wrapper driver that intercepts most of
> the context/screen methods and then passes them through to the wrapped
> driver.
>
> If the post-processor could be a wrapper, it would seem to be more
> flexible and easily used with any winsys or state tracker.
Someone who knows gallium better than I do will have to answer that. My guess would be not, since it needs access to the hw accel (and respective config infrastructure; that is, driconf for the dri st), but as said, I don't know gallium that well.
It is not a lot of work to add it for a different state tracker as is; calls to init, shutdown, and run are enough.
> I spotted one other thing. In some places you're declaring variables
> after code.
My understanding is that Mesa is c99 (with such includes for some systems included in the tree). Are there really c99 compilers that would choke on that?
Thanks,
- Lauri
More information about the mesa-dev
mailing list