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

Re: [Public WebGL] WebGL bufferSubData lacks "size" parameter

Did you test the separate performance of 1) creating the views and 2)
uploading them, which one is the slow one? How slow per size over
time? How much do you upload?

On Wed, Jan 11, 2012 at 10:35 PM, Chananya Freiman
<spectralcanine@gmail.com> wrote:
> Both of these approaches work, except they are slower than just submitting
> the whole buffer by a magnitude.
> I have a gigantic buffer of texture coordinates for a very big tile map (you
> know, rectangles).
> Since I am using a texture atlas, I need to change texture coordinates when
> I edit the images shown on tiles.
> I thought that the viewVariable.buffer thing will work, but it's extremely
> slow, and so is subarray.
> It only makes sense to have a size parameter for cases like this.

You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl