[Mesa-dev] Gallium proposal: add a user pointer in pipe_resource
keithw at vmware.com
Tue Feb 8 14:06:18 PST 2011
On Tue, 2011-02-08 at 22:51 +0100, Marek Olšák wrote:
> void redefine_user_buffer(
> struct pipe_context*,
> struct pipe_resource*,
> unsigned offset,
> unsigned size);
> and new width0 would implicitly be offset+size;
I think this is a great place to start, if you're happy with it too.
Lets see how well it works for you in implementation & make further
adjustments later if necessary.
More information about the mesa-dev