summaryrefslogtreecommitdiffstats
path: root/examples/opengl/overlay/README
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/overlay/README')
-rw-r--r--examples/opengl/overlay/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/opengl/overlay/README b/examples/opengl/overlay/README
new file mode 100644
index 0000000..f08e539
--- /dev/null
+++ b/examples/opengl/overlay/README
@@ -0,0 +1,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.