Commit Graph

9153 Commits

Author SHA1 Message Date
Jeff Muizelaar
5fef9e7fdb Bug 1346585. Only call describe when we're actually going to do the logging r=kats
Element::Describe() was taking 238ms on
https://bevasarlas.tesco.hu/groceries/en-GB.
We definitely don't want to be doing it if we don't have to.
2017-03-15 17:54:56 -04:00
Wes Kocher
8f1654d5da Merge m-c to autoland, a=merge
MozReview-Commit-ID: FnlgTDNtM67
2017-03-14 17:24:12 -07:00
Bas Schouten
f500c10597 Bug 1345814: Don't use mutices when the decoding device is the compositor device anyway. r=mattwoodrow
MozReview-Commit-ID: GOwyVKFSkRa
2017-03-13 12:29:22 +00:00
Kartikaya Gupta
0525357947 Bug 1343977 - Ensure that synthetic mouseclicks generated from touch gestures don't reopen rollups. r=botond,enndeakin+6102
Synthetic mouseevents generated from touch gestures are dispatched asynchronously
from the touch events. This means that the nsAutoRollup that the widget puts on
the stack during the dispatching of the touch events is no longer in scope when
we get around to firing the mouse events. As a result, the mouse events can end
up reopening rollups that got closed by the touch events and that shouldn't be
reopened. We fix this by stashing the rollup that was in scope while the touch
events were being dispatched, and make sure we keep that in scope for the
synthetic mouse events.

MozReview-Commit-ID: HjteKHfAqvD

--HG--
extra : rebase_source : 46217b1ba610ef193963ccab454a6f584af61a2b
2017-03-13 10:44:59 -04:00
Kartikaya Gupta
916f12ed8f Merge m-c to graphics
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
sotaro
90e35e2b18 Bug 1345712 - Fix rebasing failure part 2 r=jrmuizel 2017-03-13 23:55:39 +09:00
sotaro
a7e80b153d Bug 1345712 - Fix rebasing failure r=jrmuizel 2017-03-13 15:46:05 +09:00
Morris Tseng
11f13fedeb Bug 1341156 - Modify webrender_ffi and add OpDPPushBorderImage. r=kats r=ethlin
MozReview-Commit-ID: Ct63gy6nk3q
2017-03-13 11:46:03 +08:00
Kartikaya Gupta
0ea7443517 Merge m-c to graphics
MozReview-Commit-ID: 3GcCKcscfkz
2017-03-10 09:58:01 -05:00
Ethan Lin
4aef499dc0 Bug 1341565 - Use external image to handle mask layer. r=jrmuizel 2017-03-10 17:51:47 +08:00
sotaro
68f1724050 Bug 1345712 - Add ScaleMode handling to WebRenderImageLaye r=jrmuizel 2017-03-10 17:48:22 +09:00
sotaro
7277c12244 Backout Bug 1345712 2017-03-10 15:56:26 +09:00
sotaro
61dd0b4f9c Bug 1345712 - Add ScaleMode handling to WebRenderImageLayer r=jrmuizel 2017-03-10 14:14:43 +09:00
Ryan Hunt
4b5a38195a Bug 1345975 - Rename WrLayoutSize to WrSize r=kats
MozReview-Commit-ID: JY9YyoypFym

--HG--
extra : rebase_source : c98514af0e2ed1deb5a7a7c9dc74dd77bb536d3e
extra : histedit_source : 748ca189b70aece54cabd179877ec3852042e355
2017-03-09 16:58:33 -05:00
Ryan Hunt
d6f7d08e28 Bug 1345975 - Clean up WebRenderLayer code r=kats
MozReview-Commit-ID: DWlAaJwuxlD

--HG--
extra : rebase_source : 3e8e49f1afb301063d8ab84f34181adf19a540d5
extra : histedit_source : ff74cc203ab0c5ac1289fe85403d78a60f404b2b
2017-03-09 12:35:33 -05:00
sotaro
202715bd8b Bug 1345749 - Apply RelativeToVisible r=jrmuizel 2017-03-10 07:49:53 +09:00
Ryan Hunt
4450cd3bae Bug 1345907 - Use clip region instead of clip rect r=kats
--HG--
extra : rebase_source : 23506430d8aa7b2097de208a3415d8597a1e13cd
2017-03-09 11:57:06 -05:00
Kartikaya Gupta
8f54e2114e Merge m-c to graphics
MozReview-Commit-ID: QN682uyISF
2017-03-09 10:42:57 -05:00
Samael Wang
dbb9457981 Bug 1283947 - Clear pending transactions when ClientLayerManager is assigning to a different refresh driver. r=mattwoodrow 2017-03-09 18:35:50 +08:00
sotaro
6a06e56c91 Bug 1345344 - Pass stride for ExternalImageBuffer r=nical 2017-03-09 11:10:09 +09:00
Mason Chang
8704f07a03 Bug 1345523 - Clean up duplicated WebRenderLayer code. r=kats 2017-03-08 10:32:53 -08:00
Mason Chang
2289ed06ba Bug 1343979 - Add webrender support for ButtonBorderBackground. r=ethlin 2017-03-08 08:31:46 -08:00
Kartikaya Gupta
b17625cf2c Bug 1339433 - Fix an inconsistent name (capitalize R in WebRender). r=jrmuizel
MozReview-Commit-ID: FdPDm28VTXl
2017-03-08 10:14:49 -05:00
Kartikaya Gupta
a45bb3a916 Merge m-c to graphics
MozReview-Commit-ID: AzRIytAgP96
2017-03-08 10:08:57 -05:00
Jeff Muizelaar
f55b504a1b Bug 1345140. Remove unused WebRenderCommand infrastructure. r=kats 2017-03-07 15:50:55 -05:00
Kartikaya Gupta
90db7c5460 Merge m-c to graphics
MozReview-Commit-ID: DbHqbxaKedC
2017-03-07 10:30:42 -05:00
Carsten "Tomcat" Book
087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
sotaro
1d710a54ef Bug 1343764 - Add ExternalBuffer handling r=nical 2017-03-07 19:37:28 +09:00
Jeff Muizelaar
900393a0dc Bug 1344396. Build the display lists directly. r=kats
This is a largely uninteresting patch that just uses the DisplayListBuilder
directly. A wonderful cleanup patch will come after this. One of the more
interesting pieces is the use of PushBuiltDisplayList. This is needed for
handling empty transactions. See https://github.com/servo/webrender/pull/934
for more info.
2017-03-06 23:16:30 -05:00
Jeff Muizelaar
724ef940ac Bug 1343019 - Call set_window_parameters as appropriate. r=kats
MozReview-Commit-ID: 14f4vetRM98
2017-03-06 17:41:51 -05:00
Kartikaya Gupta
cc2056e901 Bug 1343019 - Update webrender to cset 178a65d098afcda7de0298d80d423bc80c6426ba. r=jrmuizel
In addition to updating webrender and the third-party deps, this includes:
- Marking some more reftests as passing with the new version of webrender.
- Updating webrender bindings code to go with changes to push_stacking_context.
- Passing the window dimensions to the Renderer::new function.

MozReview-Commit-ID: 6dRHvAmIQ40

--HG--
rename : third_party/rust/servo-dwrote/.gitignore => third_party/rust/dwrote/.gitignore
rename : third_party/rust/servo-dwrote/README.md => third_party/rust/dwrote/README.md
rename : third_party/rust/servo-dwrote/src/bitmap_render_target.rs => third_party/rust/dwrote/src/bitmap_render_target.rs
rename : third_party/rust/servo-dwrote/src/com_helpers.rs => third_party/rust/dwrote/src/com_helpers.rs
rename : third_party/rust/servo-dwrote/src/comptr.rs => third_party/rust/dwrote/src/comptr.rs
rename : third_party/rust/servo-dwrote/src/font.rs => third_party/rust/dwrote/src/font.rs
rename : third_party/rust/servo-dwrote/src/font_collection.rs => third_party/rust/dwrote/src/font_collection.rs
rename : third_party/rust/servo-dwrote/src/font_face.rs => third_party/rust/dwrote/src/font_face.rs
rename : third_party/rust/servo-dwrote/src/font_family.rs => third_party/rust/dwrote/src/font_family.rs
rename : third_party/rust/servo-dwrote/src/font_file.rs => third_party/rust/dwrote/src/font_file.rs
rename : third_party/rust/servo-dwrote/src/font_file_loader_impl.rs => third_party/rust/dwrote/src/font_file_loader_impl.rs
rename : third_party/rust/servo-dwrote/src/gdi_interop.rs => third_party/rust/dwrote/src/gdi_interop.rs
rename : third_party/rust/servo-dwrote/src/glyph_run_analysis.rs => third_party/rust/dwrote/src/glyph_run_analysis.rs
rename : third_party/rust/servo-dwrote/src/helpers.rs => third_party/rust/dwrote/src/helpers.rs
rename : third_party/rust/servo-dwrote/src/rendering_params.rs => third_party/rust/dwrote/src/rendering_params.rs
rename : third_party/rust/servo-dwrote/src/test.rs => third_party/rust/dwrote/src/test.rs
rename : third_party/rust/servo-dwrote/src/types.rs => third_party/rust/dwrote/src/types.rs
2017-03-06 18:46:30 -05:00
Kartikaya Gupta
d1c0646e94 Merge m-c to graphics
MozReview-Commit-ID: 61tTUPMawYc
2017-03-06 09:45:02 -05:00
sotaro
99e7d5243f Bug 1342833 - WebRenderBridgeParent::ClearResources() does not clear DisplayList r=jrmuizel 2017-03-06 10:42:17 +09:00
Kartikaya Gupta
48fb1c4b1e Merge m-c to graphics
MozReview-Commit-ID: GK8bGynKhO5

--HG--
rename : browser/components/extensions/ext-theme.js => toolkit/components/extensions/ext-theme.js
rename : browser/components/extensions/schemas/theme.json => toolkit/components/extensions/schemas/theme.json
rename : browser/components/extensions/test/browser/browser_ext_themes_chromeparity.js => toolkit/components/extensions/test/browser/browser_ext_themes_chromeparity.js
rename : browser/components/extensions/test/browser/browser_ext_themes_dynamic_updates.js => toolkit/components/extensions/test/browser/browser_ext_themes_dynamic_updates.js
rename : browser/components/extensions/test/browser/browser_ext_themes_lwtsupport.js => toolkit/components/extensions/test/browser/browser_ext_themes_lwtsupport.js
2017-03-03 08:28:21 -05:00
Jeff Muizelaar
033a5b26a9 Bug 1343770. Separate out Parent commands from Child commands. r=kats
This basically just splits the enum in two and does the necessary plumbing. The
worst part is that now DisplayItemLayers need to have two arrays of commands.
Fortunately, this will be going away in the future.

This makes it so we don't send the child side commands to the parent.
2017-03-02 16:33:25 -05:00
Kartikaya Gupta
036b81ce75 Merge m-c to graphics
MozReview-Commit-ID: 2ILLtbCmQL3
2017-03-02 10:27:31 -05:00
Jeff Muizelaar
6baef7cadb Bug 1341064. Send child side built display lists over gecko ipc to compositor. 2017-03-01 20:37:59 -05:00
Kartikaya Gupta
31557b53e5 Merge m-c to graphics
MozReview-Commit-ID: 6TMc1hGNQVA
2017-03-01 09:45:49 -05:00
Jeff Muizelaar
f854a142b9 Bug 1342558. Change SetRootDisplayList to consume built display lists. r=nical 2017-03-01 09:10:53 -05:00
Carsten "Tomcat" Book
3b3f4c17a2 merge mozilla-inbound to mozilla-central a=merge 2017-03-01 11:40:59 +01:00
Ethan Lin
8b7fb662c7 Bug 1342356 - Remove validBufferRegion from OpAddExternalImage. r=sotaro 2017-03-01 14:11:13 +08:00
Kartikaya Gupta
0839dfda73 Merge m-c to graphics
MozReview-Commit-ID: CAFMHywf3lQ
2017-02-28 09:16:03 -05:00
Matt Woodrow
ef5a44cc58 Bug 1340117 - Batch ReadLock intializer into a separate IDPL message to avoid hitting the file descriptor limit. r=dvander 2017-02-27 16:12:12 +13:00
Boris Chiou
aa57157303 Bug 1248340 - Part 3: Implement Frames for OMTA. r=birtles
MozReview-Commit-ID: k3Wvl4ofe7

--HG--
extra : rebase_source : edbf827ffe102a5353c41078bd2b14c8b56eb23e
2017-02-26 15:34:02 +08:00
Kartikaya Gupta
acef3b8740 Merge m-c to graphics
MozReview-Commit-ID: 1TtDrgYT5Sb
2017-02-27 10:39:39 -05:00
sotaro
712d4c80f9 Bug 1342754 - Make WebRenderBridgeChild::mIdNamespace unique r=jrmuizel 2017-02-27 12:16:11 +09:00
sotaro
d489fa0451 Bug 1342380 - Enable VsyncScheduler again r=kats 2017-02-27 09:27:04 +09:00
Kartikaya Gupta
1f11438613 Merge m-c to graphics
MozReview-Commit-ID: D9NUw9xhxzv
2017-02-24 09:11:52 -05:00
Carsten "Tomcat" Book
7256146318 merge mozilla-inbound to mozilla-central a=merge 2017-02-24 11:46:38 +01:00
sotaro
0d90fdd46a Bug 1341524 - Fix NotifyDidComposite() and WebRender epoch r=nical 2017-02-24 12:22:59 +09:00