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

25803 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book d66b9f27d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-10 15:07:28 +02:00
Lee Salzman 8c18901f07 Bug 1340627 - part 8 - reftest fuzzing for update to Skia m59. r=mchang
MozReview-Commit-ID: LN29P1I4EsW
2017-05-09 22:31:07 -04:00
Lee Salzman 9e92454bc6 Bug 1340627 - part 6 - fix layers for Skia m59. r=mchang
MozReview-Commit-ID: 6pAV6FKDFQ4
2017-05-09 22:31:07 -04:00
Lee Salzman db313c8c40 Bug 1340627 - part 5 - fix SkiaGL glue for Skia m59. r=mchang
MozReview-Commit-ID: LelzAgAdWb7
2017-05-09 22:31:07 -04:00
Lee Salzman 5587d89b74 Bug 1340627 - part 4 - fix thebes for Skia m59. r=mchang
MozReview-Commit-ID: JDlSyKeT389
2017-05-09 22:31:07 -04:00
Lee Salzman ec8d1a9a71 Bug 1340627 - part 3 - fix Moz2d for Skia m59. r=mchang
MozReview-Commit-ID: 1fugjwSpOMZ
2017-05-09 22:31:07 -04:00
Lee Salzman 3bbca77ed4 Bug 1340627 - part 2 - update moz.build for Skia m59. r=jrmuizel
MozReview-Commit-ID: KdPvBio96Cw
2017-05-09 22:31:06 -04:00
Lee Salzman b4227baa51 Bug 1340627 - part 1 - update Skia source to m59. r=mchang
--HG--
rename : gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h => gfx/skia/skia/include/private/GrGLSL_impl.h
rename : gfx/skia/skia/src/core/SkMessageBus.h => gfx/skia/skia/include/private/SkMessageBus.h
rename : gfx/skia/skia/include/core/SkBlitRow.h => gfx/skia/skia/src/core/SkBlitRow.h
rename : gfx/skia/skia/include/effects/SkGaussianEdgeShader.h => gfx/skia/skia/src/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/xml/SkXMLParser.h => gfx/skia/skia/src/xml/SkXMLParser.h
2017-05-09 22:30:58 -04:00
Tom Ritter df53f009c6 Bug 1331335 Add SSE2 Flags to all of libANGLE r=jgilbert
MozReview-Commit-ID: LjzlucR7sPx

--HG--
extra : rebase_source : ce0850feb57062abbab371ed89688546ac6af3e7
2017-05-09 13:00:58 -05:00
Wes Kocher e2902f93a3 Merge inbound to m-c a=merge
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
Lee Salzman 8b90fc84ee Bug 1357692 - only accelerate gfxAlphaBoxBlur when blur area is large enough to balance resource creation costs. r=mchang
MozReview-Commit-ID: HcRahaq8ORa
2017-05-09 12:59:08 -04:00
Carsten "Tomcat" Book 76ca853e3e Merge mozilla-central to mozilla-inbound 2017-05-09 14:40:11 +02:00
Gerald Squelart bc7b6779e4 Bug 1356138 - Backout bug 1337063 (Msg_GetGraphicsDeviceInitData opt) for Talos regression - r=dvander
MozReview-Commit-ID: LS1Gg1HRwKo

--HG--
extra : rebase_source : 8b20bc37b20feac4c0b590c8b286a9ee834646e2
2017-05-09 14:40:11 +12:00
Jeff Gilbert 5b7751c545 Bug 1310222 - Remove GL max-size reduction workarounds on OSX >=10.12 - r=daoshengmu
MozReview-Commit-ID: 7CmPNMB9PUM
2017-05-09 13:28:46 -07:00
Randall Barker 6166881c14 Bug 1361881 - Remove unused function AdjustScrollForSurfaceShift from APZCTreeManager IPC stack r=kats
APZCTreeManager::AdjustScrollForSurfaceShift is only called from the
compositor now, so there is no need to expose this API for callers in
widget code.

MozReview-Commit-ID: BySCQ8N4SuM
2017-05-08 17:02:07 -07:00
Randall Barker 6d5d6f7603 Bug 1361880 - Prevent toolbar from animating when drag threshold has not been reached r=botond
MozReview-Commit-ID: 14WKMWdjjsf
2017-05-08 17:02:07 -07:00
Randall Barker 5c26b07626 Bug 1363123 - Queue compositor messages that are sent before UiCompositorControllerParent has been initialized r=botond
MozReview-Commit-ID: LNmCv9D6bS6
2017-05-08 17:02:06 -07:00
Wes Kocher f5ba7a67d6 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9QuGHXqdxTb
2017-05-08 16:14:34 -07:00
Kartikaya Gupta 5d5cdc518c Merge m-c to graphics
MozReview-Commit-ID: 2cIoGVmLEuA
2017-05-08 10:50:52 -04:00
Ryan Hunt 05ee8df788 Bug 1362925 - Update webrender_bindings for cbindgen:0.1.7 r=kats
MozReview-Commit-ID: AwlqUWWEWfz

--HG--
extra : rebase_source : deace018f5d25f3eeecd5d4d683bb4f9a782a05c
extra : amend_source : 051d621e7b35e5389627b0946e7f87f0f8b9fa14
2017-05-08 01:31:20 -04:00
Morris Tseng 2e459a5741 Bug 1362324 - Use BlobImage for path type of bullet item. r=jrmuizel
MozReview-Commit-ID: 4ld6biSaFce
2017-05-08 14:14:41 +08:00
Jeff Muizelaar 60c7aca953 Bug 1362505. Correctly set the transforms on all DrawTargets. r=lsalzman
I suppose this got worse when we started using multiple DrawTargets.
But let's just do the right thing and not special case transforms.
2017-05-05 23:51:35 -04:00
Kartikaya Gupta 2664b66a6a Bug 1361356 - Properly unapply the stacking context transform and origin translation when building mask layers. r=ethlin
MozReview-Commit-ID: B5XzX6Tq4PZ
2017-05-05 11:44:49 -04:00
Jeff Muizelaar 2d0ade0f7c Bug 1362221. InlineTranslator should track DrawTargets. r=lsalzman
Previously we always used the initial DrawTarget regardless of what was being drawn.
2017-05-05 10:34:03 -04:00
Kartikaya Gupta 54c0323dbf Bug 1361807 - Use the transformed bounds for WebRenderRefLayer, as it doesn't push a stacking context. r=nical
MozReview-Commit-ID: B2LlHENCMm8
2017-05-04 10:08:23 -04:00
Kartikaya Gupta eac87bc2bf Merge m-c to graphics
MozReview-Commit-ID: 9HO5vhW5fyh
2017-05-04 09:05:26 -04:00
Carsten "Tomcat" Book 237cea8312 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : amend_source : 38d33daae77f06915b30cab5327a6aa7ef0ef4ac
2017-05-04 10:57:00 +02:00
Kartikaya Gupta 4a7a11715c Bug 1359744 - Update webrender to 8516d6c04235e684d9bf9c783ba4fc99dab3bf02. r=jrmuizel
This updates the Cargo.lock files and revendors third_party/rust as well.
2017-05-03 19:03:18 -04:00
Iris Hsiao 553dbd294c Merge mozilla-central to mozilla-inbound 2017-05-04 11:29:49 +08:00
Hiroyuki Ikezoe 43a902cb19 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley. a=merge
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
extra : amend_source : 6ee8241b984e300386da617fa9304b288989fdb7
2017-05-04 06:39:30 +09:00
Kartikaya Gupta b6b23a1376 Merge m-c to graphics
MozReview-Commit-ID: DVUE3Wys3HV
2017-05-03 08:52:43 -04:00
Kartikaya Gupta 0d7cd03e4b Bug 1361357 - Try fixing clip on WRDILayer. r=ethlin
This should fix some wrong-looking code that computes the clip for
WebRenderDisplayItemLayer instances. As this code is not exercised very
much it's hard to know if this change is actually correct.

MozReview-Commit-ID: BSsBpBmzWgd
2017-05-03 08:51:23 -04:00
Kartikaya Gupta cadd5716a2 Bug 1360246 - Remove the ParentBounds and TransformedVisibleBoundsRelativeToParent functions. r=nical
These functions also have built-in assumptions about the stacking
context structure mapping to the layer tree structure which are not
necessarily valid. So we remove these functions and update code that
uses them.

MozReview-Commit-ID: UkXXAF59qv
2017-05-03 08:48:08 -04:00
Kartikaya Gupta 48e0e2221d Bug 1360246 - Remove the RelativeToParent functions by propagating StackingContextHelper chains. r=nical
The only remaining callers of RelativeToParent() are in
StackingContextHelper itself, which we can remove now by having the SCH
take a parent SCH and use it instead of RelativeToParent(). This patch
implements this change.

This makes a failing test pass, because of how preserve-3d container
layers work. Specifically, preserve-3d container layers render their
descendants in z-order, not in tree order. If those children were assuming
that their parent had already pushed a stacking context, that assumption
may have been false because the parent might have not yet been rendered
because of z-ordering. By using the StackingContextHelper chain instead
of the layer tree ancestry, we fix the stacking-context-relative coordinates
being used in the descendant subtree of preserve-3d container layers.

MozReview-Commit-ID: HzZvBuAlMdB
2017-05-03 08:48:08 -04:00
Kartikaya Gupta 989470c342 Bug 1360246 - Update code to use StackingContextHelper::ToRelativeWr* instead of RelativeToParent. r=nical
This updates more code that was using RelativeToParent() to use the
stacking context helper's ToRelativeWr* functions instead. This get us
closer to breaking the assumption that the WR stacking context order maps
1:1 to the layer tree structure.

MozReview-Commit-ID: HQrbvCgPOW4
2017-05-03 08:48:08 -04:00
Kartikaya Gupta 0ec3e2d4dd Bug 1360246 - Propagate the StackingContextHelper to the rest of the displaylist-building code. r=nical
This propagates the StackingContextHelper to the rest of the code that
builds WR display items, because we will need it in future patches to
stop using RelativeToParent.

MozReview-Commit-ID: 3PlQrJRhH36
2017-05-03 08:48:08 -04:00
Kartikaya Gupta eb38bf66c1 Bug 1360246 - Clean up WebRenderRefLayer::RenderLayer. r=nical
This cleans up WebRenderRefLayer::RenderLayer to use typed coordinate
systems and the StackingContextHelper. Note that this patch contains a
functional change, because the clip rect pushed no longer includes the
transform on the ref layer itself. It's not clear to me why we were doing
that, and didn't seem correct.

MozReview-Commit-ID: K7FoeLnXc56
2017-05-03 08:48:07 -04:00
Kartikaya Gupta 55a7794c28 Bug 1360246 - Clean up WebRenderTextLayer::RenderLayer. r=nical
This uses the StackingContextHelper and typed helper functions in
WebRenderLayer to simplify WebRenderTextLayer::RenderLayer. It also
removes the implicit assumption in WebRenderTextLayer that the parent
layer pushed a stacking context, which is an assumption we will
probably break in the future.

MozReview-Commit-ID: CARoGVQd56i
2017-05-03 08:48:07 -04:00
Kartikaya Gupta 9c0fee2d43 Bug 1360246 - Propagate the StackingContextHelper through CreateWebRenderCommands. r=nical
This is needed for the next patch, because the bullet frame WR rendering
code will need a StackingContextHelper to pass to the PushGlyphs call.
It also helps with some of the later patches in this series, when we get
rid of the RelativeToParent calls.

MozReview-Commit-ID: Is0aciHhy2N
2017-05-03 08:48:07 -04:00
Kartikaya Gupta d5a099eb03 Bug 1360246 - Propagate a StackingContextHelper all the way through the RenderLayer traversal. r=nical
This is needed in part 3 to update WebRenderTextLayer::RenderLayer, so
that it no longer assumes the parent container layer has pushed a
stacking context, and instead explicitly uses the StackingContextHelper.

MozReview-Commit-ID: 9twUmDgUipX
2017-05-03 08:48:06 -04:00
Kartikaya Gupta 7259e787f4 Merge m-c to graphics
MozReview-Commit-ID: 9XwZUWIhGir
2017-05-02 09:45:11 -04:00
Carsten "Tomcat" Book a439f12e74 merge mozilla-inbound to mozilla-central a=merge 2017-05-02 11:04:56 +02:00
Daosheng Mu 6a807270be Bug 1321275 - Confirm VRLayerChild is not destroyed before sending destroy message to the parent side; r=kip
MozReview-Commit-ID: v0awwplOQv

--HG--
extra : rebase_source : 3a15b5249ea03e0d64a6229d55d6d418d9b8076f
2017-05-03 18:43:39 +08:00
peter chang 3ba22de014 Bug 1358437 - Correct the way to use override pref for WebRender OMTA, r=me
MozReview-Commit-ID: JGrt3GVU0yo
2017-05-02 11:41:52 +08:00
peter chang d7f8d0e8c4 Bug 1358437 - fix compiler error, r=me
MozReview-Commit-ID: H2VAWFiONAf
2017-05-02 10:56:52 +08:00
peter chang 45183ad68d Bug 1358437 - enable WebRender OMTA by default, r?kats
MozReview-Commit-ID: DG2eK8lMTBi
2017-05-02 10:38:31 +08:00
peter chang 8f5fde5b20 Bug 1358437 - pass layer's transform/opacity to compositor, r?kats
Need to pass the default transform/opacity to compositor if animations
exist because it is possible that gecko fails to get animated value
after animation sampling, like an animation with delay.

MozReview-Commit-ID: IK06hWvaSPf
2017-05-02 10:38:22 +08:00
peter chang fed042e433 Bug 1358437 - Setup correct opacity/transform in stacking context when there exists opacity/transform aniamtions. r?kats
Pass empty opacity(transform) in stacking context when there exists opacity(transform) animations and
the final opacity(transform) value will be resolved on the compositor after animation sampling

MozReview-Commit-ID: 6pF9Oe8Ks2I
2017-05-02 10:29:54 +08:00
peter chang e8e398dcd1 Bug 1358437 - pass layer's transform attributes for transform animation, r?kats
MozReview-Commit-ID: J7JHuwvWuet
2017-05-02 10:29:42 +08:00
peter chang c03a85af76 Bug 1357320 - Dispatches the discarded compositor animations id list in one async call, r?kats
MozReview-Commit-ID: 8cCNCzxMKpY
2017-05-02 10:26:13 +08:00