[Bug 28798] Make BufferSource more convenient to use

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28798

--- 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