Commit Graph

984 Commits

Author SHA1 Message Date
Ethan Lin
9abacb8834 Bug 1418893 - Check opacity changes when computing mask's invalidation region. r=mattwoodrow
MozReview-Commit-ID: 54XDjoh67Mb

--HG--
extra : rebase_source : b8adaeb32f0d6a93b5a972cb939c526eb877d805
2017-12-20 14:23:06 +08:00
Matt Woodrow
b864e4d18d Bug 1344971 - Part 5: Share DisplayItemData lookups when we can in FrameLayerBuilder. r=mstange 2017-03-07 14:07:33 +13:00
Matt Woodrow
ed04f7b7b6 Bug 1344971 - Part 4: Don't track multiple DLBI rects for nsDisplayBorder. r=mstange 2017-03-07 14:07:33 +13:00
Matt Woodrow
1a07a450f8 Bug 1344971 - Part 3: Don't compute a region for nsDisplayBorder when we only want a rect. r=mstange 2017-03-07 14:07:33 +13:00
Matt Woodrow
edb1c1dd88 Bug 1344971 - Part 1: Create OutOfFlowDisplayData for the parent of the OOF frame so they can be shared. r=mstange 2017-03-01 12:09:43 +13:00
Xidorn Quan
e2d3edd426 Bug 1325940 part 2 - Converted NS_STYLE_BORDER_IMAGE_REPEAT_* to an enum class. r=emilio
MozReview-Commit-ID: Kdzm5D8Dpv

--HG--
extra : rebase_source : 7c6ed8d2e777c7fa07b0486147c48bd98cc477a5
2017-12-21 16:16:40 +11:00
Swapnil
fff4bd7c7c Bug 785931 - Removed probes GRADIENT_DURATION, GRADIENT_RETENTION_TIME. r=chutten 2017-12-13 23:08:56 +05:30
Csoregi Natalia
3ec05888ca Merge inbound to mozilla-central r=merge a=merge 2017-12-16 11:37:48 +02:00
Miko Mynttinen
03b4894819 Bug 1425271 - Improve temporary display item removal r=mattwoodrow
MozReview-Commit-ID: FBDuGice0DU

--HG--
extra : rebase_source : 3e932e2851d9f706e11c56156a5bc48a2df8b1c2
2017-12-15 16:33:03 -06:00
Andrew Osmond
990c86e27e Bug 1423424 - Don't use empty image containers in image layers. r=tnikkel
Prior to bug 1368776, when no surface was obtained for the container, no
container was returned. Since we prefer an empty image container with
WebRender to avoid fallback, this was changed, but regressed
non-WebRender behaviour. Now on the non-WebRender path, we check if
there is anything in the container before accepting it.
2017-12-15 16:20:22 -06:00
Margareta Eliza Balazs
defd7cd449 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-15 11:52:23 +02:00
Narcis Beleuzu
88be244907 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-15 03:47:38 +02:00
Narcis Beleuzu
b73dac9611 Merge autoland to mozilla-central. r=merge a=merge on a CLOSED TREE 2017-12-15 03:43:08 +02:00
Matt Woodrow
7418541eb3 Bug 1419609 - Always mark the root agr as async. r=jwatt 2017-12-14 17:39:49 -06:00
Matt Woodrow
5d4d20a5a6 Bug 1419021 - Part 2: Don't do a full display list build when there are no modified frames. r=miko 2017-12-14 17:38:21 -06:00
Kartikaya Gupta
1a9363bebe Bug 1424782 - Follow-up to remove overzealous assertion I added. r=me
With webrender and gfx.webrender.hit-test enabled, we create
nsDisplayCompositorHitTestInfo items which are subclasses of nsDisplayEventReceiver,
and we do so even for painting display lists. So this assertion trips even though
this is the desired behaviour. I'm taking the assertion out as it is not really
needed.

DONTBUILD because trivial assertion removal

MozReview-Commit-ID: Bs9PjtQSwqQ
2017-12-14 13:55:08 -05:00
Miko Mynttinen
ea3073f5e3 Bug 1425115 - Only add nsDisplayPerspective to mTransformFrame when retaining display list r=mattwoodrow
MozReview-Commit-ID: HKey0DG2r4c

--HG--
extra : rebase_source : 4e3087f2c12751ec129d558127556259b1b12f23
extra : source : 27e11cbb58f2549e3df59aea3f95306613ec6194
2017-12-13 14:38:24 -06:00
Narcis Beleuzu
eda8e08e68 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-15 03:46:15 +02:00
00626c42d9 Bug 1413104 - Drop telemetry probes for layer size; r=botond
MozReview-Commit-ID: FtpTJDC50A8

--HG--
extra : rebase_source : 2e1ba62ae1cb462546ce552efccdde2fe1380a00
2017-12-14 21:36:09 +00:00
Morris Tseng
f4496d23fc Bug 1419546 - Consider mLayer in nsDisplayTableBackgroundImage::GetPerFrameKey(). r=mattwoodrow
MozReview-Commit-ID: Bqk0U4REESW

--HG--
extra : rebase_source : 6519c6df50d282cbeff42b414ac13578347e8586
2017-12-13 10:44:17 -06:00
Gerald Squelart
0c3cf12488 Bug 1416991 - Fix perspective indexing in partial DL builds - r=mattwoodrow
Perspective item indices (used to produce unique per-frame keys) were generated
by incrementing a counter in the builder when building a perspective display
item. This caused problems with retained display lists, because an unmodified
perspective could be skipped during a partial build, causing other perspectives
to be incorrectly numbered and then incorrectly merged with the previous
retained display list.

To fix this, we need to always increment the counter if there is likely to be
a perspective, before that item may be skipped.

MozReview-Commit-ID: Edn7lUOLuPw

--HG--
extra : rebase_source : 5d10d4595576d17a2ac3fa6d6289fb98408c3654
2017-12-13 05:41:13 -06:00
Narcis Beleuzu
cb3d418959 Backed out changeset 6cb9414b5d77 (bug 1425115) for web platform reftests failures on CSS2/borders. r=backout on a CLOSED TREE 2017-12-14 23:21:40 +02:00
Miko Mynttinen
b427c98213 Bug 1425115 - Only add nsDisplayPerspective to mTransformFrame when retaining display list r=mattwoodrow
MozReview-Commit-ID: HKey0DG2r4c

--HG--
extra : rebase_source : 4e3087f2c12751ec129d558127556259b1b12f23
extra : source : 27e11cbb58f2549e3df59aea3f95306613ec6194
2017-12-13 14:38:24 -06:00
Csoregi Natalia
1134c27c23 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-14 00:15:40 +02:00
Csoregi Natalia
be90f4e875 Merge inbound to mozilla-central r=merge a=merge 2017-12-14 00:01:37 +02:00
Morris Tseng
49929d098e Bug 1415034 - Add drop-shadow support. r=kats
The long-chain.html failure is tracking by
https://github.com/servo/webrender/issues/2197

MozReview-Commit-ID: FECidSvTQrY
2017-12-13 12:57:01 -06:00
Sebastian Hengst
64b87f0c48 Backed out changeset fd2a2e17aef3 (bug 1415034) for build bustage at layout/painting/nsDisplayList.cpp:9992. r=backout 2017-12-13 19:48:08 +02:00
Morris Tseng
c9fab1d021 Bug 1415034 - Add drop-shadow support. r=kats
The long-chain.html failure is tracking by
https://github.com/servo/webrender/issues/2197

MozReview-Commit-ID: FECidSvTQrY
2017-12-13 10:53:33 -06:00
Miko Mynttinen
2fc0722497 Bug 1425078 - Remove nsDisplayList::AppendNewToTop and nsDisplayList::AppendNewToBottom r=mattwoodrow
MozReview-Commit-ID: E3neKT2sV4Q

--HG--
extra : rebase_source : 98b65e4c82f8a965df211e828bc68d46e7a6716e
2017-12-13 11:23:04 -06:00
Samathy Barratt
d8ba79a56b Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r+tnikkel r=tnikkel
Renamed to imgDrawResult

MozReview-Commit-ID: 5ESSgIhhU41

--HG--
rename : image/DrawResult.h => image/ImgDrawResult.h
extra : rebase_source : dbf645574aff7eefe65fa81809d6c07cb5800ec6
2017-12-11 15:37:59 +00:00
Kartikaya Gupta
6928f34ed2 Bug 1424782 - Ensure nsDisplayEventReceiver is only created when building the display list for hit-testing. r=mattwoodrow
MozReview-Commit-ID: 1c14siwpzYB

--HG--
extra : rebase_source : d7c651b967252a043f4e2296b5d9ece07e4e22cb
2017-12-12 08:29:46 -05:00
Csoregi Natalia
d8e10e6d2a Backed out changeset 1444a77d7e45 (bug 1419546) for build bustage. r=backout on a CLOSED TREE 2017-12-13 21:39:01 +02:00
Miko Mynttinen
d68ab7f0b1 Bug 1425074 - Do not add temporary display items to frames r=mattwoodrow
MozReview-Commit-ID: GEsIuWjVyAv

--HG--
extra : rebase_source : d599532b2279783512b3e191cf525c4dc36a4480
2017-12-13 10:59:18 -06:00
Morris Tseng
705a7e5949 Bug 1419546 - Consider mLayer in nsDisplayTableBackgroundImage::GetPerFrameKey(). r=mattwoodrow
MozReview-Commit-ID: Bqk0U4REESW

--HG--
extra : rebase_source : 6519c6df50d282cbeff42b414ac13578347e8586
2017-12-13 10:44:17 -06:00
Kartikaya Gupta
db4aa2e56a Bug 1424637 - Move the conversion from app units into the display item constructor. r=jrmuizel
MozReview-Commit-ID: Bj0u9mXDclh

--HG--
extra : rebase_source : 991ec51e9eecc62366eaaaeac7523439f22687f7
2017-12-11 13:21:01 -05:00
Ciure Andrei
b8d4330b53 Backed out changeset 8e33d0ce108c (bug 1351447) for failing /builds/worker/workspace/build/src/widget/cocoa/nsCocoaUtils on OS X r=backout a=backout on a CLOSED TREE
--HG--
rename : image/ImgDrawResult.h => image/DrawResult.h
2017-12-12 09:49:59 +02:00
Samathy Barratt
0749baf2d8 Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r=tnikkel
Renamed to imgDrawResult

MozReview-Commit-ID: 5ESSgIhhU41

--HG--
rename : image/DrawResult.h => image/ImgDrawResult.h
extra : rebase_source : 4fba109b84ef456126d50e0d5e525f29f944a46d
2017-12-11 15:37:59 +00:00
Sylvestre Ledru
5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru
9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Csoregi Natalia
cc9c96cfe3 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
MozReview-Commit-ID: 3aJiWXQpsFU

--HG--
extra : rebase_source : 2d07da0b40980836e6946a53c45739cc02cb60c3
2017-12-14 00:15:40 +02:00
Kevin Chen
0ef9411420 Bug 1414853 - Ensure LayerManager's backend type is LAYERS_WR in CanUseAdvancedLayer since BasicCompositor might be used for remote extension process; r=sotaro
MozReview-Commit-ID: KzAUXKWJf58

--HG--
extra : rebase_source : 155d8b910e63b0c3cb2eb524053f4d45878ebffa
2017-12-05 16:49:14 +08:00
Noemi Erli
47b9c00fdc Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-05 15:52:10 +02:00
Morris Tseng
370148757e Bug 1418177 - Add crashtest. r=mattwoodrow
MozReview-Commit-ID: EADOkkqo6Dj
2017-12-05 16:47:27 +08:00
Morris Tseng
04ac2e0d6f Bug 1418177 - Add nsDisplayTableBlendMode and nsDisplayTableBlendContainer. r=mattwoodrow
MozReview-Commit-ID: G4dwfweH8D3
2017-12-05 16:47:26 +08:00
Kartikaya Gupta
0edbe1a512 Bug 1422950 - Move the area calculation to the display item constructor to hit the ToReferenceFrame fastpath. r=mstange
MozReview-Commit-ID: 6ROpprO26JV

--HG--
extra : rebase_source : 93c024d56eb4c28ce2c5491a7b1038d335c92f1a
2017-12-04 15:47:29 -05:00
Ethan Lin
87408bd0b0 Bug 1422013 - Invalidate image items for webrender. r=mattwoodrow
MozReview-Commit-ID: 701MZhcrf4l

--HG--
extra : rebase_source : 8bed0e5f812570685cf04f5b371da885294513e0
2017-12-04 11:12:25 +08:00
Morris Tseng
95e86e857a Bug 1421930 - Add crashtest. r=mattwoodrow
MozReview-Commit-ID: BXTREZhY3fK

--HG--
extra : rebase_source : e2ec2186e9b1b39aa5c9b2fdd1bc871412ec35e5
2017-11-30 10:36:46 +08:00
Kartikaya Gupta
2cebdcb842 Bug 1389146 - Enable WR hit-testing when the pref is enabled. r=botond,mstange
This drops the code that compares the WR and Gecko hit-test results when
WR is enabled, because the "baseline" Gecko hit-test result is not
correct enough to provide a useful comparison. Instead flipping the pref
now just enables the WR hit-test code; we will rely on automated testing
to check for correctness.

MozReview-Commit-ID: 8IFtk0p2NvE

--HG--
extra : rebase_source : 6402a87f3345ca3b82220e42185c9f8776475cdd
2017-11-28 15:28:09 -05:00
Botond Ballo
f733efea1a Bug 1300864 - Disable paint skipping for scroll frames that contain out-of-flow content inside a CSS filter. r=mstange
MozReview-Commit-ID: 5TwC75wzOsm

--HG--
extra : rebase_source : 2c38372e452cf6b78b4906b42e4b9e93a1762d26
2017-11-27 16:45:29 -05:00
Botond Ballo
49dff2257e Bug 1300864 - Define AutoCurrentActiveScrolledRootSetter::SetCurrentActiveScrolledRoot() out of line. r=mstange
MozReview-Commit-ID: FdtGza5wS6f

--HG--
extra : rebase_source : b7731b809c5c52501959355539ed34c0057f8c87
2017-11-27 15:30:06 -05:00