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

25387 Коммитов

Автор SHA1 Сообщение Дата
Mason Chang f47b17cdff Bug 1347727. Detect box shadow outer cases that WR doesn't support and don't enable a layer for it in WR. r=rhunt 2017-03-17 15:06:57 -07:00
Kartikaya Gupta 99947c2a87 Merge m-c to graphics
MozReview-Commit-ID: 3MU0IxcKSwo
2017-03-17 15:37:52 -04:00
Kartikaya Gupta 0485af4853 Merge m-c to graphics
MozReview-Commit-ID: 5m04vXUTlsy
2017-03-17 11:03:02 -04:00
Carsten "Tomcat" Book 3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Jeremy Chen 9a60f77d80 Bug 1343516 - clean up the mess of PropertyProvider and its implementations. r=jfkthame
The cleanup work includes:

part 1: make all methods 'const' for the abstract class of PropertyProvider.

part 2: make nsFontMetrics's StubPropertyProvider final.

part 3: make nsTextFrame's PropertyProvider final.

  Make some methods 'const' and some variables 'mutable', so we could let all the
  overridden methods stay const.

  We also need to make the pass-in parameter of gfxFontGroup's GetHyphenWidth const.
  Note that the comment of GetHyphenWidth seem outdated, so I fixed it as well.

part 4: make the member variables in nsTextFrame's PropertyProvider to be 'const'.

  Make all the member variables 'const' except mStart, mLength,
  mJustificationArrayStart, and mJustificationSpacings.

  The static function AdvanceToNextTab is fixed since we only use 2 of the 4 parameters.

part 5: coding style fix for nsTextFrame's PropertyProvider.

MozReview-Commit-ID: 1kbWPwx27aQ
2017-03-17 18:53:15 +08:00
Miko Mynttinen 6e4add711b Bug 1346777 - Transform layer geometry properly when intermediate surface is used r=mattwoodrow
MozReview-Commit-ID: H3YmadD8sFz

--HG--
extra : rebase_source : 8bd9f9b58d8e50fd925299fec6fc464ee50886c0
2017-03-16 21:51:54 +01:00
Kartikaya Gupta 5041aa0404 Merge m-c to graphics
MozReview-Commit-ID: 6JFx7MHUHgW
2017-03-15 08:55:17 -04:00
sotaro 8f6c141289 Bug 1347443 - Fix IsAccelAngleSupported() for RenderThread r=nical 2017-03-15 21:14:17 +09:00
Carsten "Tomcat" Book f807b332df merge mozilla-inbound to mozilla-central a=merge 2017-03-15 13:12:42 +01:00
sotaro a6bf6f2a63 Bug 1347050 - Remove unused workarond from ProcessWebRenderCommands r=nical 2017-03-15 16:28:13 +09:00
Carsten "Tomcat" Book c3b7907400 Backed out changeset a6780188f669 (bug 1314543) for suspicion this cause perma windows 7 xpcshell failures 2017-03-17 10:57:41 +01:00
Martin Robinson 0b2914c22c Bug 1347155 - WebRender clips should not share ServoScrollRootIds. r=jrmuizel
MozReview-Commit-ID: JVqe0IWqpJs
2017-03-14 15:26:10 +01:00
Kartikaya Gupta 2f22c78913 Merge m-c to graphics
MozReview-Commit-ID: 10errEhAlqw
2017-03-14 11:42:39 -04:00
Kartikaya Gupta 8904708de7 Bug 1346915 - Update webrender to 7da345684dc29ca60f29cb79acc8d99c474ec477. r=me
This picks up a fix for a bug introduced in a previous update.

MozReview-Commit-ID: JAPml5JTVJi
2017-03-14 08:37:54 -04:00
Mats Palmgren 2feec4025d Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
* * *
[mq]: sssssssss

MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 22:11:23 -07:00
Mats Palmgren eeffa0c3eb Bug 1333482 part 1 - [css-ui] Introduce the 'appearance: auto | none' property. r=dholbert
MozReview-Commit-ID: 3itCDTKuYQ9
2017-03-23 22:11:17 -07:00
Kartikaya Gupta b6566b9f0c Bug 1349949 - Turn some advanced layers prefs into override prefs. r=mchang
This allows us to remove the #ifdef MOZ_ENABLE_WEBRENDER for the advanced layers
prefs from all.js. As additional advanced layers are turned on for webrender (or
non-webrender) they can be converted into override prefs without affecting the
call sites.

MozReview-Commit-ID: F9tMc23ow8A

--HG--
extra : rebase_source : 2244cb000711496ce5b7f1b50ef0314e1c312d94
2017-03-23 16:29:54 -04:00
Kartikaya Gupta 7a77ecd448 Bug 1349949 - Add the notion of an "override pref" to gfxPrefs.h. r=mchang
An override pref is one that is stored as a tri-state int32_t pref in the gecko
preferences system (with values 0, 1, or 2), but is exposed as a bool via the
gfxPrefs API. The int32_t value defaults to 2, which means that gfxPrefs will
take the value from somewhere else (which can be customized per-pref). If the
int32_t value stores 0 or 1, those correspond to force-disabled and force-enabled
respectively, and the gfxPrefs API will return false or true.

This allows the default value of a pref to be conditional upon other features
(e.g. webrender being enabled or not), but still allows the user or code to
override it into the enabled or disabled state.

MozReview-Commit-ID: KaihVyHrw2q

--HG--
extra : rebase_source : 053adc51a982f48e56035f453801d5987884a052
2017-03-23 16:29:52 -04:00
sotaro 489d43d47c Bug 1348936 - Fix BasicPlanarYCbCrImage::CopyData() r=nical 2017-04-05 11:45:13 +09:00
Eric Rahm 89708e6a2a Bug 1353143 - Part 5: Replace direct usage of PR_LogPrint. r=froydnj
This replaces the usage of |PR_LogPrint| with either |printf_stderr| or
|MOZ_LOG| where appropriate. |printf_stderr| is used where a logger is not
actually available or if log levels are not being used as expected.
2017-04-04 14:36:21 -07:00
Brendan Dahl a1f2e12af8 Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted
Supports creating a windowless browser on Linux without an X server. Most of the
changes are just adding branches to avoid calls in to GTK which calls
into X. Some of the bigger additions were adding a separate headless widget
which implements just enough to render a page. A headless look and
feel were also added since there are many calls into GTK in the platform
specific one.
2017-04-04 10:22:00 -04:00
cku e2d44c26bf Bug 1345853 - Part 1. Pass DrawResult from nsSVGPatternFrame::PaintPattern back to nsDisplaySVGGeometry::Paint. r=mstange,tnikkel
I did many change in many files in this patch. But the goal is pretty simple: To
pass the return value of nsSVGPatternFrame::PaintPattern back to the caller
(nsDisplaySVGGeometry). My suggestion is to review this patch right from
nsSVGPatternFrame.cpp.

I made two mistakes in bug 1258510
1. We should not return directly at [1]. RemoveStateBits at l418 will be skip.
2. nsSVGPatternFrame::PaintPattern should return both SourceSurface and draw
result, so that we can update UpdateDrawResult in display item.

All the other changes are to
1. make sure the return value of nsSVGPatternFrame::PaintPattern goes back to
nsDisplaySVGGeometry::Paint correctly.
2. Since the return value of nsSVGPatternFrame::PaintPattern change, we need
modify all existed callers.

I also filed bug 1346124 for handle the returning value of PaintMarkers.

[1] https://hg.mozilla.org/mozilla-central/file/c0700bedb4f7/layout/svg/nsSVGPatternFrame.cpp#l415

MozReview-Commit-ID: Iq9RPQ6Omz0

--HG--
extra : rebase_source : bc338b1a33f1dbf209706577b2455315dfb855e2
2017-03-16 12:17:19 +08:00
Mason Chang 516a3654f4 Bug 1346451 - Delete WebRenderBorderLayer. r=ethlin 2017-03-11 10:04:26 -08:00
Kartikaya Gupta 916f12ed8f Merge m-c to graphics
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
Kartikaya Gupta ca0d33d72c Bug 1344947 - Update webrender to e30fb2914928c0e596d8632ed234647c0fd1492e. r=jrmuizel
This also updates calls to push_scroll_layer in webrender_bindings to go with
a change in the API.
2017-03-13 13:03:06 -04:00
sotaro 90e35e2b18 Bug 1345712 - Fix rebasing failure part 2 r=jrmuizel 2017-03-13 23:55:39 +09:00
Carsten "Tomcat" Book c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01: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
vincentliu 115a96aa36 Bug 1314543 - Make EnsureGPUReady() returns bool to make sure GPU process is readay. r=dvander 2017-03-17 09:49:13 +08:00
Kartikaya Gupta 0ea7443517 Merge m-c to graphics
MozReview-Commit-ID: 3GcCKcscfkz
2017-03-10 09:58:01 -05:00
Carsten "Tomcat" Book 2aa23b0487 Backed out changeset 5a0c4791eef5 (bug 1291483) for causing start up crashes like bug 1346215 2017-03-10 15:47:53 +01:00
Carsten "Tomcat" Book cc77b844e8 Backed out changeset c8bfaf1927b6 (bug 1291483) 2017-03-10 15:47:28 +01:00
Carsten "Tomcat" Book 1a363b7fe3 merge mozilla-inbound to mozilla-central a=merge 2017-03-10 11:38:18 +01: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
Ehsan Akhgari dcb0bf572d Bug 1345497 - Remove the unused PVRManager::GetControllers sync IPC; r=kip,billm 2017-03-09 23:26:47 -05:00
Jeff Gilbert 19d2cbc4c8 Bug 1339256 - Don't assert on unrecognized context reset strategy - r=daoshengmu
MozReview-Commit-ID: CITo6W0FLQS
2017-03-09 18:57:49 -08:00
Jeff Gilbert 5ef33e1ddb Bug 1339256 - Only request robustness if requested on EGL - r=daoshengmu
MozReview-Commit-ID: GlMpalFwS2U
2017-03-09 18:57:47 -08:00
Jeff Gilbert 08f8399fe5 Bug 1339256 - Double-check robustness. - r=daoshengmu
MozReview-Commit-ID: 20csUTf7q6e
2017-03-09 18:57:45 -08:00
Jeff Gilbert e63fc0df83 Bug 1339256 - Detect robust_buffer_access_behavior. - r=daoshengmu
MozReview-Commit-ID: 4w5D9bOQbY8
2017-03-09 18:57:41 -08:00
Iris Hsiao 554a65e406 Backed out 6 changesets (bug 1343814) for bustage
Backed out changeset 64c73abd4190 (bug 1343814)
Backed out changeset 3bf615dfeba0 (bug 1343814)
Backed out changeset d55f871c503d (bug 1343814)
Backed out changeset 11811b48bbbe (bug 1343814)
Backed out changeset 53c6fa699fa7 (bug 1343814)
Backed out changeset 4768fe2f6131 (bug 1343814)
2017-03-10 10:25:22 +08:00
Ethan Lin 9b04b94de9 Bug 1345053 - Add webrender support for nsDisplayImage. r=mattwoodrow
--HG--
extra : rebase_source : 347513138d518b6f331ae6130c74bc250ccda4be
2017-03-10 09:57:07 +08:00
David Anderson 117bdbcd68 Attach Compositables to TextureSourceProviders instead of Compositors. (bug 1343814 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : 323b92ae955a55879ce547a6e131e1900a0102d9
2017-03-09 17:35:14 -08:00
David Anderson 689f898870 Propagate the compositor through CompositableHost::Composite. (bug 1343814 part 4, r=mattwoodrow)
--HG--
extra : rebase_source : 31b056537526e51192feeebf8a29e8d22d1ad88d
2017-03-09 17:35:14 -08:00
David Anderson a73b2f32a3 Material changes for TextureHost TextureSourceProvider support. (bug 1343814 part 3.2, r=mattwoodrow)
--HG--
extra : rebase_source : 39795baf0206c5e93509278b50ce2fda9f780542
2017-03-09 17:35:13 -08:00
David Anderson 33f3757bd2 Replace TextureHost compositor access with TextureSourceProvider. (bug 1343814 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 972d28b91d7de8dd884de6f4b38490e0639b619a
2017-03-09 17:35:13 -08:00
David Anderson ffcc4aab30 Change TextureSource::SetCompositor to use TextureSourceProvider. (bug 1343814 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 0227bb9055ef1fd5a89645dbc2b6a4e13d81c469
2017-03-09 17:35:13 -08:00
David Anderson cdc76620a2 Factor texture methods out of Compositor into a TextureSourceProvider class. (bug 1343814 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 7e0773b97536f8418f12fa00ac82dd4166b5ab25
2017-03-09 17:35:12 -08:00
vincentliu 8b4e18d1e6 Bug 1343851 - Add nullptr check for SurfaceFactory in StartVRPresentation. r=mtseng 2017-03-10 09:30:49 +08:00
Ryan Hunt c929394332 Bug 1345975 - Run WebRender bindings through rustfmt r=kats
MozReview-Commit-ID: 6v8MLG9WsDE

--HG--
extra : rebase_source : 051f220bcf499c3b53ac721c2fb01e822ca750ed
extra : histedit_source : 6a1550bc1f2e70cc29a18343f9893041f0a255bf
2017-03-09 17:54:17 -05:00
Ryan Hunt ce3aaba06a Bug 1345975 - Use some enums with repr(u32) directly r=kats
MozReview-Commit-ID: Hbr2aNTUhDA

--HG--
extra : rebase_source : 538894f620a4523d6968055a775b0cbcfc57c7ac
extra : histedit_source : 1ff190b22dbe3b5d16c487c210e82c5de352b6a9
2017-03-09 17:39:40 -05:00
Ryan Hunt 602d7e6e42 Bug 1345975 - Sort WebRender binding definitions r=kats
MozReview-Commit-ID: B1Z5IcAq8Qm

--HG--
extra : rebase_source : 2fd5eef5295c3191b07a52164f40aada5bcc41ca
extra : histedit_source : 93c2cdaf1b9310b0a2218a9f255fe4d2ecae6499
2017-03-09 17:39:19 -05: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
Lee Salzman 7fed4b26a7 Bug 1345815 - fix BasicLayers OOM with recording playback by avoiding copies. r=tobytailor
MozReview-Commit-ID: 1r5sOZv0Gp6
2017-03-09 16:08:40 -05:00
Jeff Gilbert 4cce4a821f Bug 1345648 - Add BREAK_ON_D3D_ERROR to DeviceManagerDx - r=kvark
MozReview-Commit-ID: DgHPXgjOi3f
2017-03-09 12:55:01 -08:00
Jeff Gilbert 5b899ebc2d Bug 1345648 - Use ID3DDeviceContextState to support NV_dx_interop2 on D3D11 on AMD - r=kvark
MozReview-Commit-ID: AzUbKzQp9lT
2017-03-09 12:54:58 -08: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
Ryan Hunt f940d903d8 Bug 1345907 - Add bindings for ClipRegion r=kats
--HG--
extra : rebase_source : ef7e188eee29e2d2abc069940c84e4e3769948ed
2017-03-09 11:54:16 -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
Jason Kratzer 3fc774a96c Bug 1056516 - add crashtest. r=jfkthame
MozReview-Commit-ID: 8jJkVG7uzmH
2017-03-13 12:54:06 +08:00
Jeremy Chen 0316fede8c Bug 1056516 - let auto hyphen honor manual hyphen when hyphens:auto is set. r=jfkthame
MozReview-Commit-ID: F3ALAJRHned
2017-03-13 12:54:05 +08:00
Jeremy Chen 2e09040e6e Bug 1056516 - use HyphenType to store different types of hyphenations. r=jfkthame
MozReview-Commit-ID: AX3NNDS4hxP
2017-03-13 12:54:05 +08:00
Jeremy Chen 17dca35346 Bug 1056516 - use AutoTArray for hyphenBuffer in BreakAndMeasureText. r=jfkthame
MozReview-Commit-ID: 2sFqlGdoCcm
2017-03-13 12:54:04 +08:00
Ethan Lin 1928c02454 Bug 1344622 - Part2. Add webrender support for nsDisplayButtonForeground. r=mattwoodrow 2017-03-09 16:58:39 +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
Ryan Hunt c34aafb126 Bug 1341101 part 6 - Build WR gradients for nsDisplayBackgroundImage when supported r=jrmuizel
MozReview-Commit-ID: 3VKLZQZWyrG

--HG--
extra : rebase_source : c4dcfcff043b0f1b83a274e63a1aae32890bc968
2017-03-15 02:51:16 -04:00
Ryan Hunt cfc9025674 Bug 1341101 part 3 - Support building WR gradients in nsCSSGradientRenderer r=mattwoodrow
MozReview-Commit-ID: HLSmseHj5Si

--HG--
extra : rebase_source : b8e39ba51c6ab28a2c9ed7b694e5098e50bf022c
2017-03-15 03:20:02 -04:00
Wes Kocher 914dd4b76c Merge inbound to m-c a=merge 2017-03-28 13:30:56 -07:00
Jeff Muizelaar f55b504a1b Bug 1345140. Remove unused WebRenderCommand infrastructure. r=kats 2017-03-07 15:50:55 -05:00
Kearwood Gilbert 4e410934af Bug 1346923 - Remove PVRManager::GetDisplays sync IPC r=daoshengmu,kanru
- PVRManager::GetDisplays was a sync IPC that was part of an optimization
  for a use case that has been eliminated by changes to the WebVR spec.
- This was an optimization for Navigator.activeVRDisplays that would allow
  enumeration of displays active in any content process without powering
  on any additional VR hardware.  This will no longer be necessary as the
  activeVRDisplays has been restricted to returning only the displays
  active in the current javascript context.

MozReview-Commit-ID: F6sOtM9nups

--HG--
extra : rebase_source : bd8967fab9677206d998eea922c8d1640551de1c
2017-03-15 16:40:57 -07:00
Kearwood Gilbert d6adf366f6 Bug 1344393 - Add StageParameters for Oculus r=daoshengmu
MozReview-Commit-ID: 9OkleewwS2b

--HG--
extra : rebase_source : 75bffc843ba9a3d869700334c41ceb910707e5f4
2017-03-17 13:33:56 -07:00
Botond Ballo fde5b63146 Bug 1346632 - Add a mochitest. r=kats
MozReview-Commit-ID: 2o3cpTaGG1V

--HG--
extra : rebase_source : 25dc7749225bab57ebcce79533c105f3ff164dff
2017-03-15 17:49:50 -04:00
Botond Ballo 4acfa9a890 Bug 1346632 - On desktop platforms, do not ignore the root scroll frame when hit-testing in PrepareForSetTargetAPZCNotification. r=kats
Doing so produces incorrect hit testing results in some scenarios, e.g. when
dragging the scrollbar on certain pages.

MozReview-Commit-ID: AA0nu042U00

--HG--
extra : rebase_source : d84849d5bd22eee7fb837e8c717d202ce1bc5c86
2017-03-15 17:52:13 -04: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 Gilbert f6e6e9870e Bug 1347289 - Remove GL context sharing support except on EAGL - r=snorp
MozReview-Commit-ID: FUGSsQ9r7Bd
2017-03-14 19:59:10 -07:00
Lee Salzman f942812710 Bug 1347147 - fix DrawTargetD2D1::GetImageForSurface to support uploads in device-space. r=mchang
MozReview-Commit-ID: 2galhKidxca
2017-03-14 22:17:47 -04:00
Jeff Gilbert 74573e136b Bug 1347249 - Fallback to simpler attribs on EGL context creation failure. - r=snorp
MozReview-Commit-ID: LtuhxfdVLdk
2017-03-14 14:43:52 -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
Jonathan Kew d48350696a Bug 1345461 - Adjust vector allocation. r=jrmuizel
--HG--
extra : rebase_source : 952dc8c19548913d77db77f4ad5c2fe036167794
2017-03-09 21:07:05 +00:00
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
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
Daosheng Mu 62781e3b7d Bug 1299937 - Part 6: Handle Stop vibrating when the window defoucses; r=qdot
MozReview-Commit-ID: Kvd40jnSPvK

--HG--
extra : rebase_source : f9ce4c68fd07376b8e18cbab08718c49d6fed455
2017-03-07 10:17:57 +08: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
jeremychen@mozilla.com 2cb71eafe4 Bug 1056516 - let auto hyphen honor manual hyphen when hyphens:auto is set. r=jfkthame
MozReview-Commit-ID: BWzg3pb2lDH

--HG--
extra : rebase_source : 069dc3091bf7600d4675fe9ea5d0b41bc70744ba
2017-03-10 00:30:11 +08:00
jeremychen@mozilla.com f4ac16bb05 Bug 1056516 - use HyphenType to store different types of hyphenations. r=jfkthame
MozReview-Commit-ID: 22ICYSaY1I2

--HG--
extra : rebase_source : 05e0a442dec8a8ac7f1b663808fc016ee3385aa2
2017-03-10 00:30:11 +08:00
jeremychen@mozilla.com 68ca87317f Bug 1056516 - use AutoTArray for hyphenBuffer in BreakAndMeasureText. r=jfkthame
MozReview-Commit-ID: 1fQGiosLYG

--HG--
extra : rebase_source : cdca8fa9f308d3676a09b2735a98c13bd2a2e2ef
2017-03-10 00:30:10 +08:00
Manish Goregaokar 6a31ced725 Bug 1329093 - Part 5: Update test expectations; r=bz
MozReview-Commit-ID: 4mfC99WEQFG
2017-03-09 17:47:45 -08:00
Daniel Holbert 9a0f32abc3 Bug 1291483 part 2: Use UniquePtr/MakeUnique more thoroughly in chain-of-custody for gfxFont::mVerticalMetrics. r=jfkthame
This member-var has type 'UniquePtr', but (up until this patch) its value
is set up using "new" and raw pointers. This patch improves that codepath by
using UniquePtr & MakeUnique, for stronger ownership guarantees.

MozReview-Commit-ID: KWZVpvr9bYj

--HG--
extra : rebase_source : 4e46d355078c7da6ae750f3ca06586dc8703e8a7
2017-03-09 16:38:58 -08:00
Daniel Holbert e15e061bcc Bug 1291483 part 1: Use 'MakeUnique' instead of 'new' to allocate gfxFont::mGlyphChangeObservers. r=jfkthame
MozReview-Commit-ID: 7FO1HAukp5j

--HG--
extra : rebase_source : f87450b6b0627ac615ec5e4850308e4b0e159df7
2017-03-09 16:38:56 -08:00
Carsten "Tomcat" Book d0bd960945 merge mozilla-inbound to mozilla-central a=merge 2017-03-06 10:53:27 +01:00
Iris Hsiao f55fc8d7c5 Backed out 3 changesets (bug 1311802) for mochitest failures in test_vrDisplay_onvrdisplaydeactivate_crosscontent.html
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 14:35:43 +08:00
Daosheng Mu 7365b64923 Bug 1306493 - Part 6: disable require gesture when running VR tests; r=kip
MozReview-Commit-ID: EGTumxkgcDW

--HG--
extra : rebase_source : f9448d700c6b58c7aaa865e5f73e9265240f5569
2017-03-16 11:46:22 +08:00
Daosheng Mu 66f6566530 Bug 1306493 - Part 5: Make we only have one VRMockDisplay in tests; r=kip
MozReview-Commit-ID: ACIszhHGUiQ

--HG--
extra : rebase_source : 66addde807ff29315c903506439eed39b900b52e
2017-03-15 13:50:34 +08:00
Daosheng Mu 1785cdc8c9 Bug 1306493 - Part 4: Make timestamp to be a monotonically increasing value in VRMockDisplay; r=kip
MozReview-Commit-ID: COR9n3fQBTX

--HG--
extra : rebase_source : 373621c4f46ad438b7ba2ae5555965025e46ce23
2017-03-15 13:49:39 +08:00
Daosheng Mu f09c777451 Bug 1306493 - Part 1: Fix bug of getting frame data from VRPuppet; r=kip
MozReview-Commit-ID: L8gPVjxELtV

--HG--
extra : rebase_source : 1790c8970e5401c1e0c4431c947f9bdad2fa2c34
2017-03-13 13:07:48 +08:00
sotaro 99e7d5243f Bug 1342833 - WebRenderBridgeParent::ClearResources() does not clear DisplayList r=jrmuizel 2017-03-06 10:42:17 +09:00
Masatoshi Kimura 5bd0d3df16 Bug 1345222 - Fix user-set ClearType params detection. r=mchang
MozReview-Commit-ID: B7bCPbZ9id9

--HG--
extra : rebase_source : c7c7a1c55fb28c415315fc1c820e2192a222d224
2017-03-10 00:47:44 +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
Carsten "Tomcat" Book cf269a43bd merge mozilla-inbound to mozilla-central a=merge 2017-03-03 13:03:48 +01: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 da21c649df Bug 1343984 - Turn on warnings-as-errors for webrender_bindings. r=jrmuizel
MozReview-Commit-ID: C8r1IwbQP7g
2017-03-02 16:26:27 -05:00
Kartikaya Gupta 0b39a30695 Bug 1343984 - Comment out the unused WrExternalImageIdType stuff as it produces hard-to-remove webrender_bindings warnings. r=jrmuizel
MozReview-Commit-ID: 3CGCGPAVBNn
2017-03-02 16:26:17 -05:00
Kartikaya Gupta 59016d2bf3 Bug 1343984 - Fix trivial webrender_bindings warnings. r=jrmuizel
MozReview-Commit-ID: 4jJu1ERRIz6
2017-03-02 16:26:07 -05:00
Mason Chang bc8f4ec5ff Bug 1343253 - Enable AA and Subpixel AA in Webrender. r=milan 2017-03-02 08:37:59 -08:00
Kartikaya Gupta 036b81ce75 Merge m-c to graphics
MozReview-Commit-ID: 2ILLtbCmQL3
2017-03-02 10:27:31 -05:00
Carsten "Tomcat" Book 1bff8bff6d Merge mozilla-central to autoland 2017-03-28 13:06:52 +02:00
cku a55d02afd1 Bug 1345853 - Part 4. Pass sync decode flag down to nsSVGPatternFrame::PaintPattern. r=tnikkel
MozReview-Commit-ID: 1bHMINhs121

--HG--
extra : rebase_source : 8da9c0d77dd9a32be392f43d3be266d365894b3a
2017-03-25 03:19:18 +08:00
cku 148bb081ca Bug 1345853 - Part 1. Pass DrawResult from nsSVGPatternFrame::PaintPattern back to nsDisplaySVGGeometry::Paint. r=mstange,tnikkel
I did many change in many files in this patch. But the goal is pretty simple: To
pass the return value of nsSVGPatternFrame::PaintPattern back to the caller
(nsDisplaySVGGeometry). My suggestion is to review this patch right from
nsSVGPatternFrame.cpp.

I made two mistakes in bug 1258510
1. We should not return directly at [1]. RemoveStateBits at l418 will be skip.
2. nsSVGPatternFrame::PaintPattern should return both SourceSurface and draw
result, so that we can update UpdateDrawResult in display item.

All the other changes are to
1. make sure the return value of nsSVGPatternFrame::PaintPattern goes back to
nsDisplaySVGGeometry::Paint correctly.
2. Since the return value of nsSVGPatternFrame::PaintPattern change, we need
modify all existed callers.

I also filed bug 1346124 for handle the returning value of PaintMarkers.

[1] https://hg.mozilla.org/mozilla-central/file/c0700bedb4f7/layout/svg/nsSVGPatternFrame.cpp#l415

MozReview-Commit-ID: Iq9RPQ6Omz0

--HG--
extra : rebase_source : ca7a35bb9f5e27880d5dc62e03feb91b6ac3435d
2017-03-21 10:12:23 +08:00
Wes Kocher ed79d988f0 Merge autoland to central, a=merge
MozReview-Commit-ID: 4DDSNU4ABBB
2017-03-27 17:03:30 -07:00
Bobby Holley ffdc76986b Bug 1351026 - Followup build bustage fix. rpending=froydnj CLOSED TREE
MozReview-Commit-ID: FnzU7d5Emq1
2017-03-27 14:34:46 -07:00
Kartikaya Gupta e69fbe4b0d Bug 1338347 - Add code to measure the maximum number of contiguous frame drops in a compositor animation. r=botond
This value is computed directly from the longest frame length using the vsync
interval.

MozReview-Commit-ID: 9ALXBqAVyb8

--HG--
extra : rebase_source : 4798fa4e5734db98338fa9fcccb5e64b2c3354c4
2017-03-20 11:41:05 -04:00
Kartikaya Gupta a6036c3329 Bug 1338347 - Refactor to group fields into a per-animation data structure. r=botond
No functional changes here, just creating a struct that we will expand in the
next patch.

MozReview-Commit-ID: HlSSvtIuYU5

--HG--
extra : rebase_source : fca9ec13018f77fae97c6907a188ecbfb5104921
2017-03-20 11:41:05 -04:00
Kartikaya Gupta dc857723e6 Bug 1338347 - Record frame throughput ratio for APZ animations r=botond
MozReview-Commit-ID: 7Ljaya9RFeo

--HG--
extra : rebase_source : 13e92c1077cc5f257cce58ab193758395c133292
2017-03-20 11:41:05 -04:00
Kartikaya Gupta c58659d822 Bug 1338347 - Record frame throughput ratios for compositor animations r=botond
This augments the AnimationMetricsTracker to also track compositor animations
triggered by chrome and content layers separately. During the animation, the
tracker keeps a count of frames composited, and once the animation ends, it
uses the wall-clock time and vsync interval to compute the expected number of
composited frames. It then submits a ratio of actual/expected to telemetry.
A score of 1000 (because the ratio is scaled up to an integer between 0 and 1000)
indicates a perfect score with no frames dropped. Lower values are worse, and
values significantly above 1000 indicate abnormal behaviour. Values may be slightly
above 1000 due to rounding error or vsync jitter.

MozReview-Commit-ID: 30Vw0j3dm9G

--HG--
extra : rebase_source : a35c764549c3441f89521629acfa11be82c004ae
2017-03-20 11:41:05 -04:00
Kartikaya Gupta e459ecb293 Bug 1338347 - Have the animation-sampling code track which process the animations are in. r=botond
This allows the AsyncCompositionManager to know whether compositor animations
are coming from chrome layers or content layers (using the rootmost RefLayer
as the boundary). This information is needed to have the compositor animation
telemetry probes separate information by chrome/content.

MozReview-Commit-ID: GqHczgrzXE5

--HG--
extra : rebase_source : da0a279f3f09687133c4dea7c28b6bfebcc66cac
2017-03-20 11:41:05 -04:00
Kartikaya Gupta 3a0ad46db3 Bug 1350986 - Add some gfxCriticalNote messages for WebRender startup failure codepaths. r=jrmuizel
MozReview-Commit-ID: 7VHA8QBMvJ8

--HG--
extra : rebase_source : e90a2a9f5d89e417e02b1a6cc67fcc3e6973c115
2017-03-27 14:32:39 -04: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
sotaro 2fef961bd1 Bug 1343457 - Update external image adding api r=kats 2017-03-02 10:22:40 +09:00
Wes Kocher 8f1654d5da Merge m-c to autoland, a=merge
MozReview-Commit-ID: FnlgTDNtM67
2017-03-14 17:24:12 -07:00
Daosheng Mu 14584d2aa7 Bug 1346680 - Duplicate refcount on VRLayerParent/Child when the construction; r=kip
MozReview-Commit-ID: BpEmUkgmPA3

--HG--
extra : rebase_source : 2f235d5dbbb8204de3c9baaee27b3fccccc7896d
2017-03-14 12:40:19 +08: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
L. David Baron 8d8382d9ed Bug 1348894 - Use CheckedInt more. r=jgilbert
MozReview-Commit-ID: G5edsCAvRix

--HG--
extra : transplant_source : %E6%FB%C4R%E3%86%1728%E9%D4%1Br%FEs%E5%E9%90%B8%96
2017-03-29 22:52:12 -04:00
vincentliu 67a283ef9a Bug 1314543 - Make EnsureGPUReady() returns bool to make sure GPU process is readay. r=dvander 2017-03-30 09:23:24 +08:00
Wes Kocher 3c0c112ff9 Merge m-c to inbound, a=merge 2017-03-29 15:47:46 -07:00
Wes Kocher 8e0bc97954 Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Lee Salzman 11961c7776 Bug 1343813 - make NativeFontResourceGDI send the LOGFONT as scaled font instance data. r=bobowen
MozReview-Commit-ID: F4UCQSXScHz
2017-03-29 18:22:06 -04:00
Wes Kocher d6c321a6a9 Merge autoland to central, a=merge 2017-03-29 15:20:43 -07:00
Daosheng Mu 22ebee8da0 Bug 1305892 - Support Oculus Touch Haptic Feedback; r=kip
MozReview-Commit-ID: 7V931IAcbbx

--HG--
extra : rebase_source : 3423aa7a99b79293783cb1572f8ad3d7a257c7c7
2017-03-29 17:58:11 +08:00
Lee Salzman a10fddc8eb Bug 1350783 - support bitmaps fonts in gfxFcPlatformFontList. r=jfkthame
MozReview-Commit-ID: 4VQkyhx4IJE
2017-03-29 13:47:46 -04: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
JerryShih cf4e2ef241 Bug 1340997 - add external image callback in RendererOGL. r=sotaro
MozReview-Commit-ID: 8aCSe1iu44C
2017-03-01 17:08:56 +08:00
JerryShih 72f82dbc84 Bug 1340997 - rename the external image related structure in webrender_ffi. r=sotaro
The name of "WrExternalImageIdId" is a little bit strange.

MozReview-Commit-ID: 8pfWxg5XuYS
2017-03-01 17:08:56 +08:00
Zibi Braniecki f096c9aab9 Bug 1346674 - Migrate all uses of nsILocaleService::GetApplicationLocale to mozILocaleService::GetAppLocale. r=jfkthame
MozReview-Commit-ID: 2E7mj3yQnxB

--HG--
extra : rebase_source : 97ba5b1738b2f116ec75830ed1b23f279680035e
2017-03-12 20:39:22 -07:00
Ethan Lin 8b7fb662c7 Bug 1342356 - Remove validBufferRegion from OpAddExternalImage. r=sotaro 2017-03-01 14:11:13 +08:00
Daosheng Mu 83f1b993be Bug 1229480: Implement Puppet VR Device; r=kip
MozReview-Commit-ID: hslhADrGs5

--HG--
extra : rebase_source : 8a0ead8f99f71fe36da428a4d4ead91d3ea02624
2017-03-02 00:04:12 +08:00
Lee Salzman cebf845be0 Bug 1342571 - fix MaxStrokeExtents to account for partial pixel coverage properly. r=mstange
MozReview-Commit-ID: DS25AJKoVYo
2017-02-28 15:48:04 -05:00
Lee Salzman 4dfd1b6ac1 Bug 1342571 - shrink dashed DrawTargetSkia::StrokeRect where possible. r=mstange
MozReview-Commit-ID: 7vu9j8jCwQn
2017-02-28 15:47:46 -05:00
Bob Owen 8d80080897 Bug 1342395: Unwrap aPattern in DrawTargetRecording::FillGlyphs when calling wrapped DrawTarget. r=jrmuizel 2017-02-28 18:02:23 +00:00
Kartikaya Gupta 0839dfda73 Merge m-c to graphics
MozReview-Commit-ID: CAFMHywf3lQ
2017-02-28 09:16:03 -05:00
Kartikaya Gupta a9e3ac0760 Bug 1343089 - Remove unnecessary crate dependencies from webrender_bindings. r=rhunt 2017-02-28 09:08:58 -05:00
Kartikaya Gupta 00385fa6ae Bug 1341968 - Update webrender to commit 501e3d79c8a3019762bd8bd2d00eecf7811a84de. r=jrmuizel
This also updates webrender_bindings for a few API changes:
- new offset field in ImageDescriptor
- new tiling argument to add_image
- change in set_root_display_list

MozReview-Commit-ID: JUgPviRdekc
2017-02-27 10:36:49 -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
Sebastian Hengst c9f5cc6b45 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8nsStTZt40O
2017-03-18 16:24:53 +01:00
Jeff Gilbert a0ef36e101 Bug 1347679 - Determine ContextProfile from driver and simplify version parsing. - r=daoshengmu
MozReview-Commit-ID: 4mBdJmsxQvD
2017-03-17 17:02:01 -07:00
Boris Chiou 06caf786e0 Bug 1348322 - Fix the initial values of gVelocityCurveFunction. r=kats
MozReview-Commit-ID: LDWCeRC4JBH

--HG--
extra : rebase_source : 3937add42e185d9c29f86d8626bb65e7172dcdd1
2017-03-17 23:54:46 +08:00
Kevin Chen 9347006c20 Bug 1160157 - Make AcquireSync RAII. r=bas
--HG--
extra : rebase_source : ac0843be287410b4fed48d7ab06cbba599735d0a
2017-03-17 00:18:00 -04:00
Jeff Muizelaar 67d7b8af2a Bug 1345243. Remove support for building without DirectWrite. r=bas
Now that we don't support XP it's reasonable for us to drop support for GDI
fonts and rely solely on DirectWrite. We should start this process by removing
support for building without DirectWrite.
2017-03-17 15:39:14 -04:00
Daosheng Mu 4a4964014f Bug 1346149 - Part 4: No longer need the index attribute in VRControllerHost; r=kip
MozReview-Commit-ID: 18KREzO4dy0

--HG--
extra : rebase_source : c1f711eaa4278d48e06ce18ccc6f2eedebb31345
2017-03-17 11:09:24 +08:00
Daosheng Mu 30464b7713 Bug 1346149 - Part 3: Adjust OpenVR controllers button and axis mapping to be more flexible; r=kip
MozReview-Commit-ID: 9qYzlgsWNXM

--HG--
extra : rebase_source : 52935ae64a0f35a8731017bc627fbb17ea659ffc
2017-03-16 15:57:04 +08:00
Daosheng Mu a9b4ca18eb Bug 1346149 - Part 2: Adjust Oculus Touch button and axis mapping; r=kip
MozReview-Commit-ID: H9FxkG0S5OL

--HG--
extra : rebase_source : d45ec0ccb7f4f0f9ca79df85b499a489983e4897
2017-03-16 15:54:00 +08:00
Daosheng Mu ce4a76e405 Bug 1346149 - Part 1: Make button support value in VRSystemManager; r=kip
MozReview-Commit-ID: 72rqJZtIaDa

--HG--
extra : rebase_source : 393ad8033f656d8bd26dcf000764c51bc70f8c4f
2017-03-16 15:49:46 +08:00
Sebastian Hengst e4de847b3c Backed out changeset 836d16519edf (bug 1345853) for frequently failing its own test pattern-big-image.html. r=backout 2017-03-17 21:54:01 +01:00
Gregory Moore 4ecf8268a9 Bug 1204502 - Added a GTest to ensure that a nested-APZC overscroll handoff with opposing constrained axes will work properly (fixed by bug 1201098). r=botond
MozReview-Commit-ID: hZQQaeQBRT

--HG--
extra : rebase_source : 85539aa14502d7e38c88d0c5b358a1ae30be1606
2017-02-27 15:02:50 -08:00
Nicolas Silva 12f7354feb Bug 1309200 - Expose the software backend in gfxVars. r=dvander 2017-03-28 16:35:55 +02:00
David Anderson 9b33134098 Fix not deallocating device data after changing OGL compositors. (bug 1350259, r=mattwoodrow)
--HG--
extra : rebase_source : 975ae741669600dde85ea7030252ba738c419e61
2017-03-27 14:03:59 -07:00
Nicolas Silva 70bbbf5ce9 Bug 1348291 - Call EndPaint when painting is skipped if BeginPaint was called. r=mattwoodrow 2017-03-28 14:28:45 +02: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
Mason Chang f2f85a8adb Bug 1342281 - Convert inset box shadows to a WR display item. r=lsalzman 2017-02-23 20:01:58 -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
Kan-Ru Chen 8ba424eabb Bug 1194751 - Part 6. Use mozilla::widget::ScreenManager in content process. r=mconley
This is the most important part of the patch series. It removes the
PScreenManager protocol and use ScreenManager directly in the content
processes.

Initial and subsequent updates are sent via PContent::RefreshScreens.
struct ScreenDetails are kept to serialize Screen over IPC.

nsIScreenManager::ScreenForNativeWidget is removed because
nsIWidget::GetWidgetScreen can replace it. nsIScreen::GetId is removed
because it's not useful for the more general Screen class.

MozReview-Commit-ID: 5dJO3isgBuQ

--HG--
extra : rebase_source : 06aa4e4fd56e2b2af1e7483aee7c0cc7f35bdb97
2017-03-09 19:30:26 +08:00
Kan-Ru Chen 824adc9354 Bug 1194751 - Part 5. Implement ScreenHelperGTK and delete old nsScreenManagerGtk/nsScreenGtk. r=karlt
ScreenHelperGTK is the platform dependent part of the original
nsScreenManagerGtk and nsScreenGtk. It registers monitors-changed
event listener from gtk and pushes updates to ScreenManager. See patch
part 4. for how ScreenManager works.

MozReview-Commit-ID: KBo7ZLFTjM3

--HG--
rename : widget/gtk/nsScreenManagerGtk.cpp => widget/gtk/ScreenHelperGTK.cpp
rename : widget/gtk/nsScreenManagerGtk.h => widget/gtk/ScreenHelperGTK.h
extra : rebase_source : 5607e31b62c928934cc45df7b2212428fbfd79c1
2017-03-09 19:29:44 +08:00
Jeff Muizelaar 6296f9be71 Bug 1342246. Generate resource ids on the client side. r=lsalzman 2017-02-23 17:52:38 -05:00
Jeff Muizelaar f8d31e3f34 Bug 1341878. Separate out finishing the display list from sending it. r=sotaro
This adds the size to the DPEnd command so that we can use it in
SetRootDisplayList instead of storing it in WrState.
2017-02-23 16:12:40 -05:00
Kartikaya Gupta 92d49690c6 Merge m-c to graphics
MozReview-Commit-ID: BMjcETZ38gw
2017-02-23 09:51:44 -05:00
Carsten "Tomcat" Book e6b82618f4 merge mozilla-inbound to mozilla-central a=merge 2017-02-23 14:59:37 +01:00
Morris Tseng 33d74b040e Bug 1340871 - Add CompositorUseANGLE info to TextureFactoryIdentifier. r=nical
MozReview-Commit-ID: GjlZS6T2i0p
2017-02-23 16:46:56 +08:00
Mason Chang f51576a84d Bug 1348584 Default to 1.0 contrast for Skia backends if custom contrast dwrite param isn't supported by skia. r=emk 2017-03-22 22:04:00 -07:00
sotaro b98245c5fc Bug 1349476 - Remove LayersBackend::LAYERS_D3D9 type r=mattwoodrow 2017-03-23 11:00:41 +09:00
Jeff Gilbert 49450a2691 Bug 1344433 - Allow GLX 1.3+glXGetProcAddressARB. - r=jrmuizel
MozReview-Commit-ID: IpjF3HXgcLy
2017-03-06 15:39:37 -08:00
Jeff Gilbert 26144d40c6 Bug 1344433 - Fix ANGLE symbol loading. - r=daoshengmu
MozReview-Commit-ID: 2lUJJ8k3AsT
2017-03-06 15:39:37 -08:00
Jeff Gilbert af80cd9f27 Bug 1344433 - Use WRAP() macros. - r=daoshengmu
MozReview-Commit-ID: 9C6tlOTNhrg
2017-03-06 15:39:36 -08:00
Jeff Gilbert 3fc6d1fc74 Bug 1344433 - Reformat. - r=daoshengmu
MozReview-Commit-ID: 8W0oGeHBYtR
2017-03-06 15:39:36 -08:00
Jeff Gilbert dc04ef02be Bug 1344433 - Require GLX 1.4 (released 2005) - r=daoshengmu
MozReview-Commit-ID: 9SJFyJqejES
2017-03-06 15:39:36 -08:00
Jeff Gilbert 7c90f8b60c Bug 1344433 - Remove HasDXInterop(), but not HasDXInterop2(). - r=daoshengmu
MozReview-Commit-ID: 9OAvDSGuyca
2017-03-06 15:39:35 -08:00
Kartikaya Gupta 90419861cd Bug 1340270 - Update webrender and webrender_traits to cset edc74274d28b1fa1229a1d1ea05027f57172b992. r=jrmuizel
This also:
1) Updates the webrender_bindings Cargo.toml file to use the latest version
   numbers of webrender and webrender_traits
2) Updates the webrender_bindings Cargo.toml file to use the same version of
   other dependencies (euclid, etc.) as webrender itself does
3) Updates the webrender_bindings glue code for API changes in push_border,
   add_image, and add_raw_font.

--HG--
rename : third_party/rust/dwrote/.gitignore => third_party/rust/servo-dwrote/.gitignore
rename : third_party/rust/dwrote/README.md => third_party/rust/servo-dwrote/README.md
rename : third_party/rust/dwrote/build.rs => third_party/rust/servo-dwrote/build.rs
rename : third_party/rust/dwrote/src/bitmap_render_target.rs => third_party/rust/servo-dwrote/src/bitmap_render_target.rs
rename : third_party/rust/dwrote/src/com_helpers.rs => third_party/rust/servo-dwrote/src/com_helpers.rs
rename : third_party/rust/dwrote/src/comptr.rs => third_party/rust/servo-dwrote/src/comptr.rs
rename : third_party/rust/dwrote/src/font.rs => third_party/rust/servo-dwrote/src/font.rs
rename : third_party/rust/dwrote/src/font_collection.rs => third_party/rust/servo-dwrote/src/font_collection.rs
rename : third_party/rust/dwrote/src/font_face.rs => third_party/rust/servo-dwrote/src/font_face.rs
rename : third_party/rust/dwrote/src/font_family.rs => third_party/rust/servo-dwrote/src/font_family.rs
rename : third_party/rust/dwrote/src/font_file.rs => third_party/rust/servo-dwrote/src/font_file.rs
rename : third_party/rust/dwrote/src/font_file_loader_impl.rs => third_party/rust/servo-dwrote/src/font_file_loader_impl.rs
rename : third_party/rust/dwrote/src/gdi_interop.rs => third_party/rust/servo-dwrote/src/gdi_interop.rs
rename : third_party/rust/dwrote/src/glyph_run_analysis.rs => third_party/rust/servo-dwrote/src/glyph_run_analysis.rs
rename : third_party/rust/dwrote/src/helpers.rs => third_party/rust/servo-dwrote/src/helpers.rs
rename : third_party/rust/dwrote/src/rendering_params.rs => third_party/rust/servo-dwrote/src/rendering_params.rs
rename : third_party/rust/dwrote/src/test.rs => third_party/rust/servo-dwrote/src/test.rs
rename : third_party/rust/dwrote/src/types.rs => third_party/rust/servo-dwrote/src/types.rs
2017-02-22 23:07:59 -05:00
Kartikaya Gupta c9291524ea Bug 1341362 - Use default values for RendererOptions instead of explicitly specifying each one. r=jrmuizel
MozReview-Commit-ID: 275n8D1KfOK
2017-02-22 15:15:05 -05:00
Wes Kocher 901a8c09c1 Merge m-c to autoland, a=merge
MozReview-Commit-ID: AZeTEvGhLd1
2017-03-02 15:03:44 -08:00
Kartikaya Gupta 17e5ae7a34 Merge m-c to graphics
MozReview-Commit-ID: 4dOwcyt9fuW
2017-02-22 10:27:57 -05:00
Carsten "Tomcat" Book 9d982b9508 merge mozilla-inbound to mozilla-central a=merge 2017-02-22 14:33:38 +01:00