There are a few things that I would like to point out, and I also have a request
Use FindWindow API's on windows. Then, enable the window for OpenGL, and get a DC.
You generally do this using the SetPixelFormat function, but you should NEVER do this on a window that LabVIEW "owns", like a front panel or a diagram. You should only do this if you are the one that created the window via CreateWindow or some other api
Our drawing code uses Windows GDI, which can be quite incompatible with some GL pixel formats (I think all hardware accelerated ones). So it seems that if this works, that you could and probably will, make your window draw in strange ways.
Someone said that LabVIEW uses the Mesa3D library. This is somewhat true, but not ALL of our controls use it. I think that our intensity display is just straight GDI, no mesa involved.
What functions are you using to draw using OpenGL? If you are using things like glDrawPixels or rebuilding a texture for a quad each time you update the data, I wonder how much you are actually benefitting from OpenGL in the first place. glDrawPixels is not known to be the fastest function out there, and although I haven't done any benchmarks, I don't know how much faster it will be than a simple pixel drawing in GDI. Likewise, if you are sending texture data down to the card all the time, I can't imagine that that is the speediest thing either.
Needless to say, I would like to see your results...
Jeff Peters
LabVIEW R & D