[Mesa-dev] [PATCH 2/2] gallium: add texture update hook to screen
Brian Paul
brianp at vmware.com
Tue Mar 19 07:06:43 PDT 2013
On 03/18/2013 10:40 PM, Dave Airlie wrote:
> From: Dave Airlie<airlied at 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
More information about the mesa-dev
mailing list