1. Jun 06, 2013
  2. May 10, 2013
  3. May 03, 2013
    • Samuel Rødal's avatar
      Made Canvas blur better match the one in HTML 5 Canvas. · e1a8762e
      Samuel Rødal authored
      
      Fixed blur being too faint by fixing the weight to correctly match the
      amount of pixels being sampled based on the blur radius, and by not
      multiplying and flooring to int inside the sampling loop which leads to
      excessive rounding down errors.
      
      The "half" value in the previous implementation was also wrong due to
      using integer division instead of floating point division, which caused
      the blur being slightly offset down and to the right.
      
      By not calling scanLine() and constScanline() repeatedly and by only
      applying the weight once in the single-weight case we can also gain a
      slight performance improvement.
      
      Also, make sure blur radii below 2 don't get floored to 0.
      
      Change-Id: Ibe15d0f51c919594b168923485c051d21f8d7822
      Reviewed-by: default avatarMitch Curtis <mitch.curtis@digia.com>
      Reviewed-by: default avatarGunnar Sletta <gunnar.sletta@digia.com>
      e1a8762e
    • Frederik Gladhorn's avatar
      Canvas: Do not apply transform to text twice · 98023c7e
      Frederik Gladhorn authored
      
      The path already has the transform,
      no need to apply it a second time manually.
      
      Task-number: QTBUG-30501
      
      Change-Id: Iedcb2e2f85a1f9eeac8e6264e00536c43bf16ddb
      Reviewed-by: default avatarSamuel Rødal <samuel.rodal@digia.com>
      98023c7e
  4. Apr 26, 2013
  5. Apr 16, 2013
  6. Mar 11, 2013
  7. Mar 05, 2013
  8. Feb 07, 2013
  9. Jan 18, 2013
    • Gunnar Sletta's avatar
      Complete rewrite of threaded render loop. · ebe8b940
      Gunnar Sletta authored
      
      This change starts using the superior implementation of the scene graph
      render loop which has been worked on in the scenegraph-playground
      project for a while. It uses a far more straightforward locking/sync
      paradigm compared to the existing one and is less deadlock and error
      prone. It also enables the scene graph thread to run on its own when
      the GUI thread is blocked, enabling threaded animations.
      
      This changes also introduces a naming change inside Qt Quick from
      "Window Manager" -> "Render Loop" as that fits better to what the
      code does.
      
      Change-Id: I1c2170ee04fcbef79660bd7dae6cace647cdb276
      Reviewed-by: default avatarSamuel Rødal <samuel.rodal@digia.com>
      ebe8b940
  10. Jan 14, 2013
  11. Jan 10, 2013
  12. Sep 25, 2012
  13. Sep 23, 2012
  14. Aug 27, 2012
  15. Aug 09, 2012
    • Bea Lam's avatar
      canvas-related doc fixes · 409d25b6
      Bea Lam authored
      
      - Fully qualify names in \qml* commands
      - Remove unnecessary 'void' return types in \qmlmethod commands
      - Remove unnecessary module and type qualifiers from links
      - Document Canvas::onImageLoaded()
      
      Change-Id: I32d1a7a54c407ae98b60857780f5536c6d52fca2
      Reviewed-by: default avatarYunqiao Yin <charles.yin@nokia.com>
      409d25b6
  16. Aug 03, 2012
  17. Aug 02, 2012
  18. Jul 31, 2012
    • Charles Yin's avatar
      Refactor context2d thread logic · 4236e7f7
      Charles Yin authored
      
      1. Use QQuickContext2DRenderThread for Threaded rendering
      2. Make FBO target works with all render strategies
      3. Remove some unnessary locks, call texture methods by invoking meta calls
      4. Run existing tests with all render targets and strategies (except Cooperative)
      
      Change-Id: I0db5c91d848b86bcc1536c30d7a5804b66a817f1
      Reviewed-by: default avatarYunqiao Yin <charles.yin@nokia.com>
      4236e7f7
  19. Jul 30, 2012
  20. Jul 17, 2012
  21. Jun 06, 2012
    • 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
  22. Jun 05, 2012
    • Charles Yin's avatar
      Introduce QQuickCanvasPixmap · 1dcfa8aa
      Charles Yin authored
      
      1. QQuickPixmap now only store textures instead of QImage data, however
      context2d still need to access the QImage in some places, so cache the
      loaded images to avoid the expensive GL readback operations.
      2. Use texture directly if the render target is FBO.
      
      Change-Id: I6228011e5698fa00f2e3420a3a4a305995b8a238
      Reviewed-by: default avatarYunqiao Yin <charles.yin@nokia.com>
      1dcfa8aa
  23. May 31, 2012
  24. May 29, 2012
  25. May 24, 2012
  26. May 14, 2012
  27. May 10, 2012
  28. May 04, 2012
  29. Apr 03, 2012
  30. Mar 30, 2012
    • Charles Yin's avatar
      Fix context2d transform issues · 200f7837
      Charles Yin authored
      
      After calling transform related methods, the current path should be transformed with the same method but in reversal mode.
      So that during painting, the painter will apply the CTM to this path again, otherwise path will be transformed twice.
      
      Change-Id: I7e12bdff82dabb408f47152ba07b608872d4093f
      Task-number: QTBUG-24988
      Reviewed-by: default avatarMichael Brasser <michael.brasser@nokia.com>
      200f7837
  31. Mar 20, 2012
  32. Mar 13, 2012
  33. Mar 06, 2012
  34. Feb 24, 2012
  35. Feb 13, 2012
  36. Feb 10, 2012