On 8/22/06, IOhannes m zmoelnig <zmoelnig@iem.at> wrote:
i think it would be best to make a filmDS class.
just imagine somebody would want to have a recent version of Gem on win98...
wouldn't it be better to have this in [pix_texture]?
performing a runtime-check (on systems that have no native GL-support
for YUV), whether the renderer supports fragment shaders, and if so,
upload the shader and use that. if it doesn't support shaders, use the
CPU fallback.
this way, not only [pix_movie] would have the speedup, but also
pix_video,...
the shader could be hard-coded into the pix_texture-class, so there is
no dependency on external files.
(shader programs tend to be smaller than i.e. fonts)