[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Re: WEBGL_get_buffer_sub_data_async

On Sat, Sep 30, 2017 at 5:12 AM, Florian Bösch <pyalot@gmail.com> wrote:
On Sat, Sep 30, 2017 at 1:17 AM, Kenneth Russell <kbr@google.com> wrote:
Different regions of shared memory between Chrome's renderer and GPU processes are used if there are multiple pipelined calls to getBufferSubDataAsync.
Effectively a readback buffer cache. How do you know when you can discard those copies you keep around?

As soon as the data is copied out into the client's ArrayBufferView, just before resolving the Promise.