summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Barron <jason.barron@nokia.com>2011-06-01 08:50:56 (GMT)
committerJason Barron <jason.barron@nokia.com>2011-06-03 06:43:47 (GMT)
commit8339121e0942e3e3b81af551a47be7b4a347608c (patch)
treece476390a04e359efafcfdc84e5733aca5fcb65a /doc
parent43ce5bab32e0d28366317be99df5e6df70787826 (diff)
downloadQt-8339121e0942e3e3b81af551a47be7b4a347608c.zip
Qt-8339121e0942e3e3b81af551a47be7b4a347608c.tar.gz
Qt-8339121e0942e3e3b81af551a47be7b4a347608c.tar.bz2
Add the new 'glhypnotizer' demo.
Introduce a new demo to demonstrate the usage of OpenGL from a separate thread. Reviewed-by: Samuel
Diffstat (limited to 'doc')
-rw-r--r--doc/src/demos/glhypnotizer.qdoc38
-rw-r--r--doc/src/images/glhypnotizer-demo.pngbin0 -> 46888 bytes
2 files changed, 38 insertions, 0 deletions
diff --git a/doc/src/demos/glhypnotizer.qdoc b/doc/src/demos/glhypnotizer.qdoc
new file mode 100644
index 0000000..97b3c3b
--- /dev/null
+++ b/doc/src/demos/glhypnotizer.qdoc
@@ -0,0 +1,38 @@
+/****************************************************************************
+**
+** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Free Documentation License
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of this
+** file.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \example demos/glhypnotizer
+ \title GL Hypnotizer
+
+ This demo shows how to use OpenGL from a seperate thread.
+
+ \image glhypnotizer-demo.png
+
+ New MDI windows can be added by pressing Ctrl-N and each new child
+ window renders in it's own thread.
+*/
diff --git a/doc/src/images/glhypnotizer-demo.png b/doc/src/images/glhypnotizer-demo.png
new file mode 100644
index 0000000..5b7a1ae
--- /dev/null
+++ b/doc/src/images/glhypnotizer-demo.png
Binary files differ