diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-12-10 06:49:49 +0100 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-12-10 06:49:49 +0100 |
commit | ed90572fececb6453e3c43864c8c0e0a71b24a09 (patch) | |
tree | 4265d131d4a447e86d6e76415365655e879f577b | |
parent | 7d41434b963b9b6e58a80099be686720b3e3098d (diff) | |
parent | dd993e33618147731c612add8da754a914854965 (diff) |
Merge branch 'master' of scm.dev.nokia.troll.no:research/qt-scene-graph
-rw-r--r-- | plugins/phononvideo/phononvideoplugin.cpp | 41 | ||||
-rw-r--r-- | plugins/phononvideo/phononvideoplugin.h | 41 | ||||
-rw-r--r-- | src/scenegraph/coreapi/qsgtexturemanager.cpp | 4 |
3 files changed, 86 insertions, 0 deletions
diff --git a/plugins/phononvideo/phononvideoplugin.cpp b/plugins/phononvideo/phononvideoplugin.cpp index 3674d40..095fd2e 100644 --- a/plugins/phononvideo/phononvideoplugin.cpp +++ b/plugins/phononvideo/phononvideoplugin.cpp @@ -1,3 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt scene graph research project. +** +** $QT_BEGIN_LICENSE:LGPL$ +** 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 Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + #include "phononvideoplugin.h" #include "qxvideoplayer_p.h" diff --git a/plugins/phononvideo/phononvideoplugin.h b/plugins/phononvideo/phononvideoplugin.h index ad256c0..d6a22f3 100644 --- a/plugins/phononvideo/phononvideoplugin.h +++ b/plugins/phononvideo/phononvideoplugin.h @@ -1,3 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt scene graph research project. +** +** $QT_BEGIN_LICENSE:LGPL$ +** 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 Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + #include <QtDeclarative/QDeclarativeExtensionPlugin> class PhononVideoPlugin : public QDeclarativeExtensionPlugin diff --git a/src/scenegraph/coreapi/qsgtexturemanager.cpp b/src/scenegraph/coreapi/qsgtexturemanager.cpp index e729512..d8c08f8 100644 --- a/src/scenegraph/coreapi/qsgtexturemanager.cpp +++ b/src/scenegraph/coreapi/qsgtexturemanager.cpp @@ -48,6 +48,10 @@ #include <qqueue.h> #include <qdatetime.h> +#ifndef GL_BGRA +#define GL_BGRA 0x80E1 +#endif + QSGTexture::QSGTexture() : m_status(Null) , m_texture_id(0) |