Hi,

I've run into a problem with YUV textures on OSX. I'm using the 
APPLE_ycbcr_422 extension to quickly upload YUV data to a texture. This 
has been working well for some time, however, now I'm seeing blank 
textures on some combinations of OSX versions and graphics cards. The 
extension is reported as being available on the systems which suffer 
from the problems.

This could of course mean that I've been using the extension wrong, and 
that I've just been lucky until now. I suspect this might be related to 
GL_(UN)PACK_ALIGNMENT or some other texture parameter that I'm not setting.

I realize that this is most likely an OpenGL problem, but I'm using FLTK 
and I know there are some Mac guys around here. Even just knowing 
whether it works on your system might help me isolate the problem, if 
you report your OS and graphics card.

http://www.colorlab.no/icc3d/test has links to 2 files, binary and 
source code versions of a small example illustrating the problem. The 
source has been shamelessly adapted from one of Erco's examples, since 
my own application contains several hundred thousand lines of code. If 
the spinning cube is white there is a problem, if it displays a 
checkerboard pattern on the faces of cube everything is ok.

Does someone have any idea what the problem is? Is the example working 
on your mac? I've seen the bug on several Macs running OSX 10.5.6 with 
Nvidia 8XXX graphics cards.

Thanks,
Arne Magnus Bakke
_______________________________________________
fltk-opengl mailing list
fltk-opengl@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-opengl

Reply via email to