root/OpenSceneGraph/trunk/src/OpenThreads/qt/QtConditionPrivateData.h @ 13482

Revision 13482, 1.0 kB (checked in by robert, 3 hours ago)

Introduced new scheme for setting up which version of OpenGL/OpenGL ES the OSG is compiled for.

To select standard OpenGL 1/2 build with full backwards and forwards comtability use:

./configure
make

OR

./configure -DOPENGL_PROFILE=GL2

To select OpenGL 3 core profile build using GL3/gl3.h header:

./configure -DOPENGL_PROFILE=GL3

To select OpenGL Arb core profile build using GL/glcorearb.h header:

./configure -DOPENGL_PROFILE=GLCORE

To select OpenGL ES 1.1 profile use:

./configure -DOPENGL_PROFILE=GLES1

To select OpenGL ES 2 profile use:

./configure -DOPENGL_PROFILE=GLES2

Using OPENGL_PROFILE will select all the appropriate features required so no other settings in cmake will need to be adjusted.
The new configuration options are stored in the include/osg/OpenGL header that deprecates the old include/osg/GL header.

  • Property svn:eol-style set to native
Line 
1/* -*-c++-*- OpenThreads library, Copyright (C) 2002 - 2007  The Open Thread Group
2 *
3 * This library is open source and may be redistributed and/or modified under 
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version.  The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 * OpenSceneGraph Public License for more details.
12*/
13
14
15//
16// QtConditionPrivateData.h - Private data structure for Condition
17// ~~~~~~~~~~~~~~~~~~~~~
18
19#ifndef _QTCONDITIONPRIVATEDATA_H_
20#define _QTCONDITIONPRIVATEDATA_H_
21
22#include <OpenThreads/Condition>
23#include <QWaitCondition>
24
25class QtConditionPrivateData : public QWaitCondition
26{
27public:
28    QtConditionPrivateData() : QWaitCondition() {}
29    virtual ~QtConditionPrivateData() {}
30};
31
32#endif
Note: See TracBrowser for help on using the browser.