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

Re: [Public WebGL] Move flipY and asPremultipliedAlpha parameters out of DOM helpers



On Thu, May 20, 2010 at 08:28, Kenneth Russell <kbr@google.com> wrote:
> This proposal is not implementable. The data conversion and
> manipulation performed by these flags must be done when the texture's
> data is uploaded. It is simply not possible to configure them
> dynamically.

Hmm the proposal does not imply to configure them dynamically.
It says the manipulation takes place at update (texImage2D usage),
exactly like GL's GENERATE_MIPMAP tex parameter.

Implementations of texImage2D that currently do :

if (flipY)
    performFlipY(...));

Would do :

if (currentlyBoundTexture && currentlyBoundTexture->flipY)
    performFlipY(...);


Or is there something I overlook here??


Regards,
-----------------------------------------------------------
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: