1. 10 Nov, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      Revert "Fix pixel bleed in BorderImage" · 4d15f528
      Eskil Abrahamsen Blomfeldt authored
      This reverts commit a9238292.
      
      It also reverts follow-up commits:
        87755d04
        c2c710e5
        cc8a76ce
      
      
      
      The new implementation is much too slow because it will cause each
      section of the border image to be uploaded to the atlas, and it will
      not be shared between different border images nor between different
      sizes of the border. The performance regression is so significant
      that it's not worth it for the original bug fix.
      
      We leave the tests around, so some of those might regress due to
      this.
      
      Change-Id: I3f56f4564255ebb77e6487881a6a11b19ad0234e
      Task-number: QTBUG-42288
      Task-number: QTBUG-35838
      Reviewed-by: default avatarMichael Brasser <michael.brasser@live.com>
      4d15f528
  2. 31 Oct, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      BorderImage: Fix white area when size changes after first paint · 87755d04
      Eskil Abrahamsen Blomfeldt authored
      
      When e.g. growing the size of the border image in an animation,
      we would not get updates of the paint nodes when the size was
      so small that the bounded target rect and source rect did not
      change (when the size was smaller than the sum of the borders).
      Since this can happen, we also need to detect when the size
      changes and update the node for this case.
      
      Task-number: QTBUG-42022
      Change-Id: I0849d740f363e66a3a4fd6de23fc9d7399ab0779
      Reviewed-by: default avatarGunnar Sletta <gunnar@sletta.org>
      87755d04
  3. 30 Sep, 2014 - 1 commit
  4. 16 Sep, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      Fix crash when borders exceed item width/height in border image · cc8a76ce
      Eskil Abrahamsen Blomfeldt authored
      
      While we protected against the the borders exceeding the size of
      the source image when deciding whether to create a given patch,
      we did not protect against the case where the target rectangle
      is smaller than the borders. To fix this, we simply move the
      calculation of the target rectangle up to before we create the
      nodes, and check for isEmpty() before creating the nodes.
      
      In addition, we did not properly handle changing the borders
      dynamically. The subtree has to be rebuilt if the borders change
      so that the source or target rectangles change.
      
      Change-Id: Ia6a0df616ebbd0a32924de0b63fd48043027930a
      Task-number: QTBUG-41338
      Reviewed-by: default avatarGunnar Sletta <gunnar@sletta.org>
      cc8a76ce
  5. 10 Sep, 2014 - 1 commit
    • Eskil Abrahamsen Blomfeldt's avatar
      Fix pixel bleed in BorderImage · a9238292
      Eskil Abrahamsen Blomfeldt authored
      
      Keeping all patches of the border image in the same texture
      with different sample points can cause parts of the border
      to bleed over to the center patch. To rectify this, we
      create a separate texture for each of the nine patches we
      need, and separate image nodes.
      
      To avoid applying antialiasing on the interior edges of the
      border image, we introduce new antialiasing flags which can
      be used to specify precisely which edges of the image should
      be antialiased.
      
      [ChangeLog][BorderImage] Fixed possible pixel bleed between
      border patches and center patch in BorderImage.
      
      Change-Id: Icc292b3969217320eecca99e79675316c42eab08
      Task-number: QTBUG-35838
      Reviewed-by: default avatarGunnar Sletta <gunnar@sletta.org>
      a9238292
  6. 25 Aug, 2014 - 1 commit
  7. 02 Jul, 2014 - 1 commit
  8. 16 Feb, 2014 - 1 commit
  9. 20 Dec, 2013 - 1 commit
  10. 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
  11. 25 Oct, 2013 - 1 commit
  12. 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
  13. 02 Oct, 2013 - 1 commit
  14. 30 Sep, 2013 - 1 commit
  15. 25 Sep, 2013 - 1 commit
  16. 18 Apr, 2013 - 1 commit
  17. 10 Jan, 2013 - 1 commit
  18. 23 Sep, 2012 - 1 commit
  19. 27 Aug, 2012 - 1 commit
  20. 30 Jul, 2012 - 1 commit
  21. 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
  22. 16 Jul, 2012 - 1 commit
  23. 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
  24. 26 Jun, 2012 - 1 commit
  25. 25 Jun, 2012 - 1 commit
  26. 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
  27. 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
  28. 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
  29. 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
  30. 08 May, 2012 - 1 commit
  31. 04 May, 2012 - 1 commit
  32. 19 Mar, 2012 - 1 commit
  33. 13 Mar, 2012 - 1 commit
  34. 24 Feb, 2012 - 1 commit
  35. 09 Feb, 2012 - 1 commit
  36. 30 Jan, 2012 - 1 commit
  37. 23 Jan, 2012 - 1 commit
  38. 05 Jan, 2012 - 1 commit