Commit Graph

27897 Commits

Author SHA1 Message Date
Sebastian Hengst
2da2f1cc48 Backed out changeset 248c73a2c3b1 (bug 1215089) 2017-10-04 16:25:46 +02:00
Sebastian Hengst
096fb9d2c6 Backed out changeset a2cfe189c828 (bug 1215089) 2017-10-04 16:25:34 +02:00
Ryan VanderMeulen
99cae4563d Backed out changeset 2ab5ef946a40 (bug 1406510) for test failures.
--HG--
extra : rebase_source : 936bc3f10b1c11ebcb722fe3047fc2f30f0a1b7c
2017-10-12 12:58:00 -04:00
Alexis Beingessner
e95ab353d6 Bug 1406510 - rewrite TextDrawTarget to push directly into display list. r=jrmuizel
MozReview-Commit-ID: 7rPGlYmmgeg

--HG--
extra : rebase_source : 4b754ee3aea5f7cfb6bceb18447540d1a04da830
2017-10-06 13:06:10 -04:00
Ethan Lin
224831f7e4 Bug 1406306 - Part1. Repaint items when scale is changed. r=jrmuizel
MozReview-Commit-ID: LelAXxnxeRb

--HG--
extra : rebase_source : 5a732a6498887f5e0adac1378f799f6c40157179
2017-10-06 14:50:33 +08:00
Kevin Chen
1ad9fc5044 Bug 1394405 - Relax the assertion in CalculateDistanceToEllipticArc to deal with the floating point precision problem; r=nical
MozReview-Commit-ID: c0kgjG2zUg

--HG--
extra : rebase_source : 431a9afe9de492e05c7b9646282bfafa60389581
2017-10-11 11:10:41 +08:00
Mantaroh Yoshinaga
54a06f9d2a Bug 1185236 - Add AdjustPrintJobNameForIPP() wide version. r=karlt
MozReview-Commit-ID: AE3mvnrVAqn

--HG--
extra : rebase_source : de725c3dd624c86bca48ee4663ffc58369711f65
2017-10-13 15:48:39 +09:00
Mantaroh Yoshinaga
4570ca2e69 Bug 1185236 - Add adjustPrintJobName in order to avoid IPP job name limit. r=karlt
MozReview-Commit-ID: n2k9lwfoyW

--HG--
extra : rebase_source : 0a9b2ee4235a4a1000abec15434fe1d37ecdab0d
2017-10-13 15:47:33 +09:00
sotaro
027a737d41 Bug 1407748 - Force enable alpha channel to make sure ANGLE use correct framebuffer formart r=jgilbert 2017-10-14 07:33:58 +09:00
Chih-Yi Leu
53db189014 Bug 1371190 - Part 3: Fix moz.build. r=jgilbert
MozReview-Commit-ID: 9wrCBoVGcw7

--HG--
extra : rebase_source : 727cc6718d25bd3028efa9a1ac6cb0833b19e130
2017-10-02 11:57:13 +08:00
Chih-Yi Leu
149bf32d37 Bug 1371190 - Part 2: Update ANGLE to chromium/3229. r=jgilbert
MozReview-Commit-ID: 5RWR2rPf5DZ

--HG--
rename : gfx/angle/src/common/third_party/numerics/base/numerics/OWNERS => gfx/angle/src/common/third_party/base/anglebase/numerics/OWNERS
rename : gfx/angle/src/common/third_party/numerics/base/numerics/safe_numerics_unittest.cc => gfx/angle/src/common/third_party/base/anglebase/numerics/safe_numerics_unittest.cc
rename : gfx/angle/src/third_party/murmurhash/LICENSE => gfx/angle/src/common/third_party/murmurhash/LICENSE
extra : rebase_source : 81d2a2904e748cfd9199a50cee311f7c5ec8fb5c
2017-10-02 10:25:08 +08:00
Sebastian Hengst
ee63f2e30a Backed out changeset 0317bcff40bc (bug 1406687) for build bustage at testing/gtest/gtest/src/gtest.cc:3871: 'Unused' was not declared in this scope. r=backout 2017-10-09 18:52:39 +02:00
Tom Ritter
22d2cdf063 Bug 1406687 Pass return values from fwrite to Unused to silence the warn-unused-result warning r=njn
MozReview-Commit-ID: 4v6tPF5aMz7

--HG--
extra : rebase_source : c54b129c6815096035e262322f40aa0884b1ae56
2017-10-09 00:26:16 -05:00
Sebastian Hengst
ffb949f627 merge mozilla-central to autoland. r=merge a=merge 2017-10-09 11:23:26 +02:00
Tom Ritter
f49999833d Bug 1406380 Fix -Wreorder warnings r=njn
MozReview-Commit-ID: 7Zh2pvAMpXR

--HG--
extra : rebase_source : 5052112ad66a66cd2974c4140c3fd430dcaa3adc
2017-10-09 01:36:36 -05:00
Jeff Muizelaar
98bc4660c7 Bug 1405445. Preallocate the display list buffer to a reasonable size. r=kats
This exposes the capacity of the underlying vec and sets it to the capacity of
the previous display list (mLastDisplayListSize). Doing so helps us avoid
reallocing up to the desired size every frame.
2017-10-04 11:09:01 -04:00
Sebastian Hengst
5e0b457b10 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EVLGo1zCANb
2017-10-04 11:13:24 +02:00
Kartikaya Gupta
e0fd3a68fc Bug 1403915 - Collapse EndTransactionInternal into EndTransactionWithoutLayers. r=jrmuizel
MozReview-Commit-ID: 5l9LkfJTqKy

--HG--
extra : rebase_source : 50fc05afad2c23f592b9d18ae80d2402610d1cee
2017-10-03 16:31:08 -04:00
Kartikaya Gupta
c1a6bdfaf1 Bug 1403915 - Remove some leftover Layer-related goop. r=jrmuizel
MozReview-Commit-ID: 2XCJaRcQR3s

--HG--
extra : rebase_source : 7f3f4cdf1bf77c8a8b7a62f675e5132f84eab49e
2017-10-03 16:31:08 -04:00
Kartikaya Gupta
9493b267c7 Bug 1403915 - Remove some leftover painting callback goop. r=jrmuizel
MozReview-Commit-ID: BycK4Ug1sgm

--HG--
extra : rebase_source : 6fa5a8da45a75ec4ed1d5a7b55cf95671845bd05
2017-10-03 16:31:08 -04:00
Kartikaya Gupta
2f1948343f Bug 1403915 - Remove the WebRender*Layer classes and functions that refer to them. r=jrmuizel
MozReview-Commit-ID: 2syFwMc7j3r

--HG--
extra : rebase_source : 9a3852506820eb09328d91007581d74786eba9b0
2017-10-03 16:31:08 -04:00
Kartikaya Gupta
dbe077b3f1 Bug 1403915 - Remove the IsLayersFreeTransaction() machinery and assume it's always true. r=jrmuizel
MozReview-Commit-ID: 7FYVirQ5pal

--HG--
extra : rebase_source : 4b33fba54776003b4f0d45b89be07916db1f2340
2017-10-03 16:31:07 -04:00
Kartikaya Gupta
31daec89c0 Bug 1403915 - Remove the layers-free pref entirely and assume it's true at the call sites. r=jrmuizel
MozReview-Commit-ID: 7tLxaBGiE4R

--HG--
extra : rebase_source : 2d2596677ad822eb829c73c7ea90bc76aed871a7
2017-10-03 16:31:07 -04:00
Tom Ritter
3eb3b1f0ab Bug 1405439 Do not cast nullptr to bool implicitly, instead return false in gfx/vr r=kip
MozReview-Commit-ID: LtfTRFDopsT

--HG--
extra : rebase_source : c9a3412114b2bc877b2a036eaa7881da7d08b128
2017-10-03 12:47:10 -05:00
Jeff Muizelaar
5baca5e314 Bug 1404955 - Use ComplexClipRegion instead of WrComplexClipRegion. r=kats
cbindgen will let us do this now.
2017-10-03 18:11:14 -04:00
Wes Kocher
0b65e8f6ab Merge m-c to inbound, a=merge
MozReview-Commit-ID: 42IMgMJGiDu
2017-10-03 14:54:08 -07:00
Kartikaya Gupta
e1c96e5c8e Bug 1403971 - Update webrender to commit aa81aebba2c1b8ff8af5d40796154d66349fd131. r=mstange
MozReview-Commit-ID: FE8qFq751hv

--HG--
extra : rebase_source : ae263f9237b5e31cbd1f7297869c63f59c4de6e7
2017-10-03 13:15:13 -04:00
Ethan Lin
2a82b402b3 Bug 1404091 - In layers-free mode, we should do NotifyInvalidation after EndTransaction if there is any scheduled flush. r=kats
MozReview-Commit-ID: D0LNF0LgWYq

--HG--
extra : rebase_source : e005389de5d2b2b9e0a8ecf5b4de58ae7f9f21a9
2017-10-03 16:00:38 +08:00
Ethan Lin
caf728fd67 Bug 1404782 - Do not mutate display list in layers-free mode. r=mattwoodrow
MozReview-Commit-ID: 7usEJupItdi

--HG--
extra : rebase_source : 93972dc1b61231f1956b993454f4c7fa4e2d1307
2017-10-02 11:18:31 +08:00
Sebastian Hengst
9a0edde0b2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IRW0W7LuIM7
2017-10-03 11:43:52 +02:00
Bas Schouten
9218253d7e Bug 1404656: Protect access to mDrawTarget and mImage after a SourceSurfaceSkia has been initialized. r=dvander
MozReview-Commit-ID: 6HGM22V8FbJ
2017-10-02 20:23:09 -07:00
David Anderson
424bc1c8e1 Add diagnostics for intermittent failure in bug 1401551. r=milan 2017-10-02 16:32:50 -07:00
David Anderson
a9b531dbba Change OMTP feature reporting in about:support. (bug 1404532, r=rhunt) 2017-10-02 16:30:58 -07:00
Wes Kocher
382a7d90d6 Merge inbound to central, a=merge
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
Jeff Muizelaar
18b234fd09 Bug 1405094. Get rid of wr_dp_begin/end. r=kats
These are unused.
2017-10-02 16:24:30 -04:00
Sebastian Hengst
a470220352 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: D2QCmiZpeaP
2017-10-02 11:04:14 +02:00
Bas Schouten
43c3e5a40a Bug 1404749: Release our DrawTargetCapture on the main thread. r=mattwoodrow
MozReview-Commit-ID: 7uRdl2ZWtGS
2017-10-02 04:20:40 +02:00
Bas Schouten
937cb6ea5e Bug 1404587: Disable OMTP when using cairo as the content backend. r=mattwoodrow
MozReview-Commit-ID: Dtxh9ILELAv
2017-10-02 02:19:45 +02:00
Bas Schouten
4600284673 Bug 1395394: Make refcounting of GradientStops threadsafe for the sake of OMTP. r=mattwoodrow
MozReview-Commit-ID: 3MZ3JTio3EC
2017-10-02 00:53:00 +02:00
Bas Schouten
3ad5ed6346 Bug 1404627: Atomically refcount Path objects for use with OMTP. r=mattwoodrow
MozReview-Commit-ID: 2TeLChDL4OY
2017-10-02 00:53:00 +02:00
Alexis Beingessner
b5bacff9f8 Bug 1404370 - TextDrawTarget: add fallbacks for remaining cases, remove some hacks. r=jrmuizel
This adds fallbacks for:
* synthetic bold
* synthetic italics
* text-writing-modes

This also removes an old hack to make synthetic italics less broken.

This also prevents special opacity handling for color fonts so that webrender
gets that information.

MozReview-Commit-ID: DKiTUBR6hzy

--HG--
extra : rebase_source : 22b445d40ee46bb09d4325828a8e959d3da7a9c7
2017-09-29 12:05:34 -04:00
dmu@mozilla.com
e2a5d6b175 Bug 1402749 - Part 2: Only allow updating VR controller amount at Vsync time; r=kip
MozReview-Commit-ID: EwXpyGnTYTD

--HG--
extra : rebase_source : b969991e31dcb612e81dd47129168a535427ce0a
2017-09-29 06:53:27 +00:00
Kartikaya Gupta
a8c7b2198d Bug 1403176 - Turn on empty transactions support in layers-free WebRenderLayerManager. r=mstange
By returning true from WebRenderLayerManager::EndEmptyTransaction, we
avoid doing a full paint in cases where the caller decides an empty
transaction would be sufficient. WebRenderLayerManager already rejects
attempts to set some forms of empty-transaction data (specifically
transform and scroll offset updates). This means that we will never get
a call to EndEmptyTransaction where the caller is expecting a transform
or scroll offset update to be sent over to the compositor. So if we have an
implementation of EndEmptyTransaction that ignores that data, it will not
break expectations.

There is still one piece of information that WebRenderLayerManager
doesn't reject in this manner, the APZ focus state. That is, if the
layout code sets a pending APZ focus state on the WRLM, followed by a
all to EndEmptyTransaction, it expects the focus state to get propagated
to the compositor. This patch makes sure that it does happen by using
the new API added in the previous patch.

MozReview-Commit-ID: 596UgW9ZWAF

--HG--
extra : rebase_source : e0f4f201a76747d6e29cde5da26fe760fd7f770b
2017-10-02 16:49:56 -04:00
Kartikaya Gupta
c2cbdf1d8e Bug 1403176 - Add support for out-of-band APZ focus state propagation. r=mstange
One of the pieces of information that can be sent to the compositor is
the APZ focus state info, which is used for keyboard APZ. This patch
adds an API that allows updating this outside of a regular WR
"transaction" (i.e. a SetDisplayList call) so that we can use it in an
empty transaction (in the next patch).

MozReview-Commit-ID: L5TCbI9FtGV

--HG--
extra : rebase_source : 427b606a333d83eb82aa566768ba331d34542e8e
2017-10-02 16:49:55 -04:00
Kartikaya Gupta
8c4d9f46ad Bug 1403176 - Make WebRenderLayerManager reject pending scroll offset updates. r=mstange
Currently some callers attempt to set a "pending scroll offset update"
on the layer tree, which basically allows it to send a scroll offset
update to the compositor in an empty transaction, without doing a full
paint. However, WebRenderLayerManager doesn't really support empty
transactions yet, so we want to reject attempts to do this for now. This
will force the callers to schedule a full transaction instead of an
empty transaction.

MozReview-Commit-ID: 1bBlj59W5HH

--HG--
extra : rebase_source : 0a018989c2681b01ff325e8e2c79c9ff146f04d4
2017-10-02 16:49:55 -04:00
Daosheng Mu
d0d62fa8bb Bug 1404518 - Return when OpenSharedTexture is false; r=jgilbert
MozReview-Commit-ID: EIChMhAt5Hk

--HG--
extra : rebase_source : de17ac94919dc85bb0c0162c76b5103b87e73a4e
2017-10-02 14:32:07 +08:00
peter chang
799d59d88f Bug 1377894 - Create the new opacity animations only when the animation id is valid, r=kats
MozReview-Commit-ID: 1njXoEnyj00

--HG--
extra : rebase_source : 43b9d5451f06de2148f6c7a7228dbcc609c038b3
2017-10-02 21:49:21 +08:00
Wes Kocher
83fd890d27 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: HeJwJwwTzhQ
2017-10-02 16:26:42 -07:00
Kearwood "Kip" Gilbert
6f85ed3a79 Bug 1400407 - Part 3: Remove IsMirror concept, as it is no longer used by WebVR,r=jgilbert
- This patch is the same as one from Bug 1382104 (Remove IsMirror concept
  in favor of checking forwarder).
- It is safe to uplift this patch without the rest of Bug 1382104 as long
  as the remaining Bug 1381084 is also uplifted.

MozReview-Commit-ID: 21YZObeSUa3

--HG--
extra : rebase_source : 8d543fe69f4ac9df5ccdc42d3ce47bb37eea4396
2017-08-28 14:50:14 -07:00
Kearwood "Kip" Gilbert
07bf2f8968 Bug 1400407 - Part 1: Cleanup WebVR dead code,r=daoshengmu,r=jgilbert
- VRManagerChild no longer needs to be a TextureForwarder
- VRManagerParent no longer descends from HostIPCAllocator or ShmemAllocator
- PVRManager no longer manages PTexture's
- VRLayerParent::mSize was not used and has been removed

MozReview-Commit-ID: 3bNN5FR5j7M

--HG--
extra : rebase_source : 634277825c00057bca6f8c77cdc942de61d61e9c
2017-09-14 17:10:15 -07:00
Sebastian Hengst
45c6b30a2c merge mozilla-central to autoland. r=merge a=merge 2017-09-30 10:22:53 +02:00
Wes Kocher
0196bb1eed Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9KMX1mdjylD
2017-09-29 14:48:25 -07:00
Wes Kocher
eb9a2ed0f2 Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Cosm
b4871889d9 Bug 1385335 - Use RecursiveMutex in AsyncPanZoomController.r=botond
MozReview-Commit-ID: ETzQVCu1o7z

--HG--
extra : rebase_source : c7126c098f63e8ce12506dfaee0d995091512b06
2017-09-27 08:41:51 +05:30
Markus Stange
4b4d6f1561 Bug 1402498 - Add ScrollAnimationMSDPhysics, can be enabled using general.smoothScroll.msdPhysics.enabled. r=rhunt
MozReview-Commit-ID: fr8Q9iod5k

--HG--
extra : rebase_source : b9113d40081371872deff6aade13fd226b3e72a9
2017-09-26 20:55:35 -04:00
Markus Stange
c2ed209689 Bug 1402498 - Separate out ScrollAnimationBezierPhysics and make ScrollAnimationPhysics an interface. r=rhunt
MozReview-Commit-ID: K3b8vjY5xaO

--HG--
rename : layout/generic/ScrollAnimationPhysics.cpp => layout/generic/ScrollAnimationBezierPhysics.cpp
extra : rebase_source : e112a02b0ce40438375ff48e5bd1911a8ad4da3b
2017-09-29 18:37:14 -04:00
Markus Stange
c4ba4ac85d Bug 1402498 - Clean up ScrollAnimationPhysics code after the separation. r=rhunt
MozReview-Commit-ID: Ldm96zHxqWD

--HG--
extra : rebase_source : c5e18772e07425e07221541761af01c55f9db782
2017-09-22 15:08:39 -04:00
Markus Stange
488f43bd92 Bug 1402498 - Rename AsyncScrollBase to ScrollAnimationPhysics and use composition instead of inheritance. r=rhunt
MozReview-Commit-ID: 7UFf0mZsrEr

--HG--
rename : layout/generic/AsyncScrollBase.cpp => layout/generic/ScrollAnimationPhysics.cpp
rename : layout/generic/AsyncScrollBase.h => layout/generic/ScrollAnimationPhysics.h
extra : rebase_source : 66cc26ef54b31d5cfe498d8f23bc678862423aa5
2017-09-22 13:42:29 -04:00
Boris Zbarsky
c359e02509 Bug 1403293 followup. Add a test. r=kats
MozReview-Commit-ID: GyWZGiT6xeG
2017-09-29 08:51:40 -04:00
Sebastian Hengst
5253bb7207 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2gWLO0vz64b
2017-09-29 13:30:42 +02:00
Jeff Muizelaar
c5e5b9b24d Bug 1403642. Avoid an extra property table lookup. r=ethlin
We can just call Get() and check the return value instead of calling Has()
2017-09-29 00:39:55 -04:00
Ethan Lin
2f3f7c5cbd Bug 1395501 - Part3. Update reftest annotations for unexpected-pass tests. r=kats
MozReview-Commit-ID: 8QzoqnrxfhR
2017-09-29 12:09:51 +08:00
Ethan Lin
179ed054db Bug 1395501 - Part2. Use stacking context's scale value to compute the correct paint rect. r=jrmuizel
MozReview-Commit-ID: AaAhTza5TP4
2017-09-29 12:09:51 +08:00
Ethan Lin
2902b1bde2 Bug 1395501 - Part1. Store inherited scale in stacking context. r=jrmuizel,kats
MozReview-Commit-ID: 6LsTJa05uFV
2017-09-29 12:09:51 +08:00
Wes Kocher
134e495909 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6RdWW73Lc0A
2017-09-28 17:16:12 -07:00
Wes Kocher
1674eb3e4f Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Kartikaya Gupta
6a663e9beb Bug 1359242 - Enable background-image layers by default in webrender. r=jrmuizel
MozReview-Commit-ID: 3WB5uRHUooo

--HG--
extra : rebase_source : 6633f7ce1096f89834a2079291e65a0a6161948b
2017-09-28 10:40:05 -04:00
Sebastian Hengst
f9569348f8 Backed out changeset a505b6b021dd (bug 1395501) for Windows bustage at gfx/layers/wr/StackingContextHelper.cpp(94). r=backout 2017-09-28 16:36:49 +02:00
Sebastian Hengst
a88ed1655f Backed out changeset 3b3e9f5671b2 (bug 1395501) 2017-09-28 16:36:15 +02:00
Sebastian Hengst
553f43c688 Backed out changeset 75f20de3a189 (bug 1395501) 2017-09-28 16:36:10 +02:00
Ethan Lin
81d80078ea Bug 1395501 - Part3. Update reftest annotations for unexpected-pass tests. r=jrmuizel,kats
MozReview-Commit-ID: 8QzoqnrxfhR

--HG--
extra : rebase_source : 6876408907e440ce43a2fb195da81648873988e7
2017-09-28 15:54:36 +08:00
Markus Stange
0b21de814f Bug 1402498 - Compute precise velocities and apply the zoom factor correctly. r=botond
This may make the smooth scroll animation feel differently, based on zoom. I'm
not sure if the old workaround for that problem even worked; in any case, it
gave wrong values.

MozReview-Commit-ID: KXD1DPGfbgA

--HG--
extra : rebase_source : d4b4b961b90e339dabb441d9fbf2d2bcec1d04ba
2017-09-17 13:45:07 +02:00
Markus Stange
6e01406539 Bug 1402498 - Mark two methods of AxisPhysicsModel as const. r=rhunt
MozReview-Commit-ID: BTL8YwAIHtu

--HG--
extra : rebase_source : 9465825c5658d7caec453046f651ad830bacdb13
2017-09-17 13:41:14 +02:00
Markus Stange
fc2801ce61 Bug 1402498 - Remove self-include. r=rhunt
MozReview-Commit-ID: 9Fkr6p8dBKk

--HG--
extra : rebase_source : d787c395abe8614b0f2e8b375f78ee860bbfccc5
2017-09-17 13:40:46 +02:00
Kartikaya Gupta
19a0aaf058 Bug 1402321 - Update webrender to commit 9c5f8682e75839ad8c26480b89f87bbb37aa7894. r=jrmuizel
MozReview-Commit-ID: KHYwuo29KX
2017-09-28 14:52:39 -04:00
Ethan Lin
183b2f8922 Bug 1395501 - Part2. Use stacking context's scale value to compute the correct paint rect. r=jrmuizel
MozReview-Commit-ID: AaAhTza5TP4

--HG--
extra : rebase_source : 7022e052dc06ccaad65cbbe88116fbd3da15b56f
2017-09-07 16:41:35 +08:00
Ethan Lin
996d6f7e8d Bug 1395501 - Part1. Store inherited scale in stacking context. r=jrmuizel,kats
MozReview-Commit-ID: 6LsTJa05uFV

--HG--
extra : rebase_source : e9c026cbe1eb67bea3c5c041b801a3f8168a65de
2017-09-07 16:35:06 +08:00
Kartikaya Gupta
d6089cccd0 Bug 1404325 - Remove the layers-free pref from about:config. r=jrmuizel
MozReview-Commit-ID: Fk9Mn0AyMFn

--HG--
extra : rebase_source : 7591a5c25d18f123c322ed69d53b9106502c0f11
2017-09-29 09:46:19 -04:00
Sebastian Hengst
5a95ac34b4 merge mozilla-central to autoland. r=merge a=merge 2017-09-29 11:49:46 +02:00
Tom Ritter
74126f852f Bug 1394005 Fix overloaded-virtual warnings in FilterNodeD2D1 r=froydnj
This warning is telling us that we have declared a function in a derived class
with the same name as a virtual function in a base class. The base class functions
can never be called.

In FilterNodeD2D1 we intend to do this (the base class methods are all MOZ_CRASH).
We silence the warning by importing those functions as private so they cannot be
called.

MozReview-Commit-ID: 6ENLKFMMBRy

--HG--
extra : rebase_source : 4230c85f4dca942fad6da347cef341aed5535734
2017-09-29 11:12:38 -05:00
Kearwood "Kip" Gilbert
c5a2279e20 Bug 1400457 - Isolate VR Rendering from Compositor r=daoshengmu,jgilbert
- WebVR is no longer dependent on PTexture, TextureParent,
  TextureHost, and TextureChild.  It continues to use TextureClient
  for pooling and coordinating locks with other Gecko code.
- PreserveDrawingBuffer now behaving correctly for 2d display mirroring
- Preparation for separating to VR process
MozReview-Commit-ID: 2RGOulCInSu

--HG--
extra : rebase_source : 3542b804c3def36fa74541be32d0e7cbc9698641
2017-07-21 17:30:34 -07:00
Jeff Muizelaar
4c11ad7643 Bug 1407654. Inline ToRelativeLayoutPoint. r=kats
This is a very short function and is showing up in profiles because
it's used inside of a hot loop while we're constructing glyph runs.
2017-10-11 11:44:41 -04:00
Sebastian Hengst
3c466b2f77 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-11 11:54:59 +02:00
David Anderson
ef626c4458 Support component-alpha for intermediate surfaces in Advanced Layers. (bug 1402737 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : dc2121d9f479f8c75237cae8ad4ea9f751f42ab6
2017-10-10 17:39:42 -07:00
David Anderson
2b8bc13b5c Remove the ability for LayerManagers to disable complex component alpha cases. (bug 1402737 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : be0a1fb30936acb12d74953b4e599b107b0a0db2
2017-10-10 17:39:41 -07:00
David Anderson
6f05ce71c9 Collect data on how long the main thread blocks on the paint thread. (bug 1386968, r=milan, data_r=francois)
--HG--
extra : rebase_source : d82b658f0383787a7d09ac04d2f5ad66eb4be314
2017-10-10 16:52:24 -07:00
Chih-Yi Leu
89d9591fb8 Bug 1371190 - Part 9: Changes to make the static analysis job happy. r=jgilbert
MozReview-Commit-ID: 8cafjGFthfT
2017-10-09 13:42:06 +08:00
Chih-Yi Leu
6fb9cba985 Bug 1371190 - Part 8: Retry D3D11CreateDevice with feature level 11_0 if 11_1 is not supported. r=jgilbert
MozReview-Commit-ID: 1PGa6CuY7GZ

--HG--
extra : source : 3e5a825eac7d6b07cc6c56a414ab4087030d8ef7
2017-10-04 09:27:43 +08:00
Chih-Yi Leu
c49e2d43c7 Bug 1371190 - Part 7: Re-apply various patches to the in-tree copy of ANGLE. r=jgilbert
Bug 1363216 - Turn off std::future for MinGW.
Bug 1331335 - Add SSE2 Flags to all of libANGLE.
Bug 1364169 - on ANGLE context creation asks for robustness but does not get it.
Bug 1370865 - Suppress more MSVC warnings in gfx/angle.
Bug 1373525 - gfx/angle: Suppress -Wimplicit-fallthrough warnings in third-party code.
Bug 1347866 - Part3: ANGLE patch uplift for bug1325733.
Bug 1347866 - Part4: ANGLE patch uplift for bug1325741.
Bug 1322746 - Add general ID3D11Texture2D to EGLStream support to ANGLE.
Bug 1366425 - Avoid losing context on out of memory error for ANGLE.

--HG--
extra : source : 9aa8f8c7fe616638dd496bdf771d158586732056
2017-10-04 17:27:53 +08:00
Chih-Yi Leu
f8b23c5947 Bug 1371190 - Part 3: Fix moz.build. r=jgilbert
MozReview-Commit-ID: 9wrCBoVGcw7

--HG--
extra : source : b869b8355dddba310d96602b64c0404e68f054b6
2017-10-02 11:57:13 +08:00
Chih-Yi Leu
21e1fd5448 Bug 1371190 - Part 2: Update ANGLE to chromium/3229. r=jgilbert
MozReview-Commit-ID: 5RWR2rPf5DZ

--HG--
rename : gfx/angle/src/common/third_party/numerics/base/numerics/OWNERS => gfx/angle/src/common/third_party/base/anglebase/numerics/OWNERS
rename : gfx/angle/src/common/third_party/numerics/base/numerics/safe_numerics_unittest.cc => gfx/angle/src/common/third_party/base/anglebase/numerics/safe_numerics_unittest.cc
rename : gfx/angle/src/third_party/murmurhash/LICENSE => gfx/angle/src/common/third_party/murmurhash/LICENSE
extra : source : 88ddf39c0d793dc508c3083515e69bfe3eb4d420
2017-10-02 10:25:08 +08:00
Jean-Yves Avenard
b73921d81c Bug 1215089 - P8: Add support for 10/12 bits YUV surface with OpenGL compositor. r=mattwoodrow
MozReview-Commit-ID: BR9G7cyopz0

--HG--
extra : rebase_source : 4a54e12e04b721288f18f7466829fc69d32154ea
2017-09-29 21:51:29 +02:00
Jean-Yves Avenard
9a3a9f486e Bug 1215089 - P6: Add support for 10/12 bits YUV surface with basic compositor. r=mattwoodrow
MozReview-Commit-ID: Ej4MbvHnSk9

--HG--
extra : rebase_source : 69b342e18829816ca3cdd91a3f01252ae2a1ac94
2017-09-29 16:37:56 +02:00
Jean-Yves Avenard
6e1769b5cd Bug 1215089 - P5: Remove dead code. r=mattwoodrow
The method isn't called and the comments referring to it are no longer applicable.

MozReview-Commit-ID: 2FFWhj7wzht

--HG--
extra : rebase_source : 9bc3e9288ce0f38f03a9d33acc902f11703536da
2017-10-04 03:26:45 +02:00
Jean-Yves Avenard
e54f0e8c27 Bug 1215089 - P4: Convert 10/12 bits YUV image to 8 bits prior conversion to RGB. r=mattwoodrow
For now, convert 10/12 bits YUV image to 8 bits. Native support will be tracked in bug 1379948

MozReview-Commit-ID: LOr9X5xxKY7

--HG--
extra : rebase_source : 90b39f46cbc9d5233965e3693c620466557eb8e7
2017-09-29 13:43:09 +02:00
Jean-Yves Avenard
72e08420b1 Bug 1215089 - P3: Add mBitDepth member to YCbCr data structure. r=kamidphish,mattwoodrow
MozReview-Commit-ID: BNLawJOfj3w

--HG--
extra : rebase_source : f538373e317e3e1e5452c0a0d6e00e810148ea87
2017-06-29 23:09:20 +02:00
Jean-Yves Avenard
89b1091f27 Bug 1215089 - P2: Add mDepth member to YCbCr data structure. r=kamidphish
MozReview-Commit-ID: BNLawJOfj3w

--HG--
extra : rebase_source : 6cd0336506a8feda874f6bd6525da73a745d5100
2017-06-29 23:09:20 +02:00
Jean-Yves Avenard
27445fee7a Bug 1215089 - P1: Properly use frame dimensions to determine planes divisors. r=jgilbert
There's no guarantee that the stride of the uv planes is twice as wide as the y plane's stride. This relationship is only true between the planes' width.

MozReview-Commit-ID: JInge1c86Z1

--HG--
extra : rebase_source : 0e9cf5be06812712d50a42db7630f396d0020791
2017-10-04 23:26:42 +02:00
Kartikaya Gupta
561b271b7d Bug 1405399 - Update due to API change in WR cset 75216e5. r=Gankro
MozReview-Commit-ID: GM8qA0MKaHv

--HG--
extra : rebase_source : cb8cddeab931e34ad5cc7392308f177970cdabde
2017-10-04 14:54:37 -04:00
Kartikaya Gupta
f079e04ec7 Bug 1405399 - Update webrender to commit a884e676449e5b41669cd6de51af14e70cbe3512. r=Gankro
MozReview-Commit-ID: AABRgb2Ruds

--HG--
extra : rebase_source : a684696378a40bca275034f5fb8b6de7f6531613
2017-10-04 14:51:00 -04:00
Alexis Beingessner
473825ab3c Bug 1405765 - Only fallback on missing characters with size. r=jrmuizel
MozReview-Commit-ID: Aiae1HOXqi2

--HG--
extra : rebase_source : bc88a3555acfb2c37907cc0ee445e7a79b610f40
2017-10-04 13:55:28 -04:00
Emilio Cobos Álvarez
3104a9c890 Bug 1397626: Add missing explicit. r=me
MozReview-Commit-ID: GdZKJgv5NUh
2017-10-04 14:16:00 +02:00
Cameron McCormack
0b7960f23a Bug 1397626 - Part 3: Use SharedFontList to store font-family specified and computed values. r=xidorn
MozReview-Commit-ID: J3MNO2un2ov

--HG--
extra : rebase_source : 737943aea3d383669a7103d4e23f109889c09034
2017-10-03 12:27:45 +08:00
Cameron McCormack
7713fdd126 Bug 1397626 - Part 2: Replace uses of FontFamilyListRefCnt with SharedFontList. r=xidorn
MozReview-Commit-ID: 7HoBae9UOks

--HG--
extra : rebase_source : c0938e034847e825cab3684b70d097b0e0b8c9f9
2017-10-02 10:24:25 +08:00
Cameron McCormack
369b0c2247 Bug 1397626 - Part 1: Add a SharedFontList class. r=xidorn
MozReview-Commit-ID: 9mx8HTc2CCO

--HG--
extra : rebase_source : b4f55c1071d647bc9aecb078dbe0c6c021cfca64
2017-10-02 10:21:20 +08:00
Sebastian Hengst
7e81b9743d merge mozilla-central to autoland. r=merge a=merge 2017-10-04 11:15:12 +02:00
Ethan Lin
0d6bfa48a2 Bug 1391816 - Move layers-free related functions and variables from WebRenderLayerManager to WebRenderCommandsBuilder. r=jrmuizel
We have too many layers-free things in WebRenderLayerManager. I create a new
class WebRenderCommandsBuilder and move some functions and variables from
WebRenderLayerManager to WebRenderCommandsBuilder.

MozReview-Commit-ID: BJi1E51W7ax

--HG--
extra : rebase_source : ddbfb044d467430403a3c480030ef9dec803c9f7
2017-09-25 15:48:29 +08:00
Jonathan Kew
3fc6a07e35 Bug 1408078 - Crashtest for small-caps + emoji issue. r=jrmuizel 2017-10-12 18:56:01 +01:00
Jonathan Kew
0028134967 Bug 1408078 - Add missing null-checks in MacOSFontEntry::SupportsOpenTypeFeature. r=jrmuizel 2017-10-12 18:43:58 +01:00
Jeff Muizelaar
d057c6f505 Bug 1250461. Don't reject profiles with negative colorant tristiumlus value on macOS. r=mstange
This is basically just this: https://bugs.chromium.org/p/chromium/issues/detail?id=562951
The original profile that caused us to add this check has bigger problems than negative
colorant tristiumlus values. We should reject it using a better metric. In the mean time
let's not reject these things on macOS.
2017-10-12 11:46:08 -04:00
Kearwood "Kip" Gilbert
4eef388a2c Bug 1394600 - Allow VRDisplay.requestPresent update the VR layers after presentation has already begun r=daoshengmu
- A user gesture is required only for the VRDisplay.requestPresent
  call that initiates the VR presentation, as per the WebVR 1.1 spec.
- The parameters of the VRLayer can now be updated by calling
  VRDisplay.requestPresent on an active VR presentation.
- Dynamic resolution switching is now functional:
  https://webvr.info/samples/08-dynamic-resolution.html

iMozReview-Commit-ID: BL7aJfF6nqR
MozReview-Commit-ID: CmhbFJ4ij5q

--HG--
extra : rebase_source : 28a3f608b4f821631e81ccdfe7f7824f9508a7b4
2017-08-28 16:20:59 -07:00
Wes Kocher
61c098eae7 Merge inbound to m-c a=merge CLOSED TREE
MozReview-Commit-ID: 3pMHYV9oXLm

--HG--
rename : dom/base/nsReferencedElement.cpp => dom/base/IDTracker.cpp
rename : dom/base/nsReferencedElement.h => dom/base/IDTracker.h
2017-09-27 16:51:49 -07:00
Jonathan Kew
e592a806a6 Bug 1398802 - Support the AAT 'trak' table when shaping macOS fonts via Core Text. r=jrmuizel 2017-09-27 11:16:35 +01:00
sotaro
b7cab8917e Bug 1403439 - Fix WrExternalImageBufferType of DXGITextureHostD3D11 r=nical 2017-09-27 19:11:48 +09:00
Jeff Muizelaar
06e888a351 Bug 1402004. Use A8 as the format for the dummy drawtarget. r=Gankro
I'm not sure why the original comment was there. Everything seemed
to work in local testing.
2017-09-27 00:02:01 -04:00
Jeff Muizelaar
d432f7bf8f Bug 1403214 - Fix webrender debug prefs. r=nical
The current code sets the wrong flags. Fix them and add the alpha-primitives flag.
2017-09-26 23:58:56 -04:00
sotaro
afe9dcf6ff Bug 1403049 - Remove EGLImageImage r=snorp 2017-09-27 09:56:38 +09:00
Wes Kocher
a341b32d06 Merge autoland to central, a=merge
MozReview-Commit-ID: 8B7y2ULc04
2017-09-26 17:11:14 -07:00
Andrew Osmond
3ab0c4aca3 Bug 1402592 - Ensure that ImageBridgeParent instances are closed by the parent during shutdown. r=dvander
We currently allow the content process to shutdown the IPDL objects on
behalf the parent, and we wait for all of these instances to be freed
before we complete shutdown. This is undesirable because it requires the
parent to trust the child rather than the other way around; the child
can hold shutdown hostage by simply not releasing its instances. The
child should already support the parent closing its graphics IPDL
objects because the GPU process itself can die abruptly and be restored
at a later time.
2017-09-26 14:03:29 -04:00
Andrew Osmond
dbcc485a7a Bug 1389759 - Ensure we tear down CompositorManagerChild correctly if init or the GPU process fail. r=dvander 2017-09-26 13:21:52 -04:00
Andrew Osmond
b294a966cd Backed out changeset 6ed0903b5242 (bug 1389759) because an old version of the patch was landed. 2017-09-26 13:20:21 -04:00
Andrew Osmond
4ef271b6d3 Bug 1389759 - Ensure we tear down CompositorManagerChild correctly if init or the GPU process fail. 2017-09-26 11:31:50 -04:00
David Anderson
502592c19b Assert that the GPU process build ID matches the UI process. (bug 1333056, r=mccr8)
MozReview-Commit-ID: 924UVeGXhsr

--HG--
extra : histedit_source : 5ac6ac13c4f34b75106911fdec1cec2260928fce
2017-09-26 10:16:14 -04:00
Nicolas Silva
96de7b8d80 Bug 1383786 - Delete image keys as soon as they are not used anymore. r=sotaro 2017-09-26 15:31:08 +02:00
Nicolas Silva
f1d8bb2519 Bug 1383786 - Rename TextureHost::PushExternalImage into PushDisplayItems. r=sotaro 2017-09-26 15:31:00 +02:00
Nicolas Silva
f4e0aed003 Bug 1383786 - Update TextureHost image keys when posible. r=sotaro 2017-09-26 15:30:55 +02:00
Nicolas Silva
f8c1fa40c8 Bug 1383786 - Make it possible to update TextureHost image keys. r=sotaro 2017-09-26 15:30:51 +02:00
Nicolas Silva
988b7e111c Bug 1383786 - Simplify generating image keys for TextureHosts. r=sotaro 2017-09-26 15:30:46 +02:00
Kartikaya Gupta
1d607209de Bug 1389000 - Disable crashtests that are crashing with assertion failures with layers-free enabled. r=jrmuizel
MozReview-Commit-ID: 4wyEnrBdXTE

--HG--
extra : rebase_source : 7b45040fdd0a63260ec2f6db90db4ebd8044b4ef
2017-09-26 14:49:21 -04:00
Kartikaya Gupta
28cf2fd185 Bug 1389000 - Skip a mochitest that fails with layers-free enabled. r=jrmuizel
MozReview-Commit-ID: BPpKA3ksFXc

--HG--
extra : rebase_source : 840626d11e39c5287d7a505740efcd2e7f43cf5e
2017-09-26 14:49:20 -04:00
Kartikaya Gupta
818cfd7499 Bug 1389000 - Update reftest annotations for layers-free results. r=jrmuizel
This patch:
- adds fails-if annotations for all the reftests that were consistently failing
  with layers-free turned on.
- removes fails-if or reduces the range on fuzzy-if annotations for all
  the reftests that were producing UNEXPECTED-PASS results with
  layers-free turned on.
- adds skip-if, random-if, or fuzzy-if annotations to the reftests that
  were intermittently failing due to timeout, obvious incorrectness, or
  slight pixel differences, respectively.

MozReview-Commit-ID: A0Aknn6rnjj

--HG--
extra : rebase_source : 420d9cf43f23a5d654fa36eec69138937d13c173
2017-09-26 14:49:19 -04:00
Tom Ritter
b41a3f8520 Bug 1402370 _uuidof is a Microsoft specific extension while IID_* is a portable solution that will fix the MinGW build of GLBlitHelperD3D.cpp r=jrmuizel
MozReview-Commit-ID: 1FfQRZ5e5XG

--HG--
extra : rebase_source : 8e203dcadd5088687d62a16006d8fc3d7b781ec1
2017-09-22 11:10:43 -05:00
Tom Ritter
e485aa7144 Bug 1402370 nullptr cannot be cast to bool, so return false instead of nullptr in GLBlitHelperD3D.cpp r=jrmuizel
MozReview-Commit-ID: EeboZBGD0Es

--HG--
extra : rebase_source : d339355bf5ffd6aa6d8e98f8a5c7ab4e3ec436cf
2017-09-22 11:10:04 -05:00
Tom Ritter
fd8f66ae19 Bug 1364560 Fix detection of Windows in Skia for MinGW build r=lsalzman
Windows detection was broken for the MinGW build. This pulls
in the upstream patch from
https://bugs.chromium.org/p/skia/issues/detail?id=6635

MozReview-Commit-ID: D0ZRIDaPmim

--HG--
extra : rebase_source : d20b6bd4bb1b2a93996775d36fe1c8484d0b0f85
2017-09-22 01:19:27 -05:00
Tom Ritter
6499172d8e Bug 1364560 Add support for disabling Skia Jumper assembly code r=lsalzman
The assembly code is not working in the MinGW build, so we
rebase and pull in the upstream commit that adds support for
not using the optimized jumper assembly code.

https://skia.googlesource.com/skia/+/6492afa7971cf295a3c3cb92a85218917c02bb4a

MozReview-Commit-ID: CARHRTHmQ0i

--HG--
extra : rebase_source : c6d9f19f8742a337e6ab3342d34118f37da71ae7
2017-09-25 23:02:35 -05:00
Kearwood "Kip" Gilbert
8801f82f5e Bug 1381085 - Submit VR frames with a separate ID3DDeviceContextState r=daoshengmu
- Using a separate ID3DDeviceContextState ensures
  that the WebVR context does not stomp over the
  mirrored state used by the MLGPU "Advanced" Layers rendering.

MozReview-Commit-ID: 99mfdsjFrMI

--HG--
extra : rebase_source : 599df3b1344ca1489cbb13169313dff8e767c399
2017-09-18 16:19:49 -07:00
Kearwood "Kip" Gilbert
c0e22d6c35 Bug 1400387 - Change 32-bit VR Frame ID's to 64-bit r=daoshengmu
MozReview-Commit-ID: BSvZMa0XVSO

--HG--
extra : rebase_source : 47c1a2cc9ff756cc1dd9174a12a434c4fbfc4a09
2017-09-15 13:38:47 -07:00
Alexis Beingessner
c3525dd8e7 Bug 1403167 - TextDrawTarget: fallback on partial ligatures. r=jrmuizel
MozReview-Commit-ID: BS4dsb0ndYU

--HG--
extra : rebase_source : 048b646ade53072d9d0734fe10c09074f007a1dc
2017-09-26 13:03:10 -04:00
Sebastian Hengst
72d1ea4a4b merge mozilla-central to autoland. r=merge a=merge 2017-09-27 11:49:57 +02:00
Jean-Yves Avenard
f1942e6f65 Bug 1403190 - P3. Rename and re-organise dxva prefs. r=cpearce
MozReview-Commit-ID: GwDyO1xdiQU

--HG--
extra : rebase_source : b5cf5b56a1fa3413bed8373fca406160ac2691f9
2017-09-26 17:32:02 +02:00
Jean-Yves Avenard
24ce341523 Bug 1403190 - P1. Rename media.windows-media-foundation.* into media.wmf.* prefs. r=cpearce
MozReview-Commit-ID: F9rQoGVPmRt

--HG--
extra : rebase_source : e09c3065dda022208682dda52bca8dfef7ae23dc
2017-09-26 17:00:57 +02:00
Sebastian Hengst
087942d456 Backed out changeset 31a7d05125cc (bug 1403190) for breaking Windows builds due to wrong closing quotation marks in preferences file. r=backout on a CLOSED TREE 2017-09-27 10:18:02 +02:00
Sebastian Hengst
7f458f557d Backed out changeset e6eb65564b76 (bug 1403190) 2017-09-27 10:16:13 +02:00
Jean-Yves Avenard
fec750badb Bug 1403190 - P3. Rename and re-organise dxva prefs. r=cpearce
MozReview-Commit-ID: GwDyO1xdiQU

--HG--
extra : rebase_source : 92ec1dfa25728d48dd22d9549005ead9930f25a9
2017-09-26 17:32:02 +02:00
Jean-Yves Avenard
06bc9c648f Bug 1403190 - P1. Rename media.windows-media-foundation.* into media.wmf.* prefs. r=cpearce
MozReview-Commit-ID: F9rQoGVPmRt

--HG--
extra : rebase_source : 0bb194abe90e720100f2a2a09d0d905d6928aed3
2017-09-26 17:00:57 +02:00
Nicholas Nethercote
dfd3b7e7aa Bug 1400459 (part 2) - Devirtualize nsIAtom. r=heycam.
This patch merges nsAtom into nsIAtom. For the moment, both names can be used
interchangeably due to a typedef. The patch also devirtualizes nsIAtom, by
making it not inherit from nsISupports, removing NS_DECL_NSIATOM, and dropping
the use of NS_IMETHOD_. It also removes nsIAtom's IIDs.

These changes trigger knock-on changes throughout the codebase, changing the
types of lots of things as follows.

- nsCOMPtr<nsIAtom> --> RefPtr<nsIAtom>

- nsCOMArray<nsIAtom> --> nsTArray<RefPtr<nsIAtom>>
  - Count() --> Length()
  - ObjectAt() --> ElementAt()
  - AppendObject() --> AppendElement()
  - RemoveObjectAt() --> RemoveElementAt()

- ns*Hashtable<nsISupportsHashKey, ...> -->
  ns*Hashtable<nsRefPtrHashKey<nsIAtom>, ...>

- nsInterfaceHashtable<T, nsIAtom> --> nsRefPtrHashtable<T, nsIAtom>
  - This requires adding a Get() method to nsRefPtrHashtable that it lacks but
    nsInterfaceHashtable has.

- nsCOMPtr<nsIMutableArray> --> nsTArray<RefPtr<nsIAtom>>
  - nsArrayBase::Create() --> nsTArray()
  - GetLength() --> Length()
  - do_QueryElementAt() --> operator[]

The patch also has some changes to Rust code that manipulates nsIAtom.

MozReview-Commit-ID: DykOl8aEnUJ

--HG--
extra : rebase_source : 254404e318e94b4c93ec8d4081ff0f0fda8aa7d1
2017-09-26 08:33:21 +10:00
sotaro
8c6ed26316 Bug 1402767 - Enable accleleration of GLScreenBuffer when WebRender is enabled r=jgilbert 2017-09-26 13:15:36 +09:00
Matt Woodrow
5fa5f70015 Bug 1402200 - Expose nsRect to pixman_box helpers. r=jrmuizel 2017-09-26 15:57:56 +13:00
sotaro
b283dc671f Bug 1402739 - Fix mutex handling around async ImageContainer r=nical 2017-09-26 09:58:37 +09:00
Wes Kocher
7bf1b49628 Merge inbound to central, a=merge
MozReview-Commit-ID: 7EzhCCVVn7n
2017-09-25 16:41:34 -07:00
Jonathan Kew
7866196811 Bug 1402862 - Remove ENABLE_INTL_API conditional from gfx build files. r=milan 2017-09-25 17:32:47 +01:00
Alexis Beingessner
6803f63105 Bug 1400411 - text-layers: fallback if SVG fonts or tofu is found. r=jrmuizel
MozReview-Commit-ID: 9vUK5r5sKWB

--HG--
extra : rebase_source : 5e4c026cf6c802554772a99064898fde3b414ea8
2017-09-22 10:57:30 -04:00
Sebastian Hengst
d1d55ab8bc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 517PGVX0wPB
2017-09-25 11:58:15 +02:00
Sebastian Hengst
1a3935a05f merge autoland to mozilla-central.r=merge a=merge
MozReview-Commit-ID: JRQXsnsRpCS
2017-09-25 11:56:13 +02:00
Lee Salzman
a593c1be08 Bug 1402585 - don't error when ShmSegmentReader reads empty segments. r=gankro
MozReview-Commit-ID: B18t0mrEIDm
2017-09-24 19:11:17 -04:00
Chris Peterson
45aa2a8e8e Bug 870698 - Part 2: Replace Append("") with AppendLiteral(""). r=erahm
MozReview-Commit-ID: CrkIP4iHP1U

--HG--
extra : rebase_source : 5dc4e91a3f1860773c199f1abf3f66479218834a
extra : intermediate-source : ba51cc79847f2b43ba616f4a5d2bbc6958ca9f6d
extra : source : 1fda2fa990cc918c748ffa14fcc5dbe13fe3bdc3
2017-09-03 22:14:11 -07:00
Chris Peterson
9f4c1f5278 Bug 870698 - Part 1: Replace Assign("") with AssignLiteral(""). r=erahm
MozReview-Commit-ID: A0u9PP49OW3

--HG--
extra : rebase_source : 7d5286959f510eb4b7df1b7e32d5b9b58719c48b
extra : intermediate-source : f552b4a78236c42bc09030b3eb008725a3edb9c8
extra : source : 26ac4a1014f6661a70e3bf9f552407e12c2c3981
2017-09-03 22:12:56 -07:00
Kevin Chen
95f774c5ed Bug 1393376 - (Part 2) Retain BasicLayerManager in WebRenderFallbackData for layer invalidation computation; r=jrmuizel
MozReview-Commit-ID: 6rmJkXzLubX

--HG--
extra : rebase_source : 960c9343da0eb1faf6fe515b2cbddeebc26938c1
2017-09-07 15:04:30 +08:00
Kevin Chen
92bb8afb2a Bug 1393376 - (Part 1) Paint the item when its type is TYPE_FILTER during WebRenderFallbackData generating; r=jrmuizel
MozReview-Commit-ID: JxNa1OGrSVb

--HG--
extra : rebase_source : 0d8bc8aeac1f120bb9eb873f9b9c36ba155d5dda
2017-09-11 15:07:26 +08:00
Chih-Yi Leu
99a304878d Bug 1371190 - Part 1: Modify gecko to be compatible to newer ANGLE. r=jgilbert
MozReview-Commit-ID: 5iK1L4ioVFK

--HG--
extra : rebase_source : 8aff17309936e70441c890f90a48b8c009e19f55
2017-05-24 15:20:02 +08:00
sotaro
aa03799491 Bug 1405947 - Remove argument of BeginTransaction() r=kats 2017-10-06 21:27:26 +09:00
Jeff Muizelaar
2d4dd8435c Bug 1405916. Remove unused bindings to push_nested_display_list. r=kats
Bug 1405819 removed the last usage, and this will be needed for
https://github.com/servo/webrender/pull/1806
2017-10-05 14:21:13 -04:00
Bas Schouten
6c3bb8c38c Bug 1405518: Make SyncObjectClient atomically refcounted as it may be accessed both on the paint and the main thread. r=dvander
MozReview-Commit-ID: K0QvlGlXIIc
2017-10-05 20:08:18 +02:00
Andrew Osmond
50cde04cd4 Bug 1405783 - Fix how CompositorManagerChild::InitSameProcess used the process ID instead of the token. r=me 2017-10-05 08:48:17 -04:00
Chih-Yi Leu
96abdd1366 Bug 1371190 - Part 1: Modify gecko to be compatible to newer ANGLE. r=jgilbert
MozReview-Commit-ID: 5iK1L4ioVFK

--HG--
extra : source : 472a419a8d65f888ebc5d64ae90c59881cef4d73
2017-05-24 15:20:02 +08:00
Kartikaya Gupta
d482a11aaa Bug 1409025 - Fix build with FocusState.cpp logging enabled. r=botond
MozReview-Commit-ID: 4n3tqnPkPPa

--HG--
extra : rebase_source : 97e4d123650f09275714dc3f4154c25328c00035
2017-10-16 10:35:03 -04:00
Markus Stange
a12e240fa0 Bug 1406183 - Include basic layer managers in the display list dumps in layers-free mode. r=mattwoodrow
MozReview-Commit-ID: 6L6w1vgNkHe

--HG--
extra : rebase_source : 31d8c104484751f71843b7094b8bec52beae1fbb
2017-10-06 18:34:12 -04:00
Markus Stange
9694ad049b Bug 1406183 - End empty layer manager dumps with a line break. r=mattwoodrow
MozReview-Commit-ID: LCD0SYqZehK

--HG--
extra : rebase_source : 5c402f463bdb80aedb8031bdf418bfef97b40f57
2017-10-06 18:33:10 -04:00
Markus Stange
1200f014ad Bug 1406183 - Add a boolean aIsInactiveLayerManager to FrameLayerBuilder so that IsBuildingRetainedLayers can return false for inactive layer managers even if there is no containing PaintedLayerData. r=mattwoodrow
MozReview-Commit-ID: KkrEXLD85iP

--HG--
extra : rebase_source : a4a54a95900665476cd725a852ce0915cdfcf73f
2017-10-06 18:32:30 -04:00
Jeff Gilbert
c05dfaa988 Bug 1403798 - Fix EXT_sRGB activation, particularly on Windows+ANGLE+ES2. - r=daoshengmu
MozReview-Commit-ID: 9gC3B1jsX5I
2017-09-28 10:29:01 -07:00
Nicolas Silva
2f7d255fa8 Bug 1403857 - Clear with transparent black to benefit from fast glClear optimization. r=kvark 2017-09-28 16:30:58 +02:00
JerryShih
b28fabcbf6 Bug 1388240 - use EGL stream to support d3d11 A8 format texture. r=jgilbert
For DXGIYCbCrTextureHostD3D11, gecko use 3 separated d3d11 A8 textures
to represent the Y, Cb and Cr data. This patch try to use EGL stream to
convert the d3d11 texture to gl handle. Then, WR could use the converted
gl handle to show the video data without buffer copy operation.

MozReview-Commit-ID: C9w9rzufTOj
2017-09-28 21:43:01 +08:00
JerryShih
39ce3036af Bug 1388240 - turn to use TextureExternalHandle in DXGIYCbCrTextureHostD3D11. r=nical
Create a new type RenderDXGIYCbCrTextureHostOGL for planar-ycbcr format in WR.
That type could convert the 3 d3d11-a8 textures into gl handles. Then, WR could
draw the gl handles directly.

MozReview-Commit-ID: 1CIQO4p8u30
2017-09-28 21:43:01 +08:00
JerryShih
b2d91d1a05 Bug 1388240 - update the DXGITextureHostD3D11::Lock() comment for non-compositor use case. r=nical
MozReview-Commit-ID: ERo8DHpau6c
2017-09-28 21:43:00 +08:00
Sebastian Hengst
e071afa182 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-28 12:17:21 +02:00
Nicolas Silva
3d115cd298 Bug 1402274 - Adjust the shm allocation size in IpcResourceUpdateQueue. r=dvander 2017-09-28 10:30:31 +02:00
Jonathan Kew
04f08a60e2 Bug 1405148 - part 3 - Use Core Text API to check for presence of small-caps feature in AAT fonts. r=jrmuizel 2017-10-11 22:12:43 +01:00
Jonathan Kew
f25ad51b7c Bug 1405148 - part 2 - Map the 'smcp' OpenType feature to its AAT feature-selector equivalent when shaping via Core Text. r=jrmuizel 2017-10-11 22:12:43 +01:00
Jonathan Kew
2f7b2b13bf Bug 1405148 - part 1 - Make gfxFontEntry::SupportsOpenTypeFeature a virtual method, and override on MacOS for AAT fonts that we'll shape with Core Text instead of HarfBuzz. r=jrmuizel 2017-10-11 22:12:42 +01:00
Jonathan Kew
b5fd6b31a5 Bug 1390317 - Don't try to use the mozilla-specific cairo extension from bug 1377257 if we're building with system cairo. r=jrmuizel 2017-10-11 22:12:42 +01:00
Jonathan Kew
6cf848ce12 Bug 1402413 - If the TrueType 'hhea' table metrics resulted in negative maxDescent, assume they're probably broken and prefer metrics from the 'OS/2' table. r=jrmuizel 2017-10-11 22:12:42 +01:00
Jonathan Kew
660b6f8f61 Bug 1403166 - For Khmer AAT fonts, enable the Line Initial Smart Swashes feature, which is (incorrectly) required for some vowels to render properly. r=jrmuizel 2017-10-11 22:12:42 +01:00
Jonathan Kew
d31af3f5c1 Bug 1370927 - For Oriya AAT fonts (as for Bengali and Kannada) enable the Line Initial Smart Swashes feature, which is (incorrectly) required for split-vowel matras to render properly. r=jrmuizel 2017-10-11 22:12:42 +01:00
Kartikaya Gupta
83f90a7210 Bug 1402704 - Ensure WebRender cannot be enabled on Android. r=jrmuizel
MozReview-Commit-ID: AMZ3niupnJ8

--HG--
extra : rebase_source : 7191ba24b173b2bdfe4627e25421fec048ca14eb
2017-09-25 10:47:42 -04:00
Kartikaya Gupta
6310cd82fb Bug 1402439 - Redo how we discard compositor animation ids. r=pchang
Instead of always discarding the compositor animation id, and then
sometimes un-discarding it (which involves a linear lookup in nsTArray),
this patch now has the WebRenderLayerManager keep a set of active
animation ids, and uses that to avoid discarding the same animation
twice.

In addition, because the display item can be destroyed at any time (e.g.
in the middle of an animation), we were previously "leaking" compositor
animations in that the compositor side never got notified to discard the
IDs. This resulted in infinite composition loops. This patch solves this
problem by having any unused WebRenderAnimationData trigger discard of
the animation id during destruction. This way, even if the nsDisplayItem
is deleted in the middle of the animation we have a fallback mechanism
to discard the id.

MozReview-Commit-ID: 8G3EYHcg9Kl

--HG--
extra : rebase_source : 45e99a0d71a76a15b7fc7a0d498a6149501a722d
2017-09-22 16:39:57 -04:00
Kartikaya Gupta
be5b0a23f3 Bug 1402439 - Add some documentation for the compositor animation code. r=pchang
Also removes an unneeded forward-declaration.

MozReview-Commit-ID: 8BPGPtkIBui

--HG--
extra : rebase_source : b3b81e5b5d94b0da67c7a69cd70b3c82a6f1834d
2017-09-22 16:39:53 -04:00
Sebastian Hengst
937b5d72b8 merge mozilla-central to autoland. r=merge a=merge 2017-09-25 12:02:51 +02:00
Sebastian Hengst
c8a131f124 merge mozilla-central to autoland. r=merge a=merge 2017-09-24 23:53:44 +02:00
Alexis Beingessner
9022c22b82 Bug 1400382 - Replace explicit TextDrawTarget passing with cast-based system. r=mstange
MozReview-Commit-ID: EQtFvLQCT2U

--HG--
extra : rebase_source : 1fff1b545c18d42403cf9c30172528e553a6af48
2017-09-21 15:15:58 -04:00
Wes Kocher
6e84ca9226 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7rJ9fpLBazL
2017-09-22 15:06:12 -07:00
Wes Kocher
1443004d66 Merge inbound to central, a=merge
MozReview-Commit-ID: 2MDU9VGB9Pg
2017-09-22 14:56:05 -07:00
Bas Schouten
576b1d0c7d Bug 1392453: Allow a small amount of list-in-list drawing commands. r=mchang
MozReview-Commit-ID: H4w5gPVOhwg
2017-09-22 19:37:02 +02:00
David Anderson
cac14c2173 Fix shutdown leak in TextureSourceProviderMLGPU. (bug 1398304, r=bas) 2017-09-22 09:48:12 -07:00
Ryan Hunt
21b23600b7 Bug 1401638 - Fixup implicit constructor bustage. r=me on a CLOSED TREE 2017-09-22 11:25:17 -04:00
Ryan Hunt
9269f6c8a4 Bug 1401638 - Set and reset mPermitSubpixelAA in push and pop layer for DrawTargetCapture. r=bas
MozReview-Commit-ID: DxeNaiAYJvb

--HG--
extra : rebase_source : ea799e4f4d48b52702423d726304b1a5a96fbb65
2017-09-20 12:23:01 -05:00
Sebastian Hengst
a2d2f547b1 Backed out changeset 3d11e27057a3 (bug 1383786) for build bustage on OS X and Windows at gfx/layers/d3d11/TextureD3D11.cpp(1069). r=backout on a CLOSED TREE 2017-09-22 16:23:31 +02:00
Sebastian Hengst
c2765f570f Backed out changeset fa524e77ef3e (bug 1383786) 2017-09-22 16:22:40 +02:00
Nicolas Silva
7822739981 Bug 1383786 - Make it possible to update TextureHost image keys. r=sotaro 2017-09-22 14:51:46 +02:00
Nicolas Silva
fd98ed2e47 Bug 1383786 - Simplify generating image keys for TextureHosts. r=sotaro 2017-09-22 14:51:42 +02:00
Nicolas Silva
f8fb5b4033 Bug 1402304 - Fix bindings to go with WR cset 4dbc5d8e. r=kats
MozReview-Commit-ID: CxlZhhTAxwk

--HG--
extra : rebase_source : 43138a7dc6fd8687bfe294ba41bd9c5da18a24d5
2017-09-22 10:00:44 -04:00