Re: [Mesa-dev] [PATCH 3/3] swr: Add path to draw directly from client memory without copy.

2017-07-12 Thread Rowley, Timothy O
> On Jul 11, 2017, at 8:20 PM, Bruce Cherniak wrote: > > If size of client memory copy is too large, don't copy. The draw will > access user-buffer directly and then block. This is faster and more > efficient than queuing many large client draws. > > Applications

[Mesa-dev] [PATCH 3/3] swr: Add path to draw directly from client memory without copy.

2017-07-11 Thread Bruce Cherniak
If size of client memory copy is too large, don't copy. The draw will access user-buffer directly and then block. This is faster and more efficient than queuing many large client draws. Applications that use large draws from client arrays benefit from this. VMD is an example. The threshold for