W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2016

[Bug 28798] Make BufferSource more convenient to use

From: <bugzilla@jessica.w3.org>
Date: Thu, 11 Feb 2016 17:41:13 +0000
To: public-script-coord@w3.org
Message-ID: <bug-28798-3890-JvVWvfbqEp@http.www.w3.org/Bugs/Public/>

--- Comment #20 from Boris Zbarsky <bzbarsky@mit.edu> ---
I'm not sure I follow the question... For that specific API (bufferData) the
implementation would make a call into the graphics driver, passing in a buffer.
 The driver would then make a copy of that buffer and work on uploading it to
the GPU and whatnot.

>From what I can tell, the OpenGL API doesn't allow handing over ownership of
memory to the driver in this situarion.  See documentation at
https://www.khronos.org/opengles/sdk/docs/man/xhtml/glBufferData.xml -- it
explicitly does a copy.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 11 February 2016 17:41:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:25 UTC