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

The overlay example

This example program shows how to use OpenGL overlays with the TQt 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.