On 03/18/2013 10:40 PM, Dave Airlie wrote:
From: Dave Airlie<airl...@redhat.com>

We have cases on virtual GPU hw that renders using a wrapped llvmpipe,
that we can't produce the normal DRI2 semantics having the kernel/hw
enforce synchronisation semantics. It is also suboptimal to flush
all surfaces on the server side in the block handler. So there is
already a dri/st hook to update the texture, so create a screen interface
and call into it for the texture resource. The sw driver can then
call into the displaytarget wrapper which will call into the outer
wrapper driver to actually cause the flush to happen.

This contains the llvmpipe and wrapper sw changes.


If you do end up adding a new update_texture() hook, please document it. Both a comment in the .h file and in the src/gallium/docs/ directory, please.

-Brian

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to