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

Re: [Public WebGL] WEBGL_dynamic_texture extension proposal



On Thu, Jul 5, 2012 at 1:54 AM, Mark Callow <callow_mark@hicorp.co.jp> wrote:

If you use the same sampler type the implementation has to figure out at run-time what type of image it is sampling and may have to recompile the shader when switching between yuv and rgb images.

But as Florian mentioned most frameworks will be forced to do that anyway. Wouldn't it be preferable to have that happen in native code?

It's not wonderful either way but I believe that the majority of applications will know in advance which textures will use dynamic sources.

That feels like some sort of hinting system would be more appropriate.