- Jan 05, 2012
-
-
Jason McDonald authored
Change-Id: I0a8d99909cac867dce72da70b1bbcb649989a51b Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-
- Dec 02, 2011
-
-
Kent Hansen authored
This change moves the QtQuick 2 types and C++ API (including SceneGraph) to a new module (AKA library), QtQuick. 99% of this change is moving files from src/declarative to src/quick, and from tests/auto/declarative to tests/auto/qtquick2. The loading of QtQuick 2 ("import QtQuick 2.0") is now delegated to a plugin, src/imports/qtquick2, just like it's done for QtQuick 1. All tools, examples, and tests that use QtQuick C++ API have gotten "QT += quick" or "QT += quick-private" added to their .pro file. A few additional internal QtDeclarative classes had to be exported (via Q_DECLARATIVE_PRIVATE_EXPORT) since they're needed by the QtQuick 2 implementation. The old header locations (e.g. QtDeclarative/qquickitem.h) will still be supported for some time, but will produce compile-time warnings. (To avoid the QtQuick implementation using the compatibility headers (since QtDeclarative's includepath comes first), a few include statements were modified, e.g. from "#include <qsgnode.h>" to "#include <QtQuick/qsgnode.h>".) There's a change in qtbase that automatically adds QtQuick to the module list if QtDeclarative is used. Together with the compatibility headers, this should help reduce the migration pain for existing projects. In theory, simply getting an existing QtDeclarative-based project to compile and link shouldn't require any changes for now -- but porting to the new scheme is of course recommended, and will eventually become mandatory. Task-number: QTBUG-22889 Reviewed-by:
Lars Knoll <lars.knoll@nokia.com> Change-Id: Ia52be9373172ba2f37e7623231ecb060316c96a7 Reviewed-by:
Kent Hansen <kent.hansen@nokia.com> Reviewed-by:
Sergio Ahumada <sergio.ahumada@nokia.com>
-
Gunnar Sletta authored
In order to cleanly support multiple windows we need to not have the QSGContext reference in QDeclarativeEngine and we need to be able to have one copy of the texture for each QSGContext that is not sharing when we have multiple windows. This also makes it easier to the release graphical resources from a running application, which is another feature that we want to eventually implement. This patch does remove an adaptation feature which is the decodeToTexture, which seemed like a good idea at the time but in hindsight has not been used for anything. Edit: resolved conflict in qquickimage.cpp Edit: updated QDeclarativePixmap testcase Edit: updated QQuickImage testcase Edit: Rebased on top of QDeclarativePixmapCacheChanges Change-Id: Ifc61dd8158d3f841437d029b6031a91196145517 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Dec 01, 2011
-
-
Gunnar Sletta authored
We need to update the texture pointer in the scene graph node when the imagedata has changed. Change-Id: I0246626d3ebb66db9c5cf85fb1c2034ed233984f Reviewed-by:
Samuel Rødal <samuel.rodal@nokia.com>
-
- Nov 30, 2011
-
-
Michael Brasser authored
This allows us to batch up size changes better, leading to fewer layout recalculations. Change-Id: I423113fab78666a99ca05439f852f57c92f6f821 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Nov 07, 2011
-
-
Damian Jansen authored
Change-Id: If30f98aafcedc5119e305dcb48b610a459780344 Reviewed-by: Thorbjørn Lund Martsum Reviewed-by:
Glenn Watson <glenn.watson@nokia.com>
-
- Oct 24, 2011
-
-
Martin Jones authored
When no borders were specified the innerRect was calculated based on the item size rather than the image size. Change-Id: I764caca22aa8a0c6ed3babaad38a93764357cd00 Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- Oct 21, 2011
-
-
Kent Hansen authored
The QSG (SceneGraph) prefix is too generic for Qt Quick(2)-specific classes. All the classes and files in the declarative/items directory have been renamed. In particular, for classes that are currently public, the renaming is as follows: QSGView --> QQuickView QSGCanvas --> QQuickCanvas QSGItem --> QQuickItem QSGPaintedItem --> QQuickPaintedItem The header files have been renamed accordingly (e.g. qsgview.h --> qquickview.h). Change-Id: Iac937fff81db20bb639486a793c3aeb5230b038c Reviewed-by:
Kent Hansen <kent.hansen@nokia.com>
-
- Sep 27, 2011
-
-
Michael Brasser authored
We already follow this pattern several places, so this commit creates a convenience macro for it, and replaces previous usage where appropriate. Also adds the macro several places as further optimization. Change-Id: Ieff5ed6cc51c34d0a1c8aa42ac40314ea243477a Reviewed-on: http://codereview.qt-project.org/5342 Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Aaron Kennedy <aaron.kennedy@nokia.com>
-
- Aug 29, 2011
-
-
Michael Brasser authored
QT_NO_LOCALFILE_OPTIMIZED_QML should never be defined, and we don't need to manually resolve urls coming from QML. Change-Id: I7cdeb2814385bcb9d6004ab43686f65d388620eb Reviewed-on: http://codereview.qt.nokia.com/3684 Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- Aug 22, 2011
-
-
Gunnar Sletta authored
Change-Id: Iee65fe64fa659a6371a05c7ab1c964331fd5605a Reviewed-on: http://codereview.qt.nokia.com/3183 Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Kim M. Kalland <kim.kalland@nokia.com>
-
- Aug 09, 2011
-
-
Alan Alpert authored
Copy the documentation back to the scenegraph items, and update it to the new module syntax. Change-Id: I5d030a231f991a209a8593ddb069e1b6cd03580e Reviewed-on: http://codereview.qt.nokia.com/2735 Reviewed-by:
Michael Brasser <michael.brasser@nokia.com>
-
- Jul 28, 2011
-
-
Yann Bodson authored
Task-number: QTBUG-19527 Change-Id: I7cba15cc8ca4679d92f2e456ed95629702ea27a1 Reviewed-on: http://codereview.qt.nokia.com/2322 Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Yann Bodson <yann.bodson@nokia.com>
-
- Jul 08, 2011
-
-
Jyri Tahtela authored
Replace old license header with correct one. Change-Id: I492ddaaa0227b2c8faf11bdcd6e12e7231a54a10 Reviewed-on: http://codereview.qt.nokia.com/1312 Reviewed-by:
Jyri Tahtela <jyri.tahtela@nokia.com>
-
- Jun 09, 2011
-
-
David Boddie authored
-
- May 25, 2011
-
-
Martin Jones authored
Change-Id: Iee5b252ce1b0d39da42f553cf2ae782ad14d297f Reviewed-by: Gunnar
-
- May 23, 2011
-
-
Gunnar Sletta authored
This is a partial fix only. We will eventually need to get proper sharing of resources across multiple GL contexts, but this fixes the autotest and will work for most usecases. The task QTBUG-19455 has been created to solve it properly.
-
- Apr 27, 2011
-
-
Qt by Nokia authored
Branched from the monolithic repo, Qt qtquick2 branch, at commit a4a585d2ee907746682846ae6e8a48e19deef469
-