[Mesa-dev] [PATCH] gallium: unify transfer functions
jfonseca at vmware.com
Thu Oct 11 08:13:22 PDT 2012
----- Original Message -----
> this is actually a very small cleanup that got unexpectedly big. I
> really underestimated the size of gallium.
> It's part of the plan discussed here:
> The idea is that get_transfer+transfer_map is folded into
> transfer_map, and transfer_unmap+transfer_destroy is folded into
> transfer_unmap. transfer_map must create and return the transfer
> object and transfer_unmap must destroy it. transfer_map is successful
> if the returned buffer pointer is not NULL. If transfer_map fails,
> pointer to the transfer object remains unchanged (i.e. doesn't have
> be NULL).
I've skimmed through the parts that interest me the most and it looks good.
Thanks for doing this, Marek.
More information about the mesa-dev