1. 17 Jun, 2020 1 commit
  2. 02 Apr, 2020 1 commit
  3. 01 Sep, 2019 1 commit
  4. 30 Nov, 2018 1 commit
  5. 27 Oct, 2017 1 commit
  6. 05 Jul, 2017 2 commits
    • Kartikaya Gupta's avatar
      Bug 1377090 - Further generify the Matrix class and define MatrixDouble. r=bas · 8609d33d
      Kartikaya Gupta authored
      To allow MatrixDouble to be a drop-in replacement for gfxMatrix, it
      needs to accept the "double" versions of Point, Rect, and Size. This
      patch does that by adding some extra typedefs inside BaseMatrix to
      abstract over that.
      
      It also moves some function implementations into the .h file as they
      don't need specialization. I left some function implementations in
      the Matrix.cpp file:
      - Rotation, because it is specialized for Float and Double, since it uses
        sinf/cosf vs sin/cos in the two implementations.
      - The Matrix4x4 multiplication operator overload, because if I put it
        inside the BaseMatrix class declaration Matrix4x4 isn't defined yet
        and the compiler doesn't like it.
      
      MozReview-Commit-ID: K56dZjJhXWS
      
      --HG--
      extra : rebase_source : d009151942811a725ee6bf854238073e59665d5c
      8609d33d
    • Kartikaya Gupta's avatar
      Bug 1377090 - Make the Matrix class templated so we can instantiate it with a double type. r=bas · 1c54bb23
      Kartikaya Gupta authored
      This extracts a BaseMatrix template of which Matrix is now a particular
      specialization. The BaseMatrix allows us to reuse the same code for
      floats and doubles, much like the other "base" classes (BasePoint,
      BaseRect, etc.).
      
      MozReview-Commit-ID: HO7bA83S9E0
      
      --HG--
      extra : rebase_source : dcd84d9a978cdea00bb54eb11eefcca9c6635901
      1c54bb23
  7. 08 Sep, 2016 1 commit
  8. 02 Dec, 2015 1 commit
  9. 16 Nov, 2015 1 commit
  10. 29 Sep, 2015 1 commit
  11. 09 Jul, 2015 1 commit
  12. 07 Aug, 2015 1 commit
  13. 06 May, 2015 1 commit
  14. 21 Apr, 2015 1 commit
  15. 01 Apr, 2015 1 commit
  16. 29 Apr, 2015 1 commit
  17. 13 Apr, 2015 1 commit
  18. 19 Jan, 2015 1 commit
  19. 13 Mar, 2015 1 commit
    • Kearwood (Kip) Gilbert's avatar
      Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle... · f97c1759
      Kearwood (Kip) Gilbert authored
      Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle infinite values when untransformed rects cross the w=0 plane. r=mattwoodrow
      
      - Added specialized rect clipping functionality to Matrix4x4::ProjectRectBounds
        so we don't have to return infinite values when rects cross the w=0 plane
        in homogenous coordinate space.
      - Updated callsites of ProjectRectBounds to pass a clipping rect that is
        appropriate for the units that are returned.
      
      --HG--
      extra : rebase_source : 9b1088a77e88259e2c32379ade23fbc2236596fb
      f97c1759
  20. 11 Sep, 2014 1 commit
  21. 22 Aug, 2014 1 commit
  22. 24 Jun, 2014 1 commit
  23. 21 Oct, 2014 1 commit
  24. 13 Jul, 2015 1 commit
  25. 18 Mar, 2014 3 commits
  26. 12 Sep, 2012 1 commit
  27. 05 Sep, 2012 1 commit
  28. 21 May, 2012 1 commit
  29. 24 Jun, 2011 1 commit