1. 25 Aug, 2014 - 1 commit
  2. 02 Jul, 2014 - 1 commit
  3. 16 Feb, 2014 - 1 commit
  4. 20 Dec, 2013 - 1 commit
  5. 30 Oct, 2013 - 1 commit
    • Gunnar Sletta's avatar
      Use one render loop per QQuickWindow · 906d5c5c
      Gunnar Sletta authored
      
      See the task for the full reasoning behind this patch.
      
      The threaded renderloop has been refactored to have one window per
      thread. This is mostly a simplification of the current code path where
      for loops over multiple windows are turned into if (window).
      
      The QSGContext has been split into two classes, QSGRenderContext
      for which there is one per OpenGLContext.
      
      The rest of the patch is name changes and a couple of cleanups
      in the hopes of simplifying this change.
      
      Task-number: QTBUG-33993
      
      Change-Id: I31c81f9694d7da7474a72333169be38de62613c4
      Reviewed-by: default avatarSean Harmer <sean.harmer@kdab.com>
      906d5c5c
  6. 25 Oct, 2013 - 1 commit
  7. 21 Oct, 2013 - 1 commit
    • Gunnar Sletta's avatar
      Prevent badly formed texture nodes in the scene graph. · 486d367e
      Gunnar Sletta authored
      
      A texture based node without a valid texture is not allowed,
      as the material and the renderer will only tolerate
      well-formed nodes. If a node is missing any part of its material
      state it should not be in the scene graph in the first place.
      
      Because of an "optimization" in QSGDefaultImageNode::setTexture
      and QSGSimpleTextureNode::setTexture, we must temporarily set
      the texture to 0 to ensure that it gets updated properly. This
      temporarily puts the node into an invalid state which can lead
      to crashes when QSGNode::markDirty() reaches the renderer.
      
      Task-number: QTBUG-34062
      Change-Id: Ic1735c9b974b90b3684262de9589133c961bac6e
      Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@digia.com>
      486d367e
  8. 02 Oct, 2013 - 1 commit
  9. 30 Sep, 2013 - 1 commit
  10. 25 Sep, 2013 - 1 commit
  11. 18 Apr, 2013 - 1 commit
  12. 10 Jan, 2013 - 1 commit
  13. 23 Sep, 2012 - 1 commit
  14. 27 Aug, 2012 - 1 commit
  15. 30 Jul, 2012 - 1 commit
  16. 17 Jul, 2012 - 1 commit
    • Alan Alpert's avatar
      QQuickCanvas renames · feb996e3
      Alan Alpert authored
      
      QQuickCanvas is now called QQuickWindow
      QQuickCanvas::rootItem is now QQuickWindow::contentItem
      QQuickItem::canvas is now QQuickItem::window
      QQuickItem::ItemChangeData::canvas is also renamed window
      QQuickCanvas::grabFrameBuffer is now QQuickWindow::grabWindow
      The functions related to the color property have dropped the clear from
      their names.
      
      The first three changes have interim compatibility measures in place to
      ease the transition.
      
      Change-Id: Id34e29546a22a74a7ae2ad90ee3a8def6fc541d2
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      feb996e3
  17. 16 Jul, 2012 - 1 commit
  18. 13 Jul, 2012 - 2 commits
    • Damian Jansen's avatar
      Fix signal emission for the Image based items when loading. · 2ec0df06
      Damian Jansen authored
      
      StatusChanged signals are now always emitted.
      Other properties only emit when altered.
      AnimatedImage local and remote loading was also unified in this fix.
      BorderImage duplicated loading code is streamlined.
      
      Task-number: QTBUG-26405
      Change-Id: Ib412d5879e0007229a8098e1fa960003051508de
      Reviewed-by: default avatarAlan Alpert <alan.alpert@nokia.com>
      2ec0df06
    • Kim Motoyoshi Kalland's avatar
      Change antialiasing method for QML2. · d83eb21f
      Kim Motoyoshi Kalland authored
      
      Since multisampling can require a lot of memory, and might not
      be supported on some hardware, turn off multisampling and
      implement antialiasing in the vertex shader instead. The
      alternative method of antialiasing is implemented for Rectangle,
      Image, BorderImage and AnimatedImage, and must be explicitly
      enabled by setting the new antialiasing property.
      
      Task-number: QTBUG-26268
      Change-Id: I39a93d978658a494bf51e9f0fd02d8414eb8be12
      Reviewed-by: default avatarGunnar Sletta <gunnar.sletta@nokia.com>
      d83eb21f
  19. 26 Jun, 2012 - 1 commit
  20. 25 Jun, 2012 - 1 commit
  21. 21 Jun, 2012 - 1 commit
    • Chris Adams's avatar
      Create new documentation structure · 5e33b0f5
      Chris Adams authored
      The documentation currently has no clear separation between Qt QML
      and Qt Quick.  With recent commits like:
      6c8378ea
      and
      ab1e5101
      
      
      the separation between the language definition and implementation,
      provided by Qt QML, and the standard library for the QML language,
      provided by Qt Quick, is clear.
      
      This commit creates a new documentation structure that is more
      navigable and separates concepts into logical categories, with
      clear separation between QtQML and QtQuick.  It also provides a more
      generic QML Application Developer Resources page which contains links
      to information for QML application developers.
      
      Change-Id: Ia807ccfbfd24ffa0e1c7f0a51ed9d2ed3aa6a733
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      5e33b0f5
  22. 06 Jun, 2012 - 1 commit
    • Jerome Pasion's avatar
      Doc: Grouped Qt Quick types into several groups · ca6d49e6
      Jerome Pasion authored
      
      -created new groups and converted some overviews into group pages
      -edited type documentation and added \ingroup
      -articles still need title fixes and link fixes
      
      Groups:
      qtquick-visual-types
      qtquick-item-graphics
      qtquick-shaders
      qtquick-canvas
      qtquick-text
      qtquick-text-validator
      qtquick-interaction
      qtquick-positioners
      qtquick-transformations
      qtquick-states
      qtquick-animation-define
      qtquick-animation-properties
      qtquick-animation-control
      qtquick-animation-modifiers
      qtquick-images-sprites
      qtquick-images
      qtquick-models
      qtquick-containers
      qtquick-views
      qtquick-paths
      qtquick-utility
      
      Task: QTBUG-25685
      
      Change-Id: I81d4df3320bf5daad5cabb5e42408013fb24f464
      Reviewed-by: default avatarBea Lam <bea.lam@nokia.com>
      Reviewed-by: default avatarAlan Alpert <alan.alpert@nokia.com>
      ca6d49e6
  23. 31 May, 2012 - 1 commit
    • Bea Lam's avatar
      Fix doc snippets paths and parsing errors · 4c671c04
      Bea Lam authored
      
      qtqml.qdocconf and qtquick.qdocconf now refer to the correct
      snippets and source directories.
      
      Snippet paths in .qdoc and .cpp files have been updated to refer to
      the new shortened path references, e.g. \snippet qml/file.cpp instead of
      \snippet doc/src/snippets/qml/file.cpp.
      
      This also deletes snippets from src/qml/doc/snippets that belonged under
      src/quick/doc/snippets (and were already duplicated there anyway) and
      restores some snippet files that shouldn't have been deleted.
      
      Also fixes some inline snippets to use \code .. \endcode instead of
      \qml .. \endqml as they contained javascript or partial QML
      snippets that were causing parsing errors from qdoc.
      
      There are still snippet errors arising from qmlintro.qdoc as the
      qmlintro snippets directory that it refers to cannot be located.
      
      There are also two references to a removed snippet identifier in
      examples/qml/cppextensions/plugins/plugin.cpp that need to be fixed
      in conjunction with the related docs in a later commit as the relevant
      code has changed and the docs are now invalid.
      
      Task-number: QTBUG-25721
      
      Change-Id: I50c665245a74c140470c58a32546591d187dfe4b
      Reviewed-by: default avatarChris Adams <christopher.adams@nokia.com>
      4c671c04
  24. 24 May, 2012 - 2 commits
    • Nico Vertriest's avatar
      Doc: Sanitized QML types · 6112c0f5
      Nico Vertriest authored
      
      -modified \brief
      -checked QML modules
      -added qml directory to the qdocconf file
      -added particles directory to the qdocconf file
      
      Change-Id: I589e32d3106cda37c7fa4d55a941afd9876fc2b2
      Reviewed-by: default avatarGeir Vattekar <geir.vattekar@nokia.com>
      6112c0f5
    • Aaron Kennedy's avatar
      Lazily create QMetaObjects · d2e557c2
      Aaron Kennedy authored
      
      For internal QML built types, creating a metaobject each time is
      just wasteful.  Additionally, as the property caches were always
      created from the intermediate QMetaObject, it was difficult to pass
      information directly from the compiler to the property cache.
      
      Change-Id: I769526b0edaaf16a86883f3065b75618b94e4077
      Reviewed-by: default avatarRoberto Raggi <roberto.raggi@nokia.com>
      d2e557c2
  25. 08 May, 2012 - 1 commit
  26. 04 May, 2012 - 1 commit
  27. 19 Mar, 2012 - 1 commit
  28. 13 Mar, 2012 - 1 commit
  29. 24 Feb, 2012 - 1 commit
  30. 09 Feb, 2012 - 1 commit
  31. 30 Jan, 2012 - 1 commit
  32. 23 Jan, 2012 - 1 commit
  33. 05 Jan, 2012 - 1 commit
  34. 02 Dec, 2011 - 2 commits
    • Kent Hansen's avatar
      Say hello to QtQuick module · 6c8378ea
      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: default avatarLars Knoll <lars.knoll@nokia.com>
      Change-Id: Ia52be9373172ba2f37e7623231ecb060316c96a7
      Reviewed-by: default avatarKent Hansen <kent.hansen@nokia.com>
      Reviewed-by: default avatarSergio Ahumada <sergio.ahumada@nokia.com>
      6c8378ea
    • Gunnar Sletta's avatar
      Remove QSGContext and QSGTexture from QDeclarativePixmapData · e32eb8ee
      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: default avatarMartin Jones <martin.jones@nokia.com>
      e32eb8ee
  35. 01 Dec, 2011 - 1 commit
  36. 30 Nov, 2011 - 1 commit
  37. 07 Nov, 2011 - 1 commit