1. 31 May, 2013 - 1 commit
  2. 30 May, 2013 - 1 commit
    • Shawn Rutledge's avatar
      Added QQuickWindow::setDefaultAlphaBuffer() · 84adf4ff
      Shawn Rutledge authored
      
      All QQuickWindows will render using the same OpenGL context, so
      for a window to support transparency, the OpenGL context needs
      to be created with support for transparency from the very start.
      Therefore the application needs to call setDefaultAlphaBuffer()
      before creating windows.  There are some relevant comments in
      QTBUG-20768 although the bug itself is not the same use case
      (it was already OK as long as the first window had a translucent
      color, because of setAlphaBufferSize in QQuickWindow::setColor()).
      
      Change-Id: I92e111c1a62c0d510821b646fd334e52254f8f57
      Reviewed-by: default avatarGunnar Sletta <gunnar.sletta@digia.com>
      84adf4ff
  3. 23 May, 2013 - 1 commit
  4. 06 May, 2013 - 1 commit
  5. 25 Apr, 2013 - 1 commit
  6. 04 Apr, 2013 - 1 commit
  7. 05 Feb, 2013 - 1 commit
  8. 30 Jan, 2013 - 1 commit
  9. 17 Jan, 2013 - 1 commit
  10. 10 Jan, 2013 - 1 commit
  11. 23 Sep, 2012 - 1 commit
  12. 23 Jul, 2012 - 1 commit
  13. 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
  14. 13 Jul, 2012 - 1 commit
    • 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
  15. 10 Jul, 2012 - 1 commit
  16. 16 May, 2012 - 1 commit
  17. 14 May, 2012 - 1 commit
  18. 08 May, 2012 - 1 commit
  19. 22 Mar, 2012 - 1 commit
  20. 20 Mar, 2012 - 1 commit
    • Andrew den Exter's avatar
      Decouple QSGDistanceFieldGlyphNode from it's cache manager. · dfdea38c
      Andrew den Exter authored
      
      To implement a custom distance field glyph node currently it's
      necessary to also provide a duplicate implementation of
      QSGContext::createDistanceFieldGlyphCache() as the default implemention
      references the cache manager created by createGlyphNode().  By isolating
      references to the cache manager to just createDistanceFieldGlyph() cache
      it becomes possible to just overwrite createGlyphNode() and still use
      the default cache.
      
      Change-Id: I7261bdbf247966b55512d2671e2ee85239bcca05
      Reviewed-by: default avatarYoann Lopes <yoann.lopes@nokia.com>
      dfdea38c
  21. 07 Mar, 2012 - 1 commit
  22. 05 Mar, 2012 - 1 commit
    • Gunnar Sletta's avatar
      Fix crash with AnimatedImage caused by race condition. · 12048b91
      Gunnar Sletta authored
      
      In QDeclarativePixmap::setImage() we deleted a QDeclPixmapData
      and recreated a new one in a very short timespan and the new
      texture factory was the same pointer as the deleted one, yet a
      queued destroyed signal was still emitted. Depending on when the
      queued connection was handled in the rendering thread, this would
      cause problems with the value returned from textureForFactory.
      
      Change-Id: Ibd785ca12667c99efb88b92689ae7ac4fa87c7ee
      Reviewed-by: default avatarKim M. Kalland <kim.kalland@nokia.com>
      12048b91
  23. 26 Feb, 2012 - 1 commit
  24. 24 Feb, 2012 - 1 commit
  25. 20 Feb, 2012 - 1 commit
  26. 09 Feb, 2012 - 1 commit
  27. 08 Feb, 2012 - 1 commit
  28. 30 Jan, 2012 - 1 commit
  29. 24 Jan, 2012 - 1 commit
  30. 23 Jan, 2012 - 1 commit
  31. 17 Jan, 2012 - 1 commit
  32. 13 Jan, 2012 - 1 commit
  33. 19 Dec, 2011 - 1 commit
  34. 12 Dec, 2011 - 1 commit
  35. 08 Dec, 2011 - 1 commit
    • Gunnar Sletta's avatar
      Implemented multiple windows and GL context sharing · fdd14a1a
      Gunnar Sletta authored
      What was traditionally the QQuickRenderLoop which was used
      to support one QQuickCanvas instance has now grown to support
      multiple QQuickCanvas instances and is now called
      QQuickWindowManager, of which there are two implementations.
      
      QQuickRenderThreadSingleContextWindowManager:
      One QSGContext and one OpenGL context is being used to draw
      all the windows and we alternate between which surface the gl
      context is bound to. This implementation relies on that
      swap does not block, but that the graphics pipeline is
      vsynced and will eventually block as the buffer queue is
      filled up. This is the behavior we get on Mac OS X and
      Wayland. The benefit of this implementation is that we have
      vsync'ed animations, and the synchronizaiton between GUI and
      render thread is simple. (well, simple relative to the
      alternative, that is).
      
      QQuickTrivialWindowManager:
      One QSGContext and one OpenGL context is being used on the GUI
      thread. Animations are ticked from a timer. Performan...
      fdd14a1a
  36. 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...
      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
  37. 28 Nov, 2011 - 1 commit
  38. 18 Nov, 2011 - 1 commit
  39. 14 Nov, 2011 - 1 commit
    • Yoann Lopes's avatar
      Distance field glyph cache refactoring. · ace4b588
      Yoann Lopes authored
      
      The distance field glyph cache is now an abstract class part of the
      adaptation layer. It can be implemented to define the way the glyphs are
      stored in graphics memory on a specific platform. The typical use case
      is for having a cross-process glyph cache. To implement a custom glyph
      cache, one has to override three pure virtual functions: requestGlyphs(),
      storeGlyphs() and releaseGlyphs().
      
      The default implementation works the same way as before the refactoring
      (no cross-process cache).
      
      Change-Id: I6e231a119abbffbe36f5f0d690f0b8be0664ff4f
      Reviewed-by: default avatarEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
      ace4b588