Timothy Nikkel
e47e609bc6
Bug 1364295. Simplify some code now that we don't create displayports during display list building. r=mstange
2017-09-28 01:25:39 -05:00
Timothy Nikkel
d4f3d72a26
Bug 1364295. Walk the frame tree looking for a scrollframe to add a displayport to, or one that already has a displayport before displaylist building. r=mstange
...
And stop creating displayports during display list building.
One thing we can investigate in the future is whether we should use the value of mHaveScrollableDisplayPort stored on the display list builder retained between paints. If it's true then we could potentially skip this pass. It would mean that if there are large changes to the page we wouldn't set a displayport. And we'd need to make sure the value is cleared when we load a new page.
2017-05-19 17:04:19 -05:00
Ryan VanderMeulen
fe955b203d
Merge m-c to inbound. a=merge
2017-09-27 13:24:21 -04:00
David Major
bb343e20a7
Bug 1403220 - De-optimize some font functions to work around an MSVC PGO crash. r+a=RyanVM
2017-09-27 10:17:00 -04:00
Mats Palmgren
feaa9c8873
Bug 1398520 part 4 - Rename nsFormControlFrame to nsCheckboxRadioFrame. r=dholbert
...
MozReview-Commit-ID: 9nwikVD1cd9
2017-09-27 14:12:00 +02:00
Matt Woodrow
0f1d10a5a9
Bug 1402199 - Move code for adding extra background items into a helper. r=mstange
2017-09-26 15:57:56 +13:00
Matt Woodrow
b14fd4ecb2
Bug 1402197 - Add an option for GetTransformToAncestor to stop at stacking contexts and displayport. r=mstange
2017-09-26 15:57:55 +13:00
Alexis Beingessner
285de9f30d
Bug 1400382 - Implement CreateWebRenderCommands for nsDisplayTextOverflow. r=mstange
...
MozReview-Commit-ID: EQtFvLQCT2U
2017-09-21 15:15:58 -04:00
Louis Chang
990027c3f3
Bug 1290782 Part 2 - Remove redundant destCtx and IsEmpty check of snappedDestSize since it should always have a value. r=cjku
...
MozReview-Commit-ID: 25IlXeqURVa
2017-09-20 10:05:49 +08:00
Louis Chang
627b4a2ef8
Bug 1290782 Part 1 - When drawing a border-image using an SVG image, we should not take into account any transformation of currentMatrix when computing svg viewport size. r=cjku,dholbert
...
MozReview-Commit-ID: 8rkwQGKJOvo
2017-09-20 10:05:42 +08:00
Kevin Hsieh
78fb59fc56
Bug 1395777 (part 2) - Make orthogonal ruby annotations inter-character. r=xidorn
...
MozReview-Commit-ID: JjpEnQI9Dmv
2017-08-31 17:41:13 -07:00
Ting-Yu Lin
5262adc990
Bug 1399767 - Remove preference "layout.css.clip-path-shapes.enabled". r=heycam
...
The variables (basicShapeSVGBoxValues, etc.) in property_database.js are
moved to the beginning of the file so that they're defined before usage.
MozReview-Commit-ID: 7L3obIY1alP
2017-09-15 15:00:30 +08:00
Matt Woodrow
c1428d377d
Bug 1397054 - Reset nsDisplayListBuilder state each frame so that we can use it multiple times. r=mstange
...
MozReview-Commit-ID: Gb7AnKoZaPu
2017-09-12 14:10:39 -04:00
Kartikaya Gupta
6acddc7f74
Bug 1395670 - In webrender layers-free mode, don't add a root scroll metadata if we already have it elsewhere in the tree. r=mstange
...
MozReview-Commit-ID: B9LY4v9t11Y
2017-08-31 17:07:41 -04:00
Phil Ringnalda
cf0ba65c47
Backed out 6 changesets (bug 1302470) for mochitest-chrome failures
...
CLOSED TREE
Backed out changeset 3aab8b1494ef (bug 1302470)
Backed out changeset fdd40abac611 (bug 1302470)
Backed out changeset a67bc2f1b624 (bug 1302470)
Backed out changeset 160522290018 (bug 1302470)
Backed out changeset 6b948c533944 (bug 1302470)
Backed out changeset 399011313b3c (bug 1302470)
MozReview-Commit-ID: 2B3uMAkzNGv
2017-08-31 20:04:24 -07:00
Brad Werth
f4ed808fd8
Bug 1302470 Part 3: Fix the case where HTML buttons need to generate display item children when doing opaque hit tests. r=mattwoodrow
...
MozReview-Commit-ID: HwDYsnMJkM8
2016-11-30 14:35:37 -08:00
Kartikaya Gupta
a31a2e4c39
Bug 1394011 - Place the root ScrollMetadata on the tree we send to APZ in layers-free webrender mode. r=mstange
...
MozReview-Commit-ID: i6BDSDgKiu
2017-08-28 17:17:37 -04:00
Kartikaya Gupta
cd9f1d9d79
Bug 1394011 - Extract helper function to compute the root ScrollMetadata. r=mstange
...
MozReview-Commit-ID: G8G7hI0aBWY
2017-08-28 17:17:34 -04:00
J. Ryan Stinnett
4d25c11fbf
Bug 1393233 - Add env var to disable Stylo. r=bholley
...
MozReview-Commit-ID: BjNWGh3LQIj
2017-08-23 17:58:32 -05:00
Kevin Chen
0403a71b83
Bug 1362321 - Do not crash in gfxPlatform:Init if there is a TDR happening; r=bas
...
MozReview-Commit-ID: 9gJCErHosg1
2017-08-09 18:00:01 +08:00
Kartikaya Gupta
2095dc7653
Bug 1323320 - Skip displayport size assertions when getting the displayport for visibility testing. r=tnikkel
...
MozReview-Commit-ID: 1GbXxlqdOzq
2017-08-14 14:29:20 -04:00
Matt Woodrow
8370362323
Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange
...
* * *
[mq]: fix
MozReview-Commit-ID: LUXZAIL73BJ
2017-08-07 16:07:43 +12:00
Matt Woodrow
e62cf6dd69
Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange
2017-08-07 14:23:35 +12:00
Sebastian Hengst
2e92d940f4
Backed out changeset 8f2dd8f13b53 (bug 1388161) for failing chrome's test_animation_performance_warning.html | preserve-3d transform. r=backout
2017-08-10 14:40:21 +02:00
Sebastian Hengst
1e52933103
Backed out changeset e9985564e081 (bug 1388162) for failing chrome's test_animation_performance_warning.html | preserve-3d transform. r=backout
2017-08-10 14:40:20 +02:00
Matt Woodrow
b0bdae09c7
Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange
2017-08-07 16:07:43 +12:00
Matt Woodrow
61b7fddb66
Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange
2017-08-07 14:23:35 +12:00
Wes Kocher
8382b157bc
Merge inbound to central, a=merge
...
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Ethan Lin
b35a73b97e
Bug 1386477 - Add nullptr check for layerManager->GetRoot() to prevent crash when dumping display list data. r=kats
...
MozReview-Commit-ID: 6o0PwKvs0HQ
2017-08-03 15:41:01 +08:00
Kartikaya Gupta
b0f6c7e722
Bug 1383386 - Update null checks to check the correct IPC actor. r=billm
...
MozReview-Commit-ID: Dr3V9vgzdZC
2017-08-02 20:10:35 -04:00
Sebastian Hengst
15dae2ef73
Backed out changeset ecbeb9354c24 (bug 1383386) for mass-asserting at gfx/layers/ipc/CompositorBridgeChild.cpp:264. r=backout on a CLOSED TREE
2017-08-02 23:08:43 +02:00
Kartikaya Gupta
df714a5cf3
Bug 1383386 - Update null checks to check the correct IPC actor. r=billm
...
MozReview-Commit-ID: AZlFYkuzFVb
2017-08-02 09:53:00 -04:00
Kartikaya Gupta
8aa79d54f2
Bug 1384616 - Save APZ-relevant data from fixed-pos items in the WR scroll data for layers-free transactions. r=jrmuizel
...
MozReview-Commit-ID: HAFnrCVM9pZ
2017-07-31 15:27:29 -04:00
Manish Goregaokar
35d4e13ff5
Bug 1383492: stylo: Change nscoord_MAX to 1<<30 - 1 ; r=emilio,dbaron
...
nscoord_MAX is (1<<30) so that we can check for overflow *after* adding
two nscoords. However, (nscoord_MAX + nscoord_MAX) will still overflow.
Subtracting one makes this no longer possible.
MozReview-Commit-ID: BtbQRMp5kWm
2017-07-27 18:57:32 -07:00
Wes Kocher
9a60d18b76
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 418vKEKrk3n
2017-07-24 18:10:56 -07:00
Mason Chang
dc86d1dd59
Bug 1365876. Blur text shadows on the CPU. r=lsalzman
2017-07-24 13:48:14 -07:00
Kartikaya Gupta
4ff424cc8f
Bug 1382682 - Move ViewIDForASR into nsLayoutUtils for reuse. r=mstange
...
MozReview-Commit-ID: IcYqDO1D2SB
2017-07-20 12:33:09 -04:00
Kris Maglione
81578b8f6b
Bug 1379508: Part 1 - Apply the correct client offsets to remote frameloaders in popup widgets. r=kats
...
On-screen coordinates for points in remote frameloads are calculated relative
to the screen origin of the top-level window, while event coordinates are
calculated relative to the nearest widget. Since popups have their own widgets
separate from the top-level window, their native client offsets have no
particular relation to the origin of the top-level window, and we need to
manually calculate them relative to the origin of the top-level widget
instead.
MozReview-Commit-ID: EDyEyu37XuY
2017-07-13 15:31:55 -07:00
Louis Chang
3e447440a4
Bug 1319407 - Apply clip-path to each frame when box-decoration-break is clone. r=cjku,heycam
...
MozReview-Commit-ID: E7IR49MzkWm
2017-07-24 11:14:47 +08:00
Masayuki Nakano
f4a5a8a21e
Bug 1377989 - part2: Rename nsRange::GetEndParent() to nsRange::GetEndContainer() r=smaug
...
MozReview-Commit-ID: K4qPjtZ62yO
2017-07-11 21:11:37 +09:00
Masayuki Nakano
7015ac1e62
Bug 1377989 - part1: Rename nsRange::GetStartParent() to nsRange::GetStartContainer() r=smaug
...
Web standards use "Container" instead of "Parent". So, nsRange shouldn't use "Parent" for its members and methods.
MozReview-Commit-ID: Ho6N0diuWtE
2017-07-11 20:53:04 +09:00
Kartikaya Gupta
bcd255399d
Bug 1378355 - Update GetMaxDisplayPortSize to respect the gfx.max-texture-size pref. r=tnikkel
...
MozReview-Commit-ID: D6wF4QrnGSw
2017-07-10 10:15:25 -04:00
Kartikaya Gupta
c099b9bc14
Bug 1378355 - Move the safe-maximum displayport fallback code into the GetMaxDisplayPortSize function. r=tnikkel
...
MozReview-Commit-ID: LdHQuuunl3E
2017-07-10 10:15:24 -04:00
J. Ryan Stinnett
d50f115910
Bug 1379300 - Add Stylo env var for easier enabling. r=mbrubeck
...
MozReview-Commit-ID: A8XBdavSkNN
2017-07-07 18:03:44 -05:00
Kartikaya Gupta
b8b3120020
Bug 1377169 - Turn gfxRect into a typedef. r=jrmuizel
...
One thing to note here is that the Scale function on gfxRect has a
different implementation than that in gfx::Rect which is replacing it.
The former just scales the width/height directly whereas the latter
scales the XMost/YMost and recomputes the width/height.
MozReview-Commit-ID: 5FImdIaNfC3
2017-07-05 11:22:00 -04:00
Kartikaya Gupta
793d78e155
Bug 1377090 - Turn gfxMatrix into a typedef for MatrixDouble. r=jrmuizel
...
Most of this patch is updating a few places that use gfxMatrix to use
the equivalent-but-differently-named functions on MatrixDouble:
- Translate/Rotate/Scale get turned into PreTranslate/PreRotate/PreScale
- Transform(Point) gets turned into TransformPoint(Point)
- gfxMatrix::TransformBounds(gfxRect) gets turned into
gfxRect::TransformBoundsBy(gfxMatrix).
- gfxMatrix::Transform(gfxRect) gets turned into
gfxRect::TransformBy(gfxMatrix).
The last two functions are added in this patch as convenience wrappers
to gfxRect instead of Matrix.h because we don't want Matrix.h to "know"
about gfxRect (to avoid adding gecko dependencies on Moz2D). Once we
turn gfxRect into a typedef for RectDouble these will be eliminated
anyway.
MozReview-Commit-ID: BnOjHzmOSKn
2017-07-05 11:18:49 -04:00
Mats Palmgren
2d39a227cf
Bug 1377707 - Ensure that LogTestDataForPaint is not called at all when APZTestLoggingEnabled() is false. r=tn
...
MozReview-Commit-ID: 8z7eqBBsn0R
2017-07-05 02:04:15 +02:00
Cameron McCormack
859e0706b8
Bug 1376647 - Use new MayHaveAnonymousChildren flag to skip work in AllChildrenIterator and some util functions. r=bholley
...
MozReview-Commit-ID: 783VtcY7qQF
2017-06-27 17:53:39 -07:00
Sebastian Hengst
fd8ef3780e
Backed out changeset ee62473b968c (bug 1376647) for build bustage: no member named 'MayHaveAnonymousChildren' in 'nsIContent' at dom/base/nsContentUtils.cpp:10258. r=backout on a CLOSED TREE
2017-06-29 01:09:42 +02:00
Cameron McCormack
7003654317
Bug 1376647 - Use new MayHaveAnonymousChildren flag to skip work in AllChildrenIterator and some util functions. r=bholley
...
MozReview-Commit-ID: 783VtcY7qQF
2017-06-27 17:53:39 -07:00