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

26305 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 593e520c55 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Oi3PA6ZpRz
2017-06-18 20:35:11 +02:00
Sebastian Hengst 95244ee248 Backed out changeset 866d59780f6d (bug 1373540) for mass test failures on Windows debug (tests terminated with RunWatchdog). r=backout 2017-06-18 01:32:24 +02:00
Sebastian Hengst 968a22a73d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-18 00:25:47 +02:00
Andrew Osmond 60cec7b49f Bug 1373540 - Fix switchover from the GPU process compositor to the same process compositor. r=dvander 2017-06-17 17:52:34 -04:00
Sebastian Hengst e8f0643a4e Backed out changeset 03e899794f41 (bug 1371037) for merge conflict with bug 1368386, v2. r=backout a=backout
MozReview-Commit-ID: De78lCy88sD
2017-06-17 22:49:14 +02:00
Sebastian Hengst 478026cce6 Backed out changeset 03e899794f41 (bug 1371037) for merge conflict with bug 1368386. r=backout 2017-06-17 22:10:05 +02:00
Sebastian Hengst df925a5cf8 Backed out changeset 03e899794f41 (bug 1371037) for merge conflict with bug 1368386. r=backout a=backout
MozReview-Commit-ID: GPp2Knh4JQt

--HG--
extra : amend_source : c62c91c325a892b612945dc8a2d560660085a1aa
extra : transplant_source : %EC%87%3C2%EE%06%AC%C1Wo/%3FoO%CFX%CE%2C%B9%C5
2017-06-17 22:10:05 +02:00
Sebastian Hengst 3654d560d6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DPQl41S3ZkU
2017-06-17 22:26:03 +02:00
Jeff Muizelaar 427de06487 Bug 1372685 - Make dummy target 1x1. r=lsalzman
Now that we don't playback our dummy target only needs to be 1x1 instead
of the recording size.  This saves time and memory.
2017-06-17 15:22:26 -04:00
Sebastian Hengst efd723cdad merge mozilla-central to autoland. r=merge 2017-06-18 00:21:41 +02:00
Masatoshi Kimura 838ccc4108 Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
MozReview-Commit-ID: 5O5WtxbmATQ

--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
Kearwood Gilbert a679f93781 Bug 1352446 - Fix 32-bit build crash with Oculus VR r=daoshengmu
- Validate GetSharedResourceView in VRDisplayOculus::SubmitFrame and VRDisplayPuppet::SubmitFrame
- Correct size of frameIndex to be "long long" rather than "int" for
  ovr_GetPredictedDisplayTime
- Updated to Oculus 1.15.0 SDK
- Now sending absolute timestamp of the predicted frame time
  to ovr_GetTrackingState rather than a delta

MozReview-Commit-ID: GLSkqwae7Jp

--HG--
extra : rebase_source : 80a051c4af9e2241fe971fc2763015b5f3d18f7c
2017-06-08 14:03:26 -07:00
Daosheng Mu a6cdb3aeb0 Bug 1368990 - Add reftest for verifying onVRPresentChange; r=kip
MozReview-Commit-ID: I8cce1eYQV8

--HG--
extra : rebase_source : ff04f5cefeb446f8730f570bdea804b341d1e947
2017-06-07 17:05:04 +08:00
Lee Salzman 29a9c9d166 Bug 1305085 - don't let SkScalerContext::computeMatrices generate zero scales. r=mchang
MozReview-Commit-ID: 4guj6XPWB47
2017-06-14 21:43:27 -04:00
Lee Salzman e4cbb5aad8 Bug 1365794 - optimize box blur surfaces for destination draw target. r=mchang
MozReview-Commit-ID: CfAwZZy6v5M
2017-06-16 16:50:39 -04:00
Mason Chang 86004b9db3 Bug 1371037 - Support for record and replay of ClientPaintedLayers on the main thread. r=dvander 2017-06-15 16:32:59 -07:00
Sebastian Hengst a90ef58a2b Backed out changeset 0bade2cd1908 (bug 1343728) 2017-06-16 22:20:43 +02:00
Wes Kocher 296d2b492b Merge m-c to autoland, a=merge
MozReview-Commit-ID: B3DzZrZb3AB
2017-06-16 18:28:40 -07:00
Sebastian Hengst d70c8aa98b merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-16 09:52:22 +02:00
Sebastian Hengst 265affc002 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5wTyHWufcCh
2017-06-16 09:50:00 +02:00
sotaro 61c0f84377 Bug 1372512 - Fix webrender Key leaks of WebRenderBridgeParent on abnormal shutdown r=kats
This bug handles abnormal client shut down case and Tab move between different windows.

Abnormal client shut down case, WebRenderBridgeParent does not receive IPC messages that are sent during WebRenderLayerManager and WebRenderBridgeChild destruction. In this case, webrender keys except keys of external images are not removed from webrender. Abnormal shut down could happen when content process was crashed or content process was killed by ContentParent if shutdown takes too long time.

In the tab move case, the WebRenderBridgeParent will need to be re-bound to a different CompositorBridgeParent and webrender, and so will need to clear all its related keys from the old webrender. This will happen in a future patch.
2017-06-16 15:31:01 +09:00
domfarolino@gmail.com 0cfb387dec Bug 1274663 - Add mochitest. r=dvander
--HG--
extra : rebase_source : 256d3b1cb3715a6e227ce119cdebcfabc7a45ed6
2017-06-15 14:35:00 -04:00
domfarolino@gmail.com d4253766db Bug 1274663 - Expose API to trigger device reset. r=dvander
--HG--
extra : rebase_source : 5a9d2757f8e7378083ce42131d5a250027569814
2017-06-15 14:34:00 -04:00
Sebastian Hengst a672914c01 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-15 20:14:54 +02:00
Sebastian Hengst 43c84014a1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HYo8pUZXJ8Z
2017-06-15 20:12:28 +02:00
Kartikaya Gupta 56e85d2efc Bug 1372603 - Remove unnecessary clip from container layers. r=jrmuizel
MozReview-Commit-ID: F6VnThG5QFI

--HG--
extra : rebase_source : 9d6d670e31520bfe8d5c46297eeba1a0bb3279c9
2017-06-14 15:43:17 -04:00
Kartikaya Gupta aec19f9182 Bug 1372603 - Remove unused functions and parameters. r=jrmuizel
MozReview-Commit-ID: 1DUBPEcCe2u

--HG--
extra : rebase_source : 15c6ac0719a0186a39d619285269555e7a571918
2017-06-14 15:43:16 -04:00
Kartikaya Gupta 60385dfbe4 Bug 1372603 - Move the clip rect for async images outside the iframe item. r=jrmuizel,sotaro
The async images codepath is a bit different in that it pushes an iframe
item to the WR display list and updates it asynchronously. However in
this case it still makes sense to push the layer's local clip
outside the iframe, and just populate the iframe with the image and not
worry about clips inside the iframe. As mentioned in part 1 of this
patchset, this will be needed to properly handle async scrolling.

This patch makes the necessary changes to push the clip outside the
iframe and simplifies what happens in WebRenderCompositableHolder to
generate the display list for the iframe itself.

MozReview-Commit-ID: DeZElH4p4rc

--HG--
extra : rebase_source : 3f3458a6c2607b8290dc2174a248f3d7bd33a3a9
2017-06-14 15:43:16 -04:00
Kartikaya Gupta 4b9fbd6d4d Bug 1372603 - Remove the duplicated clip from WebRenderDisplayItemLayer. r=jrmuizel
Since part 1 of this patch set pushed the layer's local clip as part of
the code in ScrollingLayersHelper, it is no longer needed in the
WebRenderDisplayItemLayer (it is effectively duplicated).

MozReview-Commit-ID: F2HFsx3XI9M

--HG--
extra : rebase_source : 5dfcecb649376d6958760e4e95cd025d01f3124c
2017-06-14 15:43:16 -04:00
Kartikaya Gupta 367cc282d0 Bug 1372603 - Make sure the mask rect is relative to the enclosing stacking context. r=jrmuizel
This ensures that for layers with both transforms and mask layers, the
mask layer is properly positioned outside of the transform and relative
to the proper stacking context.

MozReview-Commit-ID: 79yvhxQCykW

--HG--
extra : rebase_source : 353a7dcc59fb2df0ff2379909a08986ec176ac50
2017-06-14 15:43:16 -04:00
Kartikaya Gupta 1ed171d132 Bug 1372603 - Push the layer's local clip rect outside the stacking context. r=jrmuizel
For various reasons, we want to be pushing the layer's local clip rect
outside of the stacking context rather than inside it. Not only is this
more correct with respect to the semantics of the layer tree, we also
need it in order to properly handle fixed-positioning of layers with
async scrolling.

This patch does the bulk of the work to make this happen. Most of the code
in the individual layer classes to process the layer's local clip rect
is removed, and instead a function in ScrollingLayersHelper is added to
deal with it. There are a couple of places that individual layer classes
still handle this but those will be removed in future patches. Note that
the individual layer classes still need to provide a clip rect of some
sort in order to push their display items, and now they simply use their
visible region bounds for this purpose.

MozReview-Commit-ID: IBmfUdJwYx1

--HG--
extra : rebase_source : 3f48a707f35a398711813d859af1e7184f19fd40
2017-06-14 15:43:16 -04:00
Sebastian Hengst 20d16dadd3 merge mozilla-inbount to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 36YqbsnO3en
2017-06-15 11:11:30 +02:00
Andrew Osmond 9e4c9d88a1 Bug 1365927 - Part 6. Remove CompositorThreadHolder reference from CompositorBridgeParent. r=dvander 2017-06-14 11:40:00 -04:00
Andrew Osmond cafe9dcd45 Bug 1365927 - Part 5. Make PCompositorManager the manager protocol of PCompositorBridge. r=dvander 2017-06-14 11:40:00 -04:00
Andrew Osmond 27eaaaed2f Bug 1365927 - Part 4. Replace PCompositorBridge integration hooks with PCompositorManager. r=dvander 2017-06-14 11:39:59 -04:00
Andrew Osmond 9abc5f52d5 Bug 1365927 - Part 3. Move PCompositorBridge toplevel protocol overrides to PCompositorManager. r=dvander 2017-06-14 11:39:59 -04:00
Andrew Osmond fc4e6a00ae Bug 1365927 - Part 2. Add minimal PCompositorManager protocol. r=dvander 2017-06-14 11:39:59 -04:00
Andrew Osmond a3d11c8688 Bug 1365927 - Part 1. Add missing headers and other build housekeeping. r=dvander 2017-06-14 11:39:59 -04:00
Mats Palmgren 2979d4b762 Bug 1372368 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj
MozReview-Commit-ID: trugd3ihLh
2017-06-14 17:27:25 +02:00
Mats Palmgren cfd3f9f9cf Bug 1371954 - Use RemoveEntry(EntryType*) rather than RemoveEntry(KeyType) to avoid an unnecesary hashtable lookup. r=froydnj
MozReview-Commit-ID: 10mB1SslmUm
2017-06-14 17:27:24 +02:00
Nicolas Silva f209188047 bug 1373135 - Mark wr_thread_pool_delete destructor-safe. r=kats 2017-06-15 14:20:12 +02:00
Sebastian Hengst 1b26da1b2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-15 11:17:07 +02:00
JerryShih 011987c967 Bug 1372803 - Handle GPUVideoTextureHost type for WR. r=sotaro
In windows platform, gecko will use GPUVideoTextureHost type for remote video decoding.
Implement the WR related functions for this type.

MozReview-Commit-ID: KSpndcApK3H
2017-06-15 17:07:46 +08:00
JerryShih 8731715817 Bug 1372803 - Move the RenderTextureHost creation from WebRenderTextureHost to the corresponding TextureHost. r=sotaro
MozReview-Commit-ID: JF19ntiQKfa
2017-06-15 17:07:46 +08:00
JerryShih 6175226606 Bug 1372803 - Remove the unnecessary AsMacIOSurfaceTextureHostOGL() interface in RenderTextureHostOGL. r=sotaro
This function is not necessary in our current implementation.

MozReview-Commit-ID: IyfzLTs3uQ6
2017-06-15 17:07:46 +08:00
sotaro a1ccf002a7 Bug 1372066 - Fix animations leak on abnormal shutdown and tab move between different windows r=kats
This bug handles abnormal client shut down case and Tab move between different windows.

Abnormal client shut down case, WebRenderBridgeParent does not receive IPC messages that are sent during WebRenderLayerManager and WebRenderBridgeChild destruction. In this case, animations under the WebRenderBridgeChild are not removed from CompositorAnimationStorage. Abnormal shut down could happen when content process was crashed or content process was killed by ContentParent if shutdown takes too long time.

In the tab move case, the WebRenderBridgeParent will need to be re-bound to a different CompositorBridgeParent and CompositorAnimationStorage, and so will need to clear all its active animations from the old CompositorAnimationStorage and add animations into the new CompositorAnimationStorage. This will happen in a future patch.
2017-06-15 16:36:03 +09:00
JerryShih 23bde0778f Bug 1372489 - Update GLConsts.h and GLDefs.h. r=jgilbert.
Get the latest gl.xml, egl.xml, wgl.xml and glx.xml.
Then, execute the |GLParseRegistryXML.py|. Please check the details in |GLParseRegistryXML.py|.

The ANGLE_stream_producer_d3d_texture_nv12 and ANGLE_keyed_mutex extension are not exist in egl.xml,
so add the "LOCAL_EGL_DXGI_KEYED_MUTEX_ANGLE" and "LOCAL_EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE" manually in GLDefs.h.

egl:
2e6e7ff7bf
gl, glx and wgl:
23a3a95673
2017-06-15 14:43:53 +08:00
sotaro 33a0f76b05 Bug 1372816 - Send WebRenderParentCommands When EmptyTransaction is aborted r=jrmuizel 2017-06-15 13:38:22 +09:00
Bobby Holley edc99fdc0c Bug 1341102 - Cherry-pick 0.8 rayon bump for in-tree webrender. r=kats
MozReview-Commit-ID: HZmoxOQzHrk
2017-06-14 20:21:38 -07:00
domfarolino@gmail.com 5450eab623 Bug 1369549 - Bootstrap a painting thread for OMTP. r=dvander
--HG--
extra : rebase_source : bae591cdace1197a6b4d3a489a46bdaab5293d23
2017-06-09 16:30:00 -04:00