gfx/2d/BaseRect.h
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-11-30 11:01 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
152ce75557a2c2820dd85847f54dae941ef7fec6
created 2018-05-25 18:16 +0200
pushed 2018-05-26 04:10 +0000
Bas Schouten Bas Schouten - Bug 1457110: Restore behavior of maintaining width/height when one of the two is exactly zero. r=jrmuizel
16a7ab26c645d8201aba76ddeee9322514e69bef
created 2018-04-19 15:56 +0200
pushed 2018-04-24 21:51 +0000
Bas Schouten Bas Schouten - Bug 1387399: Add SIMD optimizations for methods used frequently in nsRect. r=jrmuizel
ec3dd3ee2ae4b3a63529a912816a110e925eb2d0
created 2018-04-20 06:47 +0300
pushed 2018-04-20 03:48 +0000
Cosmin Sabou Cosmin Sabou - Backed out 2 changesets (bug 1387399) for OSX reftests permafailures on attachment-local-positioning-2.html. a=backout
4beeacb75bf59ba4b6d38ceae8b04c5eb8c6958b
created 2018-04-19 15:56 +0200
pushed 2018-04-19 22:30 +0000
Bas Schouten Bas Schouten - Bug 1387399: Add SIMD optimizations for methods used frequently in nsRect. r=jrmuizel
0d48950798f4caa1f2923d29f3e27afef313666c
created 2018-01-10 17:57 -0500
pushed 2018-01-11 21:53 +0000
Milan Sreckovic Milan Sreckovic - Bug 1429602: Rename BaseRect::IsZero to BaseRect::IsZeroArea. Also slip in some corrections to using BaseRect methods instead of direct member access. r=bas.schouten
fe793fde11177f3e8f3c934c82753e8fbe1b31ed
created 2018-01-09 11:24 -0500
pushed 2018-01-10 09:57 +0000
Milan Sreckovic Milan Sreckovic - Bug 1428348: Allow Set{Left,Right,Top,Bottom}Edge methods to compute negative width/height without asserting. r=bas.schouten
5895e9f4bc68e23cff73d4356a64631c1c99784e
created 2017-03-07 14:07 +1300
pushed 2017-12-22 09:54 +0000
Matt Woodrow Matt Woodrow - Bug 1344971 - Part 3: Don't compute a region for nsDisplayBorder when we only want a rect. r=mstange
0649658ddeb253b8d05bb1b396d49035a197be3c
created 2017-12-19 15:48 -0500
pushed 2017-12-20 09:44 +0000
Milan Sreckovic Milan Sreckovic - Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten
290ceaa595557f3b184f8d8758c3e7f9b96c5abc
created 2017-12-07 14:14 -0500
pushed 2017-12-08 09:54 +0000
Milan Sreckovic Milan Sreckovic - Bug 1423919: Additional methods for BaseRect for convinient modifications/testing of the member variable values. Force inline some commonly used methods. r=milan.schouten
617ae0f85db24e3470d8378f60f85a19a6c059ce
created 2017-11-30 13:23 -0500
pushed 2017-12-04 20:16 +0000
Jeff Muizelaar Jeff Muizelaar - Bug 1422321. Eliminate double promotion in Round(). r=kats
5f74d262924171a8fa0b4483a64f4cac34c4c9b8
created 2017-10-27 16:10 -0700
pushed 2017-10-30 22:44 +0000
Daniel Holbert Daniel Holbert - Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
7fcd883bac90f928bc127fd9ffea123bcd56958e
created 2017-08-31 16:00 -0400
pushed 2017-09-01 21:59 +0000
Milan Sreckovic Milan Sreckovic - Bug 1388892: TableArea doesn't really need to own the rectangle, except for the union call. Especially since we're exposing the addresses of the members. r=xidorn
65f903ed1b1b232768de928f68d38ea3e8acbdc9
created 2017-08-03 15:29 -0400
pushed 2017-08-05 09:53 +0000
Milan Sreckovic Milan Sreckovic - Bug 1386277: Add set methods for width and height that change nothing else, as well as the Swap method r=bas
9c4e1d455e0dae135e857f2fd7b0572e5e65620b
created 2017-08-03 12:14 -0700
pushed 2017-08-04 17:19 +0000
Wes Kocher Wes Kocher - Backed out changeset f56d71bbd7eb (bug 1386277) for build bustage in BaseRect.h a=backout
f56d71bbd7eb9a9e9642c59eb7dadc5ccb6314f5
created 2017-08-03 14:40 -0400
pushed 2017-08-04 17:19 +0000
Milan Sreckovic Milan Sreckovic - Bug 1386277: Add set methods for width and height that change nothing else, as well as the Swap method r=bas
07bc82c0e6e03dba1d04eb799d00adcda5ab64bd
created 2017-05-19 20:10 -0400
pushed 2017-05-25 00:43 +0000
Botond Ballo Botond Ballo - Bug 1352863 - Add a DistanceTo() method to BaseRect. r=kats
d6bf8872b3c312843ea73308bb646a34f1020de2
created 2017-01-05 17:07 +0800
pushed 2017-01-06 16:07 +0000
Ting-Yu Lin Ting-Yu Lin - Bug 1320014 Part 15 - Replace RectCorner with Corner. r=mats
1710e2f930dbd5b32aa5f126ab031c8353a73523
created 2016-11-18 18:12 +0800
pushed 2016-11-24 15:35 +0000
Ting-Yu Lin Ting-Yu Lin - Bug 1317588 Part 3 - Remove #define NS_SIDE_TOP/RIGHT/BOTTOM/LEFT. r=mats
e59f96abc40be4726e79c0409edd173a9d2b17a0
created 2016-09-16 17:49 +0200
pushed 2016-09-17 20:44 +0000
Nicolas Silva Nicolas Silva - Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond
8e2f62943272dda354db63bfdb42510355dfaa72
created 2016-07-19 21:50 -0400
pushed 2016-07-20 09:21 +0000
Kartikaya Gupta Kartikaya Gupta - Bug 1283826. r=mstange,Bas
9b4a6326df6eaeb8cfbae6bdf7ef034b651b5918
created 2016-07-18 11:43 -0700
pushed 2016-07-20 09:21 +0000
Wes Kocher Wes Kocher - Backed out changeset 7985dab6e65e (bug 1283826) for crashtest failures CLOSED TREE
7985dab6e65e467609a515497a6cf47b2e15785c
created 2016-07-18 11:15 -0400
pushed 2016-07-20 09:21 +0000
Kartikaya Gupta Kartikaya Gupta - Bug 1283826. r=mstange,Bas
b8949c5d73cecaa965c4f817084e76da565eff80
created 2016-05-13 16:34 -0400
pushed 2016-05-17 20:52 +0000
Milan Sreckovic Milan Sreckovic - Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
3d67e45f994a3ae1ae43479c32c2ed63bbf1a7c8
created 2016-04-27 14:16 +1000
pushed 2016-04-29 21:57 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
dc6cc76f3c7e096d15b84bd7736c59723984dfec
created 2016-04-19 17:07 -0400
pushed 2016-04-20 09:50 +0000
Kartikaya Gupta Kartikaya Gupta - Bug 1231396 - Add a pref to record and print out the number of pixels painted. r=mstange
1a80ea3dbb8bbdb8bab43d1b99ed002712f71eb7
created 2016-02-12 11:35 +1300
pushed 2016-02-12 14:16 +0000
Matt Woodrow Matt Woodrow - Bug 1224433 - Part 2: Clamp the invalidation rect to values that fit within nscoord. r=roc
c5780f2a10e8de3171e12f080d99f62a0c6ca1a5
created 2015-11-11 16:38 -0600
pushed 2015-11-12 11:01 +0000
Timothy Nikkel Timothy Nikkel - Bug 1223639. Rename ForceInside to MoveInsideAndClamp so it's clearer what it does. r=botond
6b366732ec446e9ccd04d0e286d2b48f4db9fb83
created 2015-10-27 13:38 +0900
pushed 2015-10-27 09:56 +0000
Xidorn Quan Xidorn Quan - Bug 962249 part 2 - Add Edge() helper method to BaseRect. r=roc
91d6e262b662a0b4e47358665e222d3927337af9
created 2015-07-13 08:25 -0700
pushed 2015-07-13 22:55 +0000
Birunthan Mohanathas Birunthan Mohanathas - Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
304252ab016535dee9332e70daacba4749759db3
created 2015-04-09 15:49 -0400
pushed 2015-04-14 14:06 +0000
Markus Stange Markus Stange - Bug 1152838 - Fix BaseRect::InflateToMultiple and move it to nsIntRect. r=mattwoodrow, r=jrmuizel
1cf1e2b49d90e16a631751d24e10563096de588d
created 2015-03-26 15:39 -0700
pushed 2015-03-27 16:19 +0000
Seth Fowler Seth Fowler - Bug 1147706 - Warn if we don't use the result of const methods on BaseRect and its subclasses. r=tn
8aaeff3424c00d12835d033b0807901dbc6b83c1
created 2015-02-23 14:09 -0500
pushed 2015-02-25 11:06 +0000
Benoit Girard Benoit Girard - Bug 1135677 - Deal with overflowing rects. r=bas
4fcd95ddb54009d6f40a810f6db01ec7c62c44e9
created 2014-11-24 14:28 +0000
pushed 2014-11-25 00:56 +0000
Robert Longson Robert Longson - Bug 1099197 - Determine the bounds of unstroked polylines/polygons directly. r=jwatt
8d6f574466cba94fa606c6ba111061c8bf3b5209
created 2014-11-03 10:01 +0000
pushed 2014-11-03 21:18 +0000
Jonathan Watt Jonathan Watt - Bug 1092222, part 2 - Add CCWCorner, CCWCorner and CWCorner methods to BaseRect. r=roc
6fac9e4a3738f357b09af562d3e77f58601b316f
created 2014-08-27 19:25 -0400
pushed 2014-08-29 12:55 +0000
Botond Ballo Botond Ballo - Bug 1057642 - More convenient formatting of BasePoint. r=BenWa,kats
da90bd5e5145582e21926a6823f3a74102e311ab
created 2014-08-05 12:17 +1200
pushed 2014-08-08 14:41 +0000
Matt Woodrow Matt Woodrow - Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas
8be5d8233990882d9b8829b3ba44fb32ea11a5f9
created 2014-08-07 06:24 +0100
pushed 2014-08-07 12:49 +0000
Jonathan Watt Jonathan Watt - Bug 1049593 - Make BaseRect::Contains(point) behave correctly for floating point rect/point. r=Bas
a06f75001b0f153f4819aa1b034836aa758180ac
created 2014-08-06 18:32 -0700
pushed 2014-08-07 12:49 +0000
Wes Kocher Wes Kocher - Backed out 2 changesets (bug 1048110) for various Android mochitest failures on a CLOSED TREE
1cf6f4f278118f64c811435d11a410cd2e6a1073
created 2014-08-05 12:17 +1200
pushed 2014-08-07 12:49 +0000
Matt Woodrow Matt Woodrow - Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas
c200536ef0c0be1ef466c9522442a946bb260076
created 2014-05-07 16:29 -0400
pushed 2014-05-15 22:59 +0000
Botond Ballo Botond Ballo - Bug 961289 - Add support for writing a BaseRect to an output stream. r=Bas
9b636c591cfb319e41eb75c24687a96f2db310c0
created 2014-05-11 17:48 +0200
pushed 2014-05-12 11:35 +0000
Markus Stange Markus Stange - Bug 1008154 - Make BaseRect::Intersects return false if at least one of the rects is empty. r=roc
db686f9cc96fdb60d3bec2431ef18c710548b24e
created 2014-05-02 11:22 -0400
pushed 2014-05-02 20:32 +0000
Doug Sherk Doug Sherk - Bug 1002289 - Allow adding/subtracting of BaseSize on BaseRect. r=botond, Bas
192efb36136aec8f4436d0b1b7cb630db6ca5d96
created 2014-02-27 16:23 +0100
pushed 2014-02-27 21:55 +0000
Benjamin Bouvier Benjamin Bouvier - Bug 939843: Required changes in the rest of the tree; r=froydnj
031f4999c5fe7a8d4235a9862ab9ed0a0a958fe6
created 2014-01-06 10:05 -0500
pushed 2014-01-07 01:03 +0000
Anthony Jones Anthony Jones - Bug 951463 - Rename ClampRect to ForceInside; r=botond
c435419ae121b6adfb6bfeca586282bb892cba5b
created 2013-11-03 20:47 +0000
pushed 2013-11-04 12:33 +0000
Jonathan Watt Jonathan Watt - Bug 934157 - Fix BaseRect::IsFinite() to actually work. r=Bas
5f9cb0332e3c273dc3452491b15b6652e988e8f3
created 2013-10-09 17:03 -0700
pushed 2013-10-10 11:35 +0000
Daniel Holbert Daniel Holbert - Backout e67dad88f860 and assertion-count-tweak followups (bug 914919), since including nsDebug.h in gfx/2d causes issues with some skia headers.
e67dad88f86054c1d90adb48ce671177a3d6f119
created 2013-09-11 16:27 -0700
pushed 2013-09-16 01:48 +0000
Corey Ford Corey Ford - Bug 914919 - Downgrade BaseRect::Set*Edge assertions to be non-fatal. r=dholbert
b5fff90c343dc8ebf5424f04f4bbca9622612126
created 2013-08-22 12:41 -0400
pushed 2013-08-23 00:46 +0000
Kartikaya Gupta Kartikaya Gupta - Bug 907906 - Finish templating the gfx::Margin type, and add a gfx::IntMargin type to go with it. r=Cwiiis
417918b47df2b12da11043bf8470e71de470e1f3
created 2013-08-14 12:29 -0400
pushed 2013-08-16 08:28 +0000
Milan Sreckovic Milan Sreckovic - Bug 905219 - BaseRect::IsFinite() now uses std::isfinite(), rather than NS_finite(). r=jrmuizel
71632b7625e880239963e4c41c3cf9ffc222aac9
created 2013-08-13 14:48 -0400
pushed 2013-08-14 12:46 +0000
Milan Sreckovic Milan Sreckovic - Bug 903526 - Add BaseRect::IsFinite() method. r=bas
6ee152636ad432d1258bd8c9c88dd29bb0fd8ea1
created 2013-06-19 22:48 +0200
pushed 2013-06-20 07:59 +0000
Bas Schouten Bas Schouten - Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel
5b3196ad66f40b7ca578461155f279fa0c6fca8e
created 2013-06-19 17:35 -0400
pushed 2013-06-20 07:59 +0000
Ehsan Akhgari Ehsan Akhgari - Backed out 2 changesets (bug 878032) because of Windows build bustage
3cb61a7d57461117b4140c10c1c0cfcff5c3d0bd
created 2013-06-19 22:48 +0200
pushed 2013-06-20 07:59 +0000
Bas Schouten Bas Schouten - Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel
6b0d5080b1d605dbcdecaa641e64906f4a59494e
created 2013-06-10 09:05 -0400
pushed 2013-06-10 19:43 +0000
Kartikaya Gupta Kartikaya Gupta - Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
fe161492ae82e5bce511b22890043b0eb60540c7
created 2013-05-28 16:17 +1200
pushed 2013-05-31 20:11 +0000
Anthony Jones Anthony Jones - Bug 831237 - Reduce APZC buffer churn; r=BenWa
968f38210d1df2241105c48cbe8e9379f3e1a329
created 2013-03-06 00:05 -0800
pushed 2013-03-06 16:09 +0000
Daniel Holbert Daniel Holbert - Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth
a9ba0d91735831824c50b58eaa905ce6badc5b9a
created 2013-01-30 17:02 +0100
pushed 2013-01-31 20:56 +0000
Mats Palmgren Mats Palmgren - Bug 834896 - Replace uses of gfx_min/gfx_max with std::min/std::max. r=joe
c8cf23a719b70acd6a58a002c0918ab1f12ca68f
created 2013-01-30 17:02 +0100
pushed 2013-01-31 20:56 +0000
Mats Palmgren Mats Palmgren - Bug 834896 - Remove the gfx_min/gfx_max templates. r=joe
037363fa02583ef1f37c80373e46c0a19cf73e64
created 2013-01-15 13:22 +0100
pushed 2013-01-15 22:58 +0000
Mats Palmgren Mats Palmgren - Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
less more (0) -60 tip