PDA

View Full Version : What's the difference between HasOverlay and HasGLOverlay of GLFormat in GLWidget?



mczhao
29th October 2010, 06:32
QGLWidget provided the paintGL() and paintOverlayGL() function to render into the main plane and overlay plane. When I construct the QGLWidget with HasOverlay enabled on the OMAP 3530 hardware (an ARM+DSP+GPU processor from TI), the GLFormat's HasOverlay is ture, but HasGLOverlay is false, and the paintOverlayGL() function doesn't work. So everyone knows the difference between HasOverlay and HasGLOverlay? Is there any documentation or example to show how to use the overlay plane in QGLWidget?