summaryrefslogtreecommitdiffstats
path: root/examples/opengl/overlay/README
blob: f08e539d2bed896a3058cda3e599bc5c6c9614fd (plain)
1
2
3
4
5
6
7
8
9

The overlay example

This example program shows how to use OpenGL overlays with the Qt OpenGL
Extension. It contains a QGLWidget with a relatively expensive
redrawing operation, and rubber-band drawing in the overlay plane.
Using the overlay has the advantage that the rubber-band may be drawn
and erased without damaging the image in the main plane, so costly
redraws are avoided.