Граф коммитов

523 Коммитов

Автор SHA1 Сообщение Дата
Ethan Lin 413b71eafc Bug 1382985 - Support image animation for layers-free mode. r=kats
We should do SchedulePaint in nsImageFrame for layers-free mode and set
invalid flag to make sure the image will be repainted.

MozReview-Commit-ID: 2lXElZ151Qa

--HG--
extra : rebase_source : 56045f66f3b36afe8a6327b841d80073f1d038cb
2017-07-24 14:43:55 +08:00
Kartikaya Gupta 1220276afe Bug 1384181 - Add utility dump functions for debugging. r=jrmuizel
MozReview-Commit-ID: 5YJLGhnMkwG

--HG--
extra : rebase_source : b705d1db828b14d5829ee88aa3b0cebfef0e0b6f
2017-07-26 14:47:49 -04:00
Kartikaya Gupta 5da102e5d4 Bug 1384181 - Build WebRenderLayerScrollData instances for remote layer trees. r=jrmuizel
This adds handling for nsDisplayRemote frames, so that we create a
WebRenderLayerScrollData item for each nsDisplayRemote frame that we
encounter. This is the equivalent of a "ref layer" in a normal layer
tree, and allows the APZ side to glue together the scroll data from
different processes into a full tree.

MozReview-Commit-ID: 3lgsqtCKQya

--HG--
extra : rebase_source : eb93be1ef415349e00c09d7274d49fcf7992d197
2017-07-26 14:47:48 -04:00
Kartikaya Gupta 7a6592bf98 Bug 1384181 - Ensure that the WebRenderScrollData has a single root layer node. r=jrmuizel
The semantics of the WebRenderScrollData structure is that the per-layer
structures form a tree with a single root node. When we build the data
structure from the display list, we are generating (for now) a flat
list. Therefore we need to synthesize a root node in order to make stuff
work as intended.

MozReview-Commit-ID: IDXyziBO7pk

--HG--
extra : rebase_source : 99486a4c5b5e9938c4b7bbaa3f710d25e73d4401
2017-07-26 14:47:48 -04:00
Kartikaya Gupta 1766bdd4ab Bug 1384181 - Reorganize the WebRenderScrollData code to work with layers-free transactions. r=jrmuizel
Until now WebRenderScrollData was only used with "layers" WR
transactions, but we want to use it with layers-free transactions as
well. As such, we need to allow collecting information from display items
instead of layers. This restructures the code a little bit to allow
that. This patch should not have any functional effect on the "layers"
codepath, but on the "layers-free" codepath it is now actually
populating some rudimentary data into the WebRenderScrollData before
sending it across. This will be fleshed out in future patches.

MozReview-Commit-ID: BROqpsHPRND

--HG--
extra : rebase_source : 8510c52895e6be5cb546b42b02d56ec067de0623
2017-07-26 14:47:48 -04:00
sotaro 02d4ae4add Bug 1382948 - Fix WebRenderBridgeParent::FlushTransactionIdsForEpoch() r=nical 2017-07-24 21:20:22 +09:00
sotaro 042b1fc3ec Bug 1382132 - Improving throttling GenerateFrame() r=nical 2017-07-24 09:22:20 +09:00
Wes Kocher d45eb771f0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Wes Kocher 051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan VanderMeulen f4e3a91992 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
Sebastian Hengst 367f0ac5a2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IWRTFZdtzaE
2017-07-21 12:56:44 +02:00
Sylvestre Ledru 7c0ae251cd Bug 1381253 - Remove redundant control flow declarations rs=ehsan
MozReview-Commit-ID: FFxP4aMCbOL

--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
peter chang 84df6e8c7e Bug 1363830 - use previous frame time when advancing animations, r=kats
MozReview-Commit-ID: CqKOguZXnF9

--HG--
extra : rebase_source : b1ba85d20978fe5e7853a07065df7e3626c4a482
2017-06-29 13:44:00 -07:00
Ethan Lin dd722c7c28 Bug 1382314 - Fix invalidation problem for layers-free mode. r=jrmuizel
MozReview-Commit-ID: 8z03n7zmvOz
2017-07-21 14:21:47 +08:00
Ethan Lin 7aa3422a0a Bug 1378602 - Part3. Add OMTA support for nsDisplayTransform and nsDisplayOpacity. r=kats
MozReview-Commit-ID: CP4WEZgy83a
2017-07-21 14:21:47 +08:00
Ethan Lin a48f3ac6fe Bug 1378602 - Part2. Move animation data from layer to AnimationInfo. r=kats
MozReview-Commit-ID: 4gv8EfPgsii
2017-07-21 14:21:47 +08:00
Nicolas Silva 0628887ea0 Bug 1378113 - Avoid LayerManager reentrency issues when propagating composite notifications. r=dvander 2017-07-19 10:18:25 +02:00
Kartikaya Gupta c4a54bfe61 Bug 1382682 - Collect scroll metadata for scrollinfo layers as well. r=mstange
MozReview-Commit-ID: JdHExWIpet9

--HG--
extra : rebase_source : d435088cdbc8659e44daeef932f1713ba078b5dc
2017-07-21 08:34:11 -04:00
Kartikaya Gupta e5b6c40781 Bug 1382682 - Collect scroll metadata from the display list in layers-free webrender. r=mstange
MozReview-Commit-ID: 9uiwmjpJH3T

--HG--
extra : rebase_source : 5f6446a78b2f949dfdefcaddc78012efa6241f5b
2017-07-21 08:33:24 -04:00
Ryan VanderMeulen d229288071 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 2ab51304cc7df444f22c3aac001a1aba61faee3a
2017-07-21 09:42:41 -04:00
Kartikaya Gupta d9edfa153c Bug 1382744 - Make sure we process nested display items for layers-free webrender mode. r=ethlin
MozReview-Commit-ID: mTox2irS1w

--HG--
extra : rebase_source : 97cb2163aaf4a9f6df62688724df2ee051f55880
2017-07-20 14:14:25 -04:00
sotaro 200cae20a8 Bug 1382091 - Delete ImageKeys with ClearCachedResources r=nical 2017-07-20 10:30:31 +09:00
Wes Kocher b5bcc4905e Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Ryan Hunt 522bc76415 Bug 1382128 part 8 - Remove Wr prefix from some type aliases. r=kats
MozReview-Commit-ID: 5h7QobhcYc1

--HG--
extra : rebase_source : 34d6636b6c3726ccc21b105f05227e27f84e63c9
2017-07-19 03:28:58 -04:00
Ryan Hunt f082c1791e Bug 1382128 part 4 - Remove WrGlyphInstance. r=kats
MozReview-Commit-ID: 2CpW51FKUoK

--HG--
extra : rebase_source : d24e596dbd1a114d660e0b0ec1657f3efc11965d
2017-07-18 18:53:09 -04:00
Ryan Hunt 017d292cac Bug 1382128 part 2 - Remove WrPoint, WrSize, WrRect, WrMatrix, and WrColor. r=kats
MozReview-Commit-ID: 9koNScu4CyE

--HG--
extra : rebase_source : 68185e949ddf2ae346a5d597d056a7f2d9ea7a28
2017-07-18 18:32:46 -04:00
Kartikaya Gupta 78a69a5578 Bug 1382200 - Eliminate LayerMetricsWrapper::IsScrollInfoLayer entirely by inlining it. r=botond
MozReview-Commit-ID: KX35cjOAQw7

--HG--
extra : rebase_source : 2e451ce0250ec17fc7f1a642e5a8a341c073105d
2017-07-19 09:24:28 -04:00
Kartikaya Gupta 4dfe8eadc0 Bug 1382200 - Change implementation of the LayerMetricsWrapper IsScrollInfoLayer to use the metrics flag. r=botond
This also updates the WebRenderScrollDataWrapper function as it is meant
to be semantically equivalent to the LayerMetricsWrapper one, which
allows removal of a flag propagation.

MozReview-Commit-ID: 9DBx4qbhq5A

--HG--
extra : rebase_source : 3201d8a4bb7192ecdbe95983b605ac53b1a28c50
2017-07-19 09:24:24 -04:00
Ryan Hunt 3f3cb0a954 Bug 1382128 part 1 - Use a namespace in webrender_bindings. r=kats
MozReview-Commit-ID: 3JTMa9Ix5S7

--HG--
extra : rebase_source : 0bea14d9e395cab260d2db5135b1f64e9f82b2e2
2017-06-27 19:20:36 -04:00
sotaro 7ceccd46b7 Bug 1378697 - Release resources in WebRenderXXXLayer::ClearCachedResources() r=nical 2017-07-18 22:37:36 +09:00
Andrew Osmond 094c212d54 Bug 1350408 - Gracefully handle failures in WebRenderLayerManager::Initialize to allow reinit. r=kats 2017-07-18 09:35:07 -04:00
Sebastian Hengst 0c7a679780 Backed out changeset e4dc716c401c (bug 1377595) on suspicion of causing reftest failures on Android "(waiting for MozAfterPaint)". r=backout 2017-07-17 17:48:13 +02:00
Nicolas Silva f6e8232b40 Bug 1377595 - Track the valid region in WebRenderPaintedLayer. r=jrmuizel 2017-07-17 13:49:11 +02:00
Nicolas Silva c81891b82b Bug 1377595 - Avoid using blob images for items that must be painted on the content side. r=jnicol
This patch allows us to decide whether to use blob images depending on a MustPaintOnContentSide flag exposed by each display item. If any of the display item assigned to a given painted layer data have this flag, then the painted layer data is marked as preferring content side painting and the webrender layer manager uses this information to decide whether to create a regular content layer or serialize the drawing commands with blob image. This is useful for items that must be painted on the content side such as scroll bars, checkboxes, buttons, etc. Using blob images for these makes us first paint the widget on the content side, then serialize the painted pixels and blit the content again in the blob image which has a lot more overhead than painting the content into a layer and sharing it with webrender directly.
2017-07-17 13:49:07 +02:00
vincentliu 2bf7875f86 Bug 1367689 - Add a preference to make Wrench work with Gecko. r=jrmuize, jerry 2017-07-17 13:38:22 +08:00
Kartikaya Gupta 6d0c0db395 Bug 1378966 - Don't cause immediate throttling of the refresh driver on repeat transactions. r=mattwoodrow
MozReview-Commit-ID: 8orAmdpIRTF

--HG--
extra : rebase_source : 2988a9faced2648cd182ebe8adff791634af519f
2017-07-12 09:10:25 -04:00
Ethan Lin a11b08a3ac Bug 1377571 - Add fallback path for layers-free. r=jrmuizel
MozReview-Commit-ID: KOM7JXYljX2

--HG--
extra : rebase_source : 94a8c314ac311a05256a27bd61648815b0e42734
2017-07-06 00:29:41 +08:00
Wes Kocher 868f84f2d8 Merge m-c to inbound, a=merge 2017-07-10 18:48:52 -07:00
Kartikaya Gupta 7fe2c84b1e Bug 1374730 - Update for clip API change in WR cset 0bf6655. r=mrobinson
MozReview-Commit-ID: dEe7yDDZPk

--HG--
extra : rebase_source : 09a1f858a347bdc95baa8015db9fa156b119334a
2017-07-10 07:22:39 -04:00
sotaro 02fd7d664d Bug 1379055 - Remove unused member of WebRenderPaintedLayerBlob r=jrmuizel 2017-07-10 09:21:22 +09:00
sotaro f76bc78842 Bug 1377687 - Clear cached resources in WebRenderBridgeParent::RecvClearCachedResources() r=nical 2017-07-11 09:13:15 +09:00
Carsten "Tomcat" Book b72c4833d5 merge mozilla-inbound to mozilla-central a=merge 2017-07-05 13:01:22 +02:00
Morris Tseng 03f68881d2 Bug 1376855 - Removed unused variables and interfaces. r=kats
MozReview-Commit-ID: 5rPI7jNI94K

--HG--
extra : rebase_source : 20ffeb6e064de9ccf19729aa6045ffa595c51429
2017-06-28 13:42:24 -07:00
Morris Tseng b01c8dcc1a Bug 1376855 - Support nsDisplayBullet in layers free mode. r=kats
MozReview-Commit-ID: 8fCufpOLejH

--HG--
extra : rebase_source : a2a4024b8282336d60f7e9c416e93513860866d7
2017-06-28 13:39:34 -07:00
Morris Tseng 77424afaa9 Bug 1376855 - Introduce WebRenderUserData and WebRenderImageData. r=kats
Layers are retained between transaction and we store some data in the layers.
Thus, if we no longer use layers, we need find another storage to place
those data. I use frame's property to retain WebRenderUserData between
transaction.

MozReview-Commit-ID: Ku5VGBXa3w6

--HG--
extra : rebase_source : 636653f78d1d6c310726a1a2c944141dc691decc
2017-06-28 15:03:27 -07:00
Mats Palmgren f79b080654 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
Ethan Lin 82a7c2b5e4 Bug 1372118 - Part3. Implement CreateWebRenderCommands for text, transform and background color. r=jrmuizel, r=kats
MozReview-Commit-ID: JRoSjygSFHc
2017-06-30 17:23:20 -07:00
Ethan Lin 17960f3f3e Bug 1372118 - Part2. Use new interface of CreateWebRenderCommands for non-image display items. r=jrmuizel, r=kats
MozReview-Commit-ID: BcmRjQhDEyf
2017-06-30 17:23:20 -07:00
Ethan Lin de600bafd7 Bug 1372118 - Part1. Have a path to create WebRender commands without layers. r=jrmuizel, r=kats, r=mattwoodrow
MozReview-Commit-ID: 7iOW9rEtwur
2017-06-30 17:23:20 -07:00
sotaro 5145e40a3c Bug 1335335 - Manually call DidComposite() when transaction was dropped because of obsoleted command r=nical
The patch fixes a problem on windows. Before the patch, there was a case that moved tab was not re-rendered. When WebRenderBridgeParent reveived obsolted transaction, DidComposite() was not returned to a client side. It stopped nsRefreshDriver to trigger a next transaction.
2017-06-29 18:06:31 -07:00