Commit Graph

73 Commits

Author SHA1 Message Date
Lee Salzman
b759e943a3 Bug 1201937 - push transform onto cairo context when evaluating path bounds. r=eihrul 2015-09-21 13:33:06 -04:00
Timothy Nikkel
15ded6d7d2 Bug 1204824. Make Matrix4x4::PreScale scale all values in the first three rows. r=bas 2015-09-16 23:39:09 -05:00
Jeremy Chen
f0a1e352ce Bug 1149923 - Let 2D mask effect can check whether to use IntermediateSurface or not in its own logic. r=roc 2015-08-28 03:47:00 -04:00
Kearwood (Kip) Gilbert
2c46bd8443 Bug 1157984 - Part 2: Implement double precision clipping functions in Matrix4x4,r=vlad
- Implement Matrix4x4::TransformAndClipBounds
- Update methods in Matrix4x4 with templates, allowing for both single
  and double precision.
2015-08-06 17:26:03 -07:00
Lee Salzman
1b79409525 Bug 1190705 - Ensure that canvas 2d matrix transforms are finite. r=Bas, r=jrmuizel 2015-08-05 18:48:25 -04:00
Kearwood (Kip) Gilbert
ab84ccc534 Bug 1181240 - Part 1: Copy methods from gfx3DMatrix,r=vlad
- Copied methods from gfx3DMatrix to Matrix4x4, gfxPoint, and gfxRect that
  with at double-precision floating point.
2015-07-09 16:27:38 -07:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Markus Stange
6a63440575 Bug 1165185 - Try to avoid invalidations when scrolling transformed elements. r=roc 2015-06-15 19:20:59 -04:00
Kearwood (Kip) Gilbert
501663978a Bug 766345 - Part 2 - Implement Matrix4x4::TransformAndClipRect (v2 Patch). r=vladimir
- Implemented Matrix4x4::TransformAndClipRect, which emulates
the frustum clipping behavior of the GPU.
2015-04-29 14:25:47 -07:00
Jonathan Watt
973865656c Bug 1168427 - Add a PostScale method to Moz2D's Matrix class. r=Bas 2015-05-14 16:47:20 +01:00
Vladimir Vukicevic
07b415e6d9 Bug 1148009; [webvr] Add Quaternion class to Moz2D; r=jrmuizel 2015-04-01 16:02:20 -04:00
Kearwood (Kip) Gilbert
c4ece0cbcf 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.
2015-03-13 16:42:00 -04:00
Botond Ballo
421eb59681 Bug 1120609 - Printing support for gfx::Matrix. r=Bas 2015-01-19 11:29:16 -05:00
Vladimir Vukicevic
f5426376d4 Bug 1036604 - Add VRDevice interfaces, navigator.getVRDevices call, and Oculus Rift gfxVR; r=bz,jrmuizel 2014-07-09 12:24:49 -07:00
Robert O'Callahan
e0c254a204 Bug 1097437. Work around Quartz bug where corners of stroked rects don't get a solid color when they should. r=jrmuizel 2014-11-12 20:52:57 +13:00
Markus Stange
506fb3970e Bug 1078262 - Only use the fixed epsilon for the translation components. r=roc 2014-10-16 12:37:09 +02:00
Jonathan Watt
0c7acbc8ad Bug 1082483, part 3 - Remove the temporary Matrix4x4::Translate/Scale methods. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
9afc3fb66a Bug 1082483, part 1 - Rename Matrix4x4::Translate/Scale to Matrix4x4::PreTranslate/PreScale, leaving temporary inlines for the old names. r=Bas 2014-10-16 10:51:12 +01:00
Jonathan Watt
d945dfabb7 Bug 1082477, part 2 - Remove the Matrix4x4::TranslatePost/ScalePost methods. r=Bas 2014-10-16 10:51:12 +01:00
Jonathan Watt
f1e7a7035a Bug 1077961, part 1 - Add various methods to Moz2D Matrix4x4 to allow us to minimize multiplications. r=Bas 2014-10-08 04:40:44 +01:00
Kartikaya Gupta
9ff3f6fd47 Bug 1074944 - Add Inverse functions on Matrix and Matrix4x4. r=Bas 2014-10-01 13:13:02 -04:00
Jonathan Watt
5ca2818c34 Bug 1065764, part 2 - Make Moz2D's Matrix::NudgeToIntegers() return a reference. r=Bas 2014-09-11 01:46:21 +01:00
Jonathan Watt
451cf38c27 Bug 1065737 - Add a PreMultiply() method to Moz2D's Matrix class. r=Bas 2014-09-11 01:45:05 +01:00
Jonathan Watt
a768aa7059 Bug 1065526, part 1 - Add a Copy() method to Moz2D's Matrix. r=Bas 2014-09-10 21:41:51 +01:00
Jonathan Watt
454760d249 Bug 1065031, part 1 - Changes to Moz2D code to document and rename Moz2D Matrix's Translate, Scale and Rotate methods. r=Bas 2014-09-10 18:29:35 +01:00
Markus Stange
9a61fb52bc Bug 1055661 - Add Matrix5x4::operator*=. f=milan, r=Bas 2014-09-02 14:06:01 +02:00
Markus Stange
12fbc541db Bug 1055661 - Add Matrix5x4::operator== which does exact equality comparison. f=Milan, r=Bas 2014-09-02 14:05:49 +02:00
David Zbarsky
6adeb005d1 Bug 952977: Remove gfxPointH3D r=nical 2014-08-29 14:47:30 -04:00
Kartikaya Gupta
4c2e1fa4a7 Bug 1058048 - Implement the *= operator on Matrix4x4. r=Bas 2014-08-26 12:04:07 -04:00
Markus Stange
26086e5c39 Bug 1055661: Add 5x4 matrix multiply. r=bschouten 2014-08-22 11:30:20 -04:00
David Zbarsky
a219682afb Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical 2014-08-22 09:40:02 -04:00
David Zbarsky
f7b8b02ee4 Bug 952977: More gfx::Matrix cleanup in FrameLayerBuilder r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky
34be02bc1d Bug 952977: More gfx::Matrix cleanup in LayerTreeInvalidation r=nical 2014-08-01 08:31:47 -04:00
David Zbarsky
62f624f451 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-08-01 08:31:46 -04:00
Wes Kocher
e230d2b1cf Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
e4bf552bb8 Bug 952977: bustage fix on a CLOSED TREE to appease the compiler gods r=me 2014-07-29 19:51:38 -04:00
David Zbarsky
101c7dfea4 Bug 952977: More gfx::Matrix cleanup in FrameLayerBuilder r=nical 2014-07-29 19:18:52 -04:00
David Zbarsky
86354f8d4e Bug 952977: More gfx::Matrix cleanup in LayerTreeInvalidation r=nical 2014-07-29 19:18:49 -04:00
David Zbarsky
4e72ae5005 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-07-29 19:18:49 -04:00
Botond Ballo
397792585f Bug 1035598 - Add a ChangeBasis() method to Matrix4x4. r=mattwoodrow 2014-07-22 18:10:25 -04:00
Botond Ballo
9c593d4e2a Bug 1035598 - Add a PostTranslate() method to Matrix4x4. r=mattwoodrow 2014-07-22 18:09:53 -04:00
Jonathan Watt
d6fe4a8620 Bug 1025553, part 5 - Add some missing gfxMatrix API to Moz2D Matrix. r=Bas 2014-07-11 08:06:39 +01:00
Rik Cabanier
8b6059ea7f Bug 1018497 - Implementation of DOMMatrix. r=roc,bz 2014-06-24 20:15:00 +02:00
Matt Woodrow
9bc729f60f Bug 1013767 - Add Matrix::PostTranslate. r=Bas 2014-05-28 13:21:32 +12:00
Jonathan Watt
6738606d14 Bug 985320 - Add a static Matrix::Scaling method to Moz2D's Matrix. r=Bas 2014-03-19 22:33:38 +08:00
Matt Woodrow
a54d63d6ae Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Phil Ringnalda
7c657d49c5 Back out f79690ca47fa:48828b35e4ce (bug 982318) for b2g mochitest bustage
CLOSED TREE
2014-03-18 00:02:24 -07:00
Jonathan Watt
05c49db239 Bug 984263 - Add methods to Moz2D Matrix to help with translation and rotation matrices. r=Bas 2014-03-18 13:04:47 +08:00
Matt Woodrow
350a2d9bf3 Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
David Zbarsky
9fb599abba Bug 952977: Perform some cleanup r=nical 2014-01-27 15:25:19 -05:00