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

26760 Коммитов

Автор SHA1 Сообщение Дата
Kevin Chen 563c00da4d Bug 1364563 - Add a path for content process only device reset. r=dvander 2017-07-17 00:13:00 -04:00
Dominic Farolino c3f7031cd8 Bug 1379813 - Annotate crash reports with the number of times the GPU process has been launched. r=dvander 2017-07-13 13:27:00 -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
sotaro 602705a552 Bug 1372083 - Do not compare depth in attachmentsHaveSameDimensions() r=jgilbert 2017-07-18 19:25:29 +09:00
Jeff Muizelaar efcfc87c0e Bug 1381483 - Remove 'using namespace std' from RecordedEventImpl.h r=lsalzman
We don't want to have 'using' statements in headers.
2017-07-17 14:54:50 -04:00
Kris Maglione 86877fceef Bug 1381097: Part 1 - Add default-false pref to enable APZ in remote popups. r=kats
Ideally, we definitely want APZ in remote popup browsers for the sake of
responsiveness. However, there are currently some serious painting and
checkerboarding issues that make APZ popups unsuitable for release
populations.

Once these issues are addressed, we should enable the preference by default.
But given the relative lack of testing, and the issues we've seen so far, we
should keep the preference so that we can disable it with a hotfix if further
issues arise.

MozReview-Commit-ID: GOZRdsmLNZR

--HG--
extra : rebase_source : ce0f2ca029d951a9c65ec1482e065b6695793133
2017-07-15 12:01:36 -07:00
Samuel Vargas cf725b7488 Bug 1367613 - Track and spew synchronous/blocking GL call counts. r=jgilbert 2017-07-13 14:26:00 -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
Sebastian Hengst d85c6458d8 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-17 14:08:27 +02:00
Sebastian Hengst a6560aed66 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: qyo4rHNUlV
2017-07-17 14:06: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
Sebastian Hengst ea10928fd7 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-15 16:36:54 +02:00
Sebastian Hengst 186c6d7165 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Kr2w3UdA0p9
2017-07-15 16:34:47 +02:00
Sebastian Hengst 63b01adae7 Backed out changeset 2769266d412a (bug 1368120) for frequently first reftest run, e.g. 507187-1.html. r=backout a=backout
MozReview-Commit-ID: Kal72wBzxeD
2017-07-15 16:25:59 +02:00
Andrew Osmond 7d1a4b1e31 Bug 1377869 - Ensure that CompositorManagerChild will be reinitialized if the GPU process reuses its PID. r=dvander 2017-07-15 09:13:18 -04:00
Andrew Osmond b306aa3fb2 Bug 1380716 - Reinitialize ImageContainer::mImageClient if its parent ImageBridgeChild was also reinitialized. r=sotaro 2017-07-15 07:52:02 -04:00
Wes Kocher e9fa5c772a Merge inbound to central, a=merge
MozReview-Commit-ID: 8nlqm5dHCUQ
2017-07-14 17:14:43 -07:00
David Anderson 28b0c7d639 Fix mask coordinates when rendered into intermediate surfaces with Advanced Layers. (bug 1380744, r=mattwoodrow) 2017-07-14 11:47:54 -07:00
Mason Chang d972f95729 Bug 1380493 Set surface format of DrawTargetCapture to whatever the ref DT is. r=dvander 2017-07-14 10:55:03 -07:00
Wes Kocher 6d62b1970e Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4kiY84LofOi
2017-07-14 17:19:10 -07:00
Mason Chang 0f5cb4866e Bug 1380483 - Properly set AA, transform and use rotated buffers with OMTP capturing. r=dvander 2017-07-14 08:01:45 -07:00
Ryan Hunt 8da6a723fb Bug 1381125 - Add whether a focus target has key listeners to the APZ keyboard logs. r=kats
MozReview-Commit-ID: 7S3VAowF2p3

--HG--
extra : rebase_source : 3e5ffeb1ce2329b3bbd68ac4612a4ded4dd49730
2017-07-13 10:56:17 -05:00
Ryan Hunt 0a77e754e4 Bug 1379826 - Use static_cast instead of a C style cast in APZ keyboard logs. r=botond
MozReview-Commit-ID: 4ca18ZxQwuL

--HG--
extra : rebase_source : 73b6103697486d9d6b55a5e156abe55b8411ec46
2017-07-10 18:39:04 -04:00
Kearwood "Kip" Gilbert 2a221a0a19 Bug 1321275 - Fix reference counting of PVRLayerChild when GPU process has been terminated r=daoshengmu
- In VRManagerChild::DeallocPVRLayerChild, we delete the PVRLayerChild, rather
  than doing proper reference counting on the VRLayerChild object which has
  been deallocated but still referenced by VRDisplayPresentation::mLayers.
  This happens when the GPU process is terminated.

- When the user tries to stop the VR presentation or change the URL,
  PVRLayerChild::SendDestroy is called by VRDisplayPresentation::DestroyLayers.
  This results in the assertion about "invalid actor state".

- This patch fixes this by following the same pattern used by TextureClient
  for its PTextureChild.

MozReview-Commit-ID: 327cdb4s7kl

--HG--
extra : rebase_source : 88847acd39d82f258f0c969e6ef5e22b794f6428
2017-07-12 16:05:40 -07:00
Kearwood "Kip" Gilbert 476b6eb5b0 Bug 1381165 - Ensure that only the first VRDisplay.submitFrame call per VRDisplay RAF callback renders and kicks off the next VR RAF callback. r=daoshengmu
MozReview-Commit-ID: L9qPfr1Jf9o

--HG--
extra : rebase_source : 78367b8efff80b6411fd0a08493742221a18ac26
2017-07-14 16:08:49 -07:00
Alexis Beingessner 19035534ea Bug 1368120 - Enable webrender border handling by default. r=kats
We largely handle borders correctly except for two major classes of error:

* https://bugzilla.mozilla.org/show_bug.cgi?id=1363060 - gecko doesn't feed webrender transforms properly (major)
* https://github.com/servo/webrender/issues/1280 - webrender's 3D border colours are too naive (minor)

MozReview-Commit-ID: 42JtbLYzqKn

--HG--
extra : rebase_source : 7970e2f4cc2f66392d98486d663bf2ccb0040821
2017-05-17 11:22:24 -04:00
Milan Sreckovic cc13392457 Bug 1380655: Look for the timeout and terminate GPU process only when we have a separate GPU process, not also when the browser is acting as one. r=dvander
MozReview-Commit-ID: Fp4Dv5SArjX

--HG--
extra : rebase_source : ced0c45cc7a64e619f15c69bfb68b5d850d287fc
2017-07-14 12:18:52 -04:00
Ryan VanderMeulen 019bd042fc Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
Sebastian Hengst 22d024f800 Backed out changeset 020581c23b7d (bug 1367613) for gl error during test_conformance__extensions__webgl-debug-shaders.html. r=backout on a CLOSED TREE 2017-07-14 10:11:54 +02:00
Andrea Marchesini 50f9ea47a3 Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
Kartikaya Gupta 6027972e8b Bug 1379604 - Update webrender_bindings for API change in WR cset 6824b35. r=mrobinson
MozReview-Commit-ID: KM1kCDK1jvY

--HG--
extra : rebase_source : 1469f0459d2d83882b8d9001c18756f2c23ffe01
2017-07-13 10:28:53 -04:00
Kartikaya Gupta 104c0a782a Bug 1379604 - Update webrender_bindings for API change in WR cset d97598b. r=Gankro
MozReview-Commit-ID: dj0BJvAYXv

--HG--
extra : rebase_source : e9e42c2095e19d611694686a2b44610b5f22e325
2017-07-13 10:28:53 -04:00
Kartikaya Gupta 1faaf0568b Bug 1379604 - Update versions in Cargo.toml/Cargo.lock files. r=jrmuizel
MozReview-Commit-ID: 9PoNmkBFOhF

--HG--
extra : rebase_source : e50e1820e70ef3f4e3c0f8c8854ac45cc202677a
2017-07-13 10:27:44 -04:00
Kartikaya Gupta 96e7597712 Bug 1379604 - Update webrender to cset 479ae6475a18527206a2534c2b8a5bfb8b06bd6e. r=jrmuizel
MozReview-Commit-ID: GpuG8Rb8uz6

--HG--
extra : rebase_source : 06ab1ae67b96966e9922cb89223059d8c1b9f0cd
2017-07-13 10:27:44 -04:00
Bas Schouten 52157b54ec Bug 1380142: Add a pref to enable the D3D11 debug layer and to break on errors. r=milan
MozReview-Commit-ID: 2FrQGXdgJrD

--HG--
extra : rebase_source : 74b42a35dbf8ab3851a3e441c655862f152ce482
2017-07-11 22:53:04 +02:00
Carsten "Tomcat" Book e3195ceb5a Merge mozilla-central to inbound 2017-07-13 16:38:32 +02:00
Carsten "Tomcat" Book 260b5f956f merge mozilla-inbound to mozilla-central a=merge 2017-07-13 16:35:22 +02:00
sotaro 3984156c9a Bug 1380578 - Change aHandle of NativeTextureToWrExternalImage() to uint32_t r=nical 2017-07-13 23:28:26 +09:00
Nicolas Silva 8d659cbd93 Bug 1378771 - Reduce the minimum painted layer width down to 8 pixels. r=jrmuizel 2017-07-13 13:59:29 +02:00
Cameron McCormack 200ff78b23 Bug 1376964 - Part 10: Allow style worker threads to pick fonts out of the user font cache. r=jfkthame
MozReview-Commit-ID: FX0T5ltA2u4

--HG--
extra : rebase_source : dd4465e6b57e61676a3b776b684317a19e6ac62d
2017-07-07 14:33:00 +08:00
Cameron McCormack 0b0b5836f7 Bug 1376964 - Part 9: Use gfxFontSrcPrincipal in the user font set and cache. r=jfkthame
MozReview-Commit-ID: LRRFbkhbgts

--HG--
extra : rebase_source : 19164df382db8a4e5e868c4725a0f7c0968ddaa5
2017-07-08 18:00:24 +08:00
Cameron McCormack 1a172c9491 Bug 1376964 - Part 8: Add OMT wrapper for nsIPrincipals useful for font stuff. r=jfkthame
MozReview-Commit-ID: L6gUnvDx7D2

--HG--
extra : rebase_source : 673a837d91e40f1c46adc2d0c2bc16fe024084ed
2017-07-08 17:20:28 +08:00
Cameron McCormack c770a5a921 Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
MozReview-Commit-ID: LJ6nnZEGz7D

--HG--
extra : rebase_source : 9f47d839aa4572ed2fc2d15a4986c8bc30d3f2ca
2017-07-08 14:17:23 +08:00
Cameron McCormack 9a03f16595 Bug 1376964 - Part 6: Use gfxFontSrcURI in the user font set and cache. r=jfkthame
MozReview-Commit-ID: 7eWOTs4kF4v

--HG--
extra : rebase_source : 88ee203da88f3ec5419db7dee87337802d6212ae
2017-07-08 14:10:05 +08:00
Cameron McCormack f96118fca4 Bug 1376964 - Part 5: Add OMT wrapper for nsIURIs useful for font stuff. r=jfkthame
MozReview-Commit-ID: FkBYOoqC6x6

--HG--
extra : rebase_source : c6e30a1b11d12c4d4e070f26a746162827b639a4
2017-07-07 17:29:44 +08:00
Cameron McCormack 5d2c03ca7b Bug 1376964 - Part 4: Call FontLoadAllowed ahead of time and cache the results for style worker threads. r=jfkthame
Handling a document's node principal changing is done in part 9.

MozReview-Commit-ID: 1gPtRpddys5

--HG--
extra : rebase_source : f0b4d07481ae7215117b86c474f14658b61d6f06
2017-07-07 13:35:28 +08:00
Cameron McCormack 2aaac38e66 Bug 1376964 - Part 3: Add a generation counter to the user font cache. r=jfkthame
MozReview-Commit-ID: 3zCPC9Pfikc

--HG--
extra : rebase_source : 7fd68667fef4acf3ad4fd050b480feec7c2c101f
2017-07-06 16:00:34 +08:00