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

27866 Коммитов

Автор SHA1 Сообщение Дата
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
Kartikaya Gupta e444b24add Bug 1402304 - Update webrender to commit 7a5f60aff33010a44d6acbdc67f27f1f63678b5d. r=jrmuizel
MozReview-Commit-ID: GSDNyYGg0VY

--HG--
extra : rebase_source : 131df5dcbf10a21af463c0e945ebddd874b2c6c9
2017-09-22 09:57:06 -04:00
Lee Salzman ee25ad6434 Bug 1397458 - part 4 - supply font variations to WebRender AddFontInstance r=kats
MozReview-Commit-ID: 6JSMMVK0GZm

--HG--
extra : rebase_source : 07c71d838ecae72271386a645e15b342adc36aba
2017-09-20 23:18:23 -04:00
Lee Salzman 903d4af62b Bug 1397458 - part 3 - add ScaledFont::GetWRFontInstanceOptions for querying WebRender font instance options r=kats
MozReview-Commit-ID: BRDfmwkbOY2

--HG--
extra : rebase_source : 9a11342a28354cac43490df4d1b3ffb0e327dc67
2017-09-19 23:11:02 -04:00
Lee Salzman 5161c570ac Bug 1397458 - part 2 - refactor ScaledFontMac font variation collection for easier reuse r=kats
MozReview-Commit-ID: C2L8tZe4jEa

--HG--
extra : rebase_source : 3b86bd91828cef581a25af65a0d056c5a352f2a2
2017-09-19 23:08:16 -04:00
Lee Salzman 4467a6148b Bug 1397458 - part 1 - expose font variations directly in ScaledFont/DrawTargetRecording r=kats
MozReview-Commit-ID: 28egBaMImO8

--HG--
extra : rebase_source : cc2e870507e7ac7ccbd666d4ed6ca61c8cd373fa
2017-09-17 21:21:15 -04:00
Kartikaya Gupta 36d9b3e3e4 Bug 1401244 - Update call to set_window_parameters for API change in WR cset f88825b. r=jrmuizel
MozReview-Commit-ID: AqpuZiClTjk

--HG--
extra : rebase_source : 77989c868712731fea42f4481c23167bb94aea8e
2017-09-22 08:54:32 -04:00
Kartikaya Gupta f1c3046b7d Bug 1401244 - Update webrender to commit 2a005f156b9f25862a2dc8443b57be37168233f2. r=jrmuizel
MozReview-Commit-ID: IJ9TXtRw8j3

--HG--
extra : rebase_source : fc0f28ef5535aad1b33548ee4f6825cb3bbea0a3
2017-09-22 08:52:50 -04:00
Sebastian Hengst 2479eaedbf merge mozilla-central to autoland. r=merge a=merge 2017-09-22 11:50:19 +02:00
Nicholas Nethercote e3c9cbb969 Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.

--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Ethan Lin fb32d577e9 Bug 1398706 - Always create new clip ids in ScrollingLayersHelper if it's inside a mask. r=kats
MozReview-Commit-ID: Hhsbgpqddo1

--HG--
extra : rebase_source : 40507644148da5bfe6ca3dd5f1f438ac9e7e10ff
2017-09-19 17:05:22 +08:00
Wes Kocher 640a5d3c46 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsEMW5gXG3W
2017-09-21 17:04:36 -07:00
Wes Kocher a7fe048680 Merge inbound to central, a=merge
MozReview-Commit-ID: E7k4xViLm4V
2017-09-21 17:03:29 -07:00
Jonathan Kew 230ad8f9a7 Bug 1376231 - Invert the sign of glyph advance and origin y-coordinates in vertical mode, to match harfbuzz expectations, and then convert the resulting glyph positioning back to gecko's orientation. r=jrmuizel 2017-09-21 14:15:02 +01:00
sotaro 99c13fbf3d Bug 1387920 - Drop all ImageContainers' ImageClients during disabling WebRender r=nical 2017-09-22 08:21:09 +09:00
Ethan Lin 00d745a022 Bug 1401945 - Do not use the WebRenderUserData after it's removed. r=jrmuizel,kats
MozReview-Commit-ID: AL8tO0ZxVkF

--HG--
extra : rebase_source : afada5ee9d7b1b1f1dee649ad48db6c65d1e65c2
2017-09-21 23:15:55 +08:00
Jonathan Kew 815fd00452 Bug 1402049 - Remove support for using legacy Gecko normalization in gfxHarfBuzzShaper, as ICU is always available. r=jrmuizel 2017-09-22 10:37:16 +01:00
Morris Tseng ce9b629335 Bug 1392200 - Add backface-visibility support for layers-free mode. r=kats
For layers-full mode, we set the backface-visibility to visible because
visibility would be handled by FLB and layers.

MozReview-Commit-ID: CUbeUabfC7K
2017-09-21 14:41:38 +08:00
Morris Tseng d17dfbe119 Bug 1392200 - Update interfaces for backface-visibility support. r=kats
MozReview-Commit-ID: 6ctGRSUI3pB
2017-09-21 14:41:38 +08:00
David Anderson 674b0fb7ee Revert asynchronous window resizes on Windows. (bug 1380462, r=bas) 2017-09-20 21:48:38 -07:00
Jeff Muizelaar d1f3804a22 Bug 1401606 - Change a bunch of asserts! to debug_asserts! r=kats
I saw these show up a bit in profiles and we have a better idea which
threads to call things on now.
2017-09-20 23:11:20 -04:00
sotaro f287c29540 Bug 1399652 - Add more IPCOpen() checks to WebRenderBridgeChild r=kats 2017-09-21 09:41:34 +09:00
Mason Chang 652642b7da Bug 1399692 - Backed out changeset 46f0b004bdd2 for not cleaning up content client on the right thread. r=bas
MozReview-Commit-ID: 2eocRWGxjzA

--HG--
extra : rebase_source : 6095b77f15e26f44cd8cc127184781f05b040e68
2017-09-20 08:38:30 -07:00
Bas Schouten 973de6713e Bug 1400573: Back out initial fix for bug 1392453. r=mchang
MozReview-Commit-ID: 3c3vJbL4kXS
2017-09-20 14:57:25 +02:00
Andrew Osmond 085ed59d74 Bug 1401668 - Change ImageBridgeParent to acquire a compositor thread reference on construction. r=dvander 2017-09-20 15:59:08 -04:00
Wes Kocher 8afe601b42 Backed out 2 changesets (bug 1376231) for reftest failures in 1376231-vertical-gpos-adjustments-ref.html a=backout
Backed out changeset e4edd97bf01a (bug 1376231)
Backed out changeset b36ff08b10ee (bug 1376231)

MozReview-Commit-ID: IiPIU5iGnWV
2017-09-20 10:41:55 -07:00
Jonathan Kew 06005702ce Bug 1376231 - Invert the sign of glyph advance and origin y-coordinates in vertical mode, to match harfbuzz expectations, and then convert the resulting glyph positioning back to gecko's orientation. r=jrmuizel 2017-09-20 17:27:00 +01:00
Nicolas Silva 2c985587a8 Bug 1400532 - Separate small and large shmem allocations in IpcResourceUpdateQueue. r=jrmuizel 2017-09-20 13:39:19 +02:00
Nicolas Silva 61546da339 Bug 1393031 - Remove unused nsTArray<WebRenderParentCommand>& parameter all over the place. r=jrmuizel 2017-09-20 13:36:53 +02:00
Nicolas Silva a246a25d0a Bug 1393031 - Remove OpAddExternalImage from WebRenderParentCommands. r=sotaro 2017-09-20 13:36:44 +02:00
Kartikaya Gupta da21f7fca0 Bug 1399505 - Generate WR sticky frames from nsDisplayStickyPosition display items. r=mstange
MozReview-Commit-ID: 4ZCcdlBtEGi

--HG--
extra : rebase_source : 435696d31faef583f8abf3267a14b4699c449716
2017-09-21 10:11:41 -04:00
Kartikaya Gupta 59ea9aa15f Bug 1399505 - Expose the API to add sticky frames to the WR display list. r=mstange
MozReview-Commit-ID: 1SEz6bqMoME

--HG--
extra : rebase_source : 133853e09f8bc5b1e7d725a53ef3d6a0ab1fdc00
2017-09-21 10:11:39 -04:00
Sebastian Hengst 0f2ed2d557 merge mozilla-central to autoland. r=merge a=merge 2017-09-21 15:28:11 +02:00
peter chang 6cc8c75644 Bug 1396471 - Keep the running compositorAnimationsId alive on the compositor, r=kats
If the compositor animations are still valid, we don't need to add its id to the discarded list.
This patch also reduces unnecessary SendDeleteCompositorAnimations calls.

MozReview-Commit-ID: AcbVUk3MUo7

--HG--
extra : rebase_source : fa8b1e5b4c9d3e81826eef621926975c967985a0
2017-09-21 16:18:03 +08:00
Sebastian Hengst 79bca6297c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-20 11:50:40 +02:00
Jonathan Kew d128131aec Bug 1377515 - Use GetFontTable rather than CopyFontTable in gfxDWriteFontEntry::IsCJKFont() to try and avoid copying. r=bas 2017-09-20 10:10:01 +01:00
Nicolas Silva 9ffda11244 Bug 1393031 - Use IpcResourceUpdateQueue in more places. r=jrmuizel 2017-09-20 10:56:20 +02:00
Nicolas Silva ae42b5181a Bug 1393031 - Begin moving OpAddExternalImage to IpcResourceUpdateQueue and recycle image keys in WebRenderImageLayer. r=jrmuizel 2017-09-20 10:56:09 +02:00
Ethan Lin c409bddad6 Bug 1397375 - Part2. Add a table in layer manager to keep webrender user data and remove unused data in each transaction. r=jrmuizel
MozReview-Commit-ID: HsO3BCc2eeL

--HG--
extra : rebase_source : ae757729d57e111821126a83db186f48832fde23
2017-09-14 14:39:00 +08:00
Ethan Lin 4edbf55ce8 Bug 1397375 - Part1. Store frame, display item key, and user data table in the webrender user data. r=jrmuizel
MozReview-Commit-ID: IvKBy4MG8vw

--HG--
extra : rebase_source : 88ab824a5c061630336b1b3279adb04e6a0a49cf
2017-09-14 14:38:12 +08:00
Wes Kocher 3baa8a7e6e Merge inbound to central, a=merge
MozReview-Commit-ID: 5B5W6AHKcCb
2017-09-19 14:49:11 -07:00
Nicolas Silva 3434431a1a Bug 1397407 - Apply deferred image key deletions to the next transaction. r=Gankro 2017-09-15 13:24:31 +02:00
Andrew Osmond 7c2def1540 Bug 1380649 - Part 2. Ensure SourceSurfaceVolatileData does not forget its purged state. r=jrmuizel
Currently if SourceSurfaceVolatileData::Map fails due to being purged,
we expect that the surface will be discarded by the caller. This has not
consistently been the case, and as such, we should ensure we do not
forget if a buffer was previously purged when we reacquire it. Since we
do not at this time support repopulating an already allocated buffer
with new data, we cannot reset this state once it has been set.
2017-09-19 08:19:48 -04:00
Sebastian Hengst f6d104d246 Backed out changeset 58844e6f37b2 (bug 1380649) 2017-09-19 10:49:04 +02:00
sotaro c41f9edbea Bug 1366700 - Remove MOZ_CRASH in GLContextEGLFactory::Create r=jgilbert 2017-09-19 11:26:31 +09:00
Andrew Osmond 9df74d4975 Bug 1380649 - Part 2. Ensure SourceSurfaceVolatileData does not forget its purged state. r=jrmuizel
Currently if SourceSurfaceVolatileData::Map fails due to being purged,
we expect that the surface will be discarded by the caller. This has not
consistently been the case, and as such, we should ensure we do not
forget if a buffer was previously purged when we reacquire it. Since we
do not at this time support repopulating an already allocated buffer
with new data, we cannot reset this state once it has been set.
2017-09-18 20:08:05 -04:00
Wes Kocher 57987f930c Merge m-c to inbound, a=merge
MozReview-Commit-ID: FOmIgsEP2fb
2017-09-18 16:23:47 -07:00
Wes Kocher 519bb0922b Merge inbound to central, a=merge
MozReview-Commit-ID: EK8iFR1hSRp
2017-09-18 16:21:01 -07:00
Jeff Gilbert 3f6254c645 Bug 1396704 - Remove assert, which was the whole point of this bug.
MozReview-Commit-ID: HB5p6Kt0zTb
2017-09-18 14:40:22 -07:00
Andrew Osmond 6ecbc94614 Bug 1389021 - Force CompositorManagerParent to close before shutting down the compositor thread. r=dvander,me 2017-09-18 16:13:03 -04:00
Lee Salzman a20c1a8d1c Bug 1400721 - fix Skia's glyph LCD filter padding for FreeType 2.8.1. r=jrmuizel
MozReview-Commit-ID: JFvnANsTS0r
2017-09-18 15:28:37 -04:00
Botond Ballo 6ad906fc6d Bug 1400440 - Apply scroll shift for dynamic toolbar to the composited scroll offset right away. r=kats
MozReview-Commit-ID: 1I7C0lFx4WP

--HG--
extra : rebase_source : 9c6ae39e10a2f9b86d2886140ee2e0d4f5cb4fda
2017-09-15 19:47:46 -04:00
Chris Peterson 793bc69260 Bug 1400705 - cairo: Fix -Wunknown-warning-option clang warning about gcc flag (and suppress some other warnings). r=lsalzman
* The -Wno-unused-but-set-variable flag is supported by gcc but not clang, so move it to a gcc-only CFLAGS.

* The -Wno-error=uninitialized flag is supported by both gcc and clang, so move it to CFLAGS shared by gcc and clang.

* Also suppress -Wunreachable-code and -Wshift-negative-value clang warnings. gcc supports -Wshift-negative-value, but only starting in gcc 6.1 and we are still using gcc 4.9 in automation.

warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
gfx/cairo/cairo/src/cairo-quartz-surface.c:1908:6: warning: code will never be executed [-Wunreachable-code]
gfx/cairo/libpixman/src/pixman-bits-image.c:268:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]

MozReview-Commit-ID: AnQAsfDaZbk

--HG--
extra : rebase_source : 6dd94a39479e05f67f93d4e4be2bd10ece4df7be
extra : source : 34ddaea5129be2ae1e9faa0a1d905b8690909611
2017-09-16 21:01:25 -07:00
Sebastian Hengst fe767114c9 Backed out changeset 7d0893f1b6ce (bug 1389021) for leaking in mda2 on Linux x64 asan (bug 1374856). r=backout a=backout
MozReview-Commit-ID: AeaKVgSJTmt
2017-09-17 14:26:25 +02:00
Andrew Osmond 9d96dc8060 Backed out changeset 722569a89186 (bug 1380649) due to bug 1400549 and getting the crash signatures we needed. 2017-09-16 10:47:56 -04:00
Sebastian Hengst 1d35d25f21 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1Wa3jV6n7Wj
2017-09-16 11:35:02 +02:00
Sebastian Hengst f67a124350 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DStzDVD5j1G
2017-09-16 11:29:51 +02:00
Sebastian Hengst a2102f9d09 Backed out changeset 70f5f23a429f (bug 1397407) for letting Talos g1 timeout and spam its log on Linux x64 QuantumRender opt. r=backout a=backout
MozReview-Commit-ID: DOv1JPa2f7U
2017-09-16 10:57:44 +02:00
Ryan VanderMeulen e1d23c6fa7 Merge inbound to m-c. a=merge 2017-09-15 14:20:02 -04:00
Gregory Szorc 3b3a704584 Backed out changesets 98e46ead3522 and 52e6fce3e6f6 (bug 1399870) for Windows test failures; a=backout
--HG--
extra : histedit_source : 380fa58fada541be8dabf03b88aed89b8ba0d073%2C854308f608c4dec795868abd41d7d651952e0df7
2017-09-15 15:52:03 -07:00
Ted Mielczarek 8439a24741 bug 1399870 - Make DEFFILE a Path instead of a string. r=gps
DEFFILE is currently just used as a passthrough variable. All but one of
the current uses of it use `SRCDIR + '/file.def'` to get a srcdir-relative
path anyway, and the other one wants an objdir-relative path, so using
Path makes everything clearer.

This makes it more straightforward to translate the paths for the WSL
build.

MozReview-Commit-ID: IRokABaZW2c

--HG--
extra : rebase_source : ae74c984bb2aab70211dc5974a8b052651e025dd
2017-09-14 06:24:43 -04:00
Kartikaya Gupta 40d581989b Bug 1400378 - Add layers logging support for Point3D. r=mattwoodrow
MozReview-Commit-ID: 9W3gDi7wyQF

--HG--
extra : rebase_source : 76b225bb06381bea8211aa905c9006cc3745fdc8
2017-09-15 16:08:12 -04:00
Jonathan Kew 30dd92d9f5 Bug 1373852 - Map font-kerning:normal to the appropriate low-level feature depending on orientation. r=jrmuizel 2017-09-15 21:52:06 +01:00
Andrew Osmond 2b3ebd2479 Backed out changeset 727f0d09e299 (bug 1399453) because the annotations are no longer needed. 2017-09-15 15:11:29 -04:00
Andrew Osmond 55897b37f2 Bug 1380649 - Assert if we remap a purged SourceSurfaceVolatileBuffer. r=jrmuizel
There have been reports of images remaining in the surface cache but no
longer containing the previously decoded data. Instead these appear as
transparent (BGRA) or black (BGRX). This suggests that somehow the image
surface buffer was reset to all zeroes. Additionally this seems to be
correlated with suspend and resume.

One possibility is that the OS purged our volatile buffers on suspend.
This is because we are supposed to be able to regenerate the contents
anyways, so it could choose to not preserve the data on suspend. In
general we should recover from this however and clearly we are not.

This patch adds a diagnostic assert to ensure that a buffer which was
previously purged is not reused later, as we should be discarding said
buffers.
2017-09-15 14:47:52 -04:00
Nicolas Silva 558383f150 Bug 1397407 - Apply deferred image key deletions to the next transaction. r=Gankro 2017-09-15 13:24:31 +02:00
Sebastian Hengst ec66bbd3e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4dRrVdftJVy
2017-09-15 11:05:11 +02:00
Mason Chang 89e6c162b2 Bug 1399692 - Copy the front buffer to the back buffer on the paint thread with OMTP enabled. r=bas 2017-09-14 15:09:53 -04:00
Sebastian Hengst 09dd8ba13f merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : ee605ac050c0532521f96bdeda5ef20fb0099519
2017-09-15 00:18:43 +02:00
Sebastian Hengst 71720207e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JHeyFz4rx1v
2017-09-14 23:58:56 +02:00
Jonathan Kew 1151db8b05 Bug 1398133 - Simplify gfxCoreTextShaper code by removing legacy code only needed on 10.7 and earlier. r=jrmuizel 2017-09-14 22:45:26 +01:00
Sebastian Hengst a4941b4e64 Backed out changeset 5dff64340068 (bug 1397407) because it depends on bug 1393031. r=backout on a CLOSED TREE 2017-09-14 23:36:02 +02:00
Sebastian Hengst 7f7575bb84 Backed out changeset 67ca40453027 (bug 1393031) for failing e.g. reftest layout/reftests/image/image-srcset-basic-selection-2x-ref.html on QuantumRender. r=backout 2017-09-14 23:18:49 +02:00
Sebastian Hengst 005f4f5fc0 Backed out changeset 8291145f0920 (bug 1393031) 2017-09-14 23:18:05 +02:00
Sebastian Hengst 23c1c9203d Backed out changeset 980729ab6e94 (bug 1393031) 2017-09-14 23:17:59 +02:00
Sebastian Hengst d27b05e04e Backed out changeset f34a52244cf9 (bug 1393031) 2017-09-14 23:17:35 +02:00
Ryan VanderMeulen 277d6a438f Merge m-c to inbound. a=merge 2017-09-14 10:52:18 -04:00
Bas Schouten d0bbe46a35 Bug 1399178: Record SetPermitSubpixelAA. r=dvander
MozReview-Commit-ID: HfMK5SOSFtr
2017-09-13 19:15:16 +00:00
Andrew Osmond 32faf18553 Bug 1389021 - Force CompositorManagerParent to close before shutting down the compositor thread. r=dvander 2017-09-14 10:02:30 -04:00
Hiroyuki Ikezoe aef8a014cd Bug 1399714 - Iterate animation segments for setting start/end values and timing functions just once. r=boris
MozReview-Commit-ID: 7ySuFcSi3cH

--HG--
extra : rebase_source : aef6b905fb34782700fc354905fc0a5d4c72e857
2017-09-14 12:59:06 +09:00
Julian Seward 2431b86fb3 Bug 1399489 - CanvasLayer::CanvasLayer(LayerManager*, void*): missing initialisations. r=nical. 2017-09-14 12:19:49 +02:00
Sebastian Hengst 006a58c35d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2iVDKexRjxu
2017-09-13 23:58:43 +02:00
Andrew Osmond 85db0466a2 Bug 1399453 - Temporarily annotate crash reports with compositor thread owners. r=dvander
From the crashes associated with bug 1389021, we know that some
compositor thread IPDL owners are not being cleaned up properly. We do
not know which protocols are causing the problem, so we temporarily will
annotate the logs with the ownership status. This should be limited to
under a dozen instances of the protocols.

This change will be backed out after a few builds are produced with it
and we see the first crash reports with the relevant data.
2017-09-13 11:16:05 -04:00
David Anderson 7723f663ea Bypass DecomposeIntoNoRepeatRects when possible. (bug 1396507 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 7e251cceb9b380b3fbe090090ded085a6b83df50
2017-09-13 09:30:26 -04:00
David Anderson 43bdfcc4d2 Clean up how textured regions are added to draw calls. (bug 1396507 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 671b6887d2772cd9045359f753ab0edb95a85698
2017-09-13 09:29:50 -04:00
David Anderson e58695c682 Clamp the visible region of ImageLayers to the picture rect. (bug 1396507 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 193aeefd657c1a4066dc6dfaa35c00e34e574ef6
2017-09-13 09:29:00 -04:00
Botond Ballo aa3610ce43 Bug 1367765 - Put apz scrollbar touch-dragging behind a pref. r=rhunt
The pref is enabled by default, but it allows the feature to be disabled
easily if necessary.

MozReview-Commit-ID: Iu1JmMKEQv9

--HG--
extra : rebase_source : 57c27ef5840d4932e28cda2eb2f6e921ccd11a71
2017-09-12 19:38:30 -04:00
Sebastian Hengst 7dd2b068b5 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 13:35:21 +02:00
Sebastian Hengst e4a2f44531 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9SALJlvWgoZ
2017-09-13 13:32:44 +02:00
Sebastian Hengst 1fbe7771e8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GUc4LEY8qp4
2017-09-13 11:27:47 +02:00
Sebastian Hengst a3ed708553 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 11:44:38 +02:00
Morris Tseng b15936e47c Bug 1399050 - Apply inherited scale on 3d transform as well. r=kats
MozReview-Commit-ID: 8F1d4NzVcam
2017-09-13 17:07:17 +08:00
Alastor Wu 0eecc91949 Bug 1397141 - part2 : move resolution constraints to WMFVideoMFTManager r=jya
WMFDecoderModule should only focus on whether the mime type is supported or not.
Let WMFVideoMFTManager do the checking.

MozReview-Commit-ID: K6jPfrntu7s

--HG--
extra : rebase_source : f6ba055824c3a7ebac85666e3201fd6b79e8d815
2017-09-13 15:05:37 +08:00
Sebastian Hengst 483665f6a4 Backed out changeset 81a987374ac7 (bug 1397141) 2017-09-13 09:25:55 +02:00
Alastor Wu 8c01968e21 Bug 1397141 - part2 : move resolution constraints to WMFVideoMFTManager r=jya
WMFDecoderModule should only focus on whether the mime type is supported or not.
Let WMFVideoMFTManager do the checking.

MozReview-Commit-ID: K6jPfrntu7s

--HG--
extra : rebase_source : f6ba055824c3a7ebac85666e3201fd6b79e8d815
2017-09-13 15:05:37 +08:00
peter chang 75200fdf13 Bug 1394308 - Pass perspective transform attribute to compositor for OMTA, r=kats
MozReview-Commit-ID: EjyuCfnswqu

--HG--
extra : rebase_source : 556db00f7c58b8b49bdafe9ca77785bce819a000
2017-09-07 11:50:41 +08:00
Botond Ballo 6855c57a08 Bug 1367765 - Do not set the 'active' content state flag on scrollbar thumbs in ActiveElementManager. r=rhunt
Unlike regular content, scrollbar thumbs use a different mechanism for
triggering their 'active' style, and no one will clear this flag if
ActiveElementManager sets it.

MozReview-Commit-ID: AfloVYRkvQA

--HG--
extra : rebase_source : e89fe4eefe615d3f65d2471ff59aa9d51d9ae5e2
2017-09-06 18:49:31 -04:00
Botond Ballo dd02dd2f89 Bug 1367765 - Implement scrollbar touch-dragging in APZ. r=rhunt
The general implementation strategy is to detect whether a touch
block is a scrollbar drag, and if so, convert the touch events
to mouse events before sending them to InputQueue. This is done
so that code for handling mouse-drags in InputQueue and APZC
can be re-used.

Content will receive the original touch events, not the synthesized
mouse events. This is done for two reasons:

  1) We don't really have a mechanism for APZ to send content
     synthesized events.

  2) Content already deals with touch events that drag a scroll
     thumb correctly.

MozReview-Commit-ID: 7cksE5FMGoS

--HG--
extra : rebase_source : 2e1420a9ae2b9b16c54b89a9cafa0aa9926434b2
2017-09-12 19:38:26 -04:00
Botond Ballo 76a236a5cb Bug 1367765 - Factor out a SetupScrollbarDrag() helper function. r=rhunt
MozReview-Commit-ID: 9IMZRMUHpDy

--HG--
extra : rebase_source : bc5c153f2b2ca09ea3253b50efbca629763305e3
2017-09-07 00:05:28 -04:00
Jean-Yves Avenard 66188b449c Bug 1352016 - P3. Check if NV12 rendering is usable when allocating D3D11 surface. r=mattwoodrow
MozReview-Commit-ID: EgA6lEeIyBj

--HG--
extra : rebase_source : cb3c4e5e864085fe76514096d6d9aa9b49d0a334
2017-09-10 17:54:31 +02:00
peter chang 7780b1e846 Bug 1394308 - Apply inherited scale for OMTA to support layers-free, r=kats
Expose the API to get/set inherited scale from stacking context and we can
use these APIs to calculate correct scale for OMTA

MozReview-Commit-ID: DZEkodHTy8v

--HG--
extra : rebase_source : be3c978c8f48c9b1bfcd01cff6bb8200092b5e60
2017-09-06 16:29:52 +08:00
Randall Barker f48938b5ee Bug 1392705 - part 2: Ensure LayerManagerComposite::RenderToPresentationSurface checks the compositor widget before using it r=kats
MozReview-Commit-ID: 6EP9Pp4h5cP

--HG--
extra : rebase_source : 878dac0056cb96a6206d39bd000425578503ec2b
2017-09-01 11:17:12 -07:00
Randall Barker 000c7b874b Bug 1392705 - part 1: Make UiCompositorControllerChild::Destroy synchronous r=dvander
Ensure the UiCompositorControllerChild is shutdown in the UI thread
before the compositor thread is shutdown by the main thread.

MozReview-Commit-ID: 4hXYxSi9tzz

--HG--
extra : rebase_source : fd265b39986f453ea9ab59c60bb80319b74e8f9c
2017-08-31 14:26:46 -07:00
Kartikaya Gupta fc4b1372bc Bug 1400034 - Do a more direct translation of transforms from Gecko to WR in layers-free mode. r=ethlin,pchang
In layers-free mode the gecko display list and coordinate system is very
similar to what WR is expecting. Instead of having each
StackingContextHelper shift the origin of the coordinate system, we can
leave it in one spot and just pass everything relative to that. The
semantics of the Gecko display list already matches this; the exception
is that nsDisplayTransform items are also considered reference frames,
and anything inside them is relative to the nsDisplayTransform. On the
WR side this is also the case, because stacking contexts with a
transform are implicitly turned into reference frames.

Additionally, the size of the bounds passed to the WR stacking context
is never actually used, except on the root stacking context (which is
not created by StackingContextHelper). Since we want a zero origin (as
explained above) and the size is never used, we can just pass a zero
rect to the WR stacking context from StackingContextHelper.

In terms of the actual transform matrix, this patch now passes the full
unmodified transform from nsDisplayTransform into WR. This transform
gets applied onto the contents of the nsDisplayTransform. The contents'
coordinate system is relative to the frame that generated the
nsDisplayTransform. Again this maps directly to WR, where the transform
on the stacking context gets applied to the contents of the stacking
context; the contents' coordinates are relative to the stacking context.

MozReview-Commit-ID: 9hdDxdKXPPi

--HG--
extra : rebase_source : b201cea867c6c6e26c2b0bcd0e38c8722f09fe77
2017-09-17 10:37:43 -04:00
Kartikaya Gupta a96084d405 Bug 1400034 - Back out changes that introduce scaling complexity to StackingContextHelper. r=ethlin,pchang
This backs out bug 1399050, bug 1394308 (2 patches), and bug 1391499. I
believe these patches sent us down a path that would make the code
increasingly more complex, when in fact we can do a more "direct"
translation from the gecko display list to the WR display list and make
things a lot simpler and more correct.

MozReview-Commit-ID: ZXXkI9DXiY

--HG--
extra : rebase_source : 47ce1fcb87f0c21d158ee06f38e2b3303f999270
2017-09-17 10:37:42 -04:00
FSeita f3d5101a06 Bug 1376333 - Improve naming of accumulation types & variables r=Dexter
MozReview-Commit-ID: F9w7CLUOP6r

--HG--
extra : rebase_source : 5330f9cb47145f5867a92277f4fa6c610e8eed56
2017-09-13 11:20:36 +02:00
Kartikaya Gupta 0be4e0f156 Bug 1399630 - Update webrender to commit 878914aaf4d230fa449ff7800b529fe9023fc3c5. r=jrmuizel
MozReview-Commit-ID: IuNfqTZ57Tb

--HG--
extra : rebase_source : 68d6e941c164e08e0393b335414d6fb9ca65320e
2017-09-15 08:07:24 -04:00
Ethan Lin 3cfe4ce67f Bug 1393077 - Part2. Round the offset for the fallback. r=kats
MozReview-Commit-ID: GfTrA7bChuc

--HG--
extra : rebase_source : 97e8cd78d3cc783679fabb5d0f094b0b6e110209
2017-08-31 18:20:06 +08:00
Ethan Lin 87d42ae44a Bug 1393077 - Part1. Round the transformed rectangles and transformed points in StackingContextHelper. r=kats
MozReview-Commit-ID: Gk5z6BwsuTM

--HG--
extra : rebase_source : 36db102162518622f1da659ff83fb71fe4d9eccf
2017-08-31 17:59:41 +08:00
Bas Schouten 63719ddbc7 Bug 1399247: Limit the scope of D3D11MTAutoEnter in order to avoid holding it while grabbing the D2D lock. r=mchang
MozReview-Commit-ID: KFKEIZBOIiy

--HG--
extra : rebase_source : 1f5808b63e4e53bc9e0daf1f9abb2770a5e477b4
2017-09-12 20:46:53 +00:00
Wes Kocher 7a8b3e02a0 Backed out 4 changesets (bug 1352016) for gfx crashes in test_TelemetryEnvironment.js a=backout CLOSED TREE
Backed out changeset dd7342e18e67 (bug 1352016)
Backed out changeset ebc7c92e8dc0 (bug 1352016)
Backed out changeset e79e512f803f (bug 1352016)
Backed out changeset 9eed6a69298c (bug 1352016)

MozReview-Commit-ID: CYDuqu0Hmtb
2017-09-12 17:09:40 -07:00
Kearwood "Kip" Gilbert bcd45085c6 Bug 1394561 - Ensure WebVR content can catch up when IPC messages are delayed r=daoshengmu,kanru
MozReview-Commit-ID: F4NKtyaNwEo

--HG--
extra : rebase_source : fb7b2fc51de6b9cf94e6d6bb1837464ec7ea528b
2017-08-31 16:29:14 -07:00
Jean-Yves Avenard cf367ef0c5 Bug 1352016 - P2. Check if NV12 rendering is usable when allocating D3D11 surface. r=mattwoodrow
MozReview-Commit-ID: EgA6lEeIyBj

--HG--
extra : rebase_source : 7b8a8f1669d268a5e1512320b891b35722fe4c14
2017-09-10 17:54:31 +02:00
Sebastian Hengst 220e7cecae merge mozilla-central to autoland. r=merge a=merge 2017-09-15 00:01:52 +02:00
Markus Stange c0139d2740 Bug 1387594 - Respect the font smoothing background color in pushed layers again. This backs out bug 1386643. r=jrmuizel
MozReview-Commit-ID: KNsd7tKuRk1
2017-09-14 23:09:48 +02:00
Markus Stange b5fdbfc62c Bug 1387594 - Stop getting the font smoothing background color from the theme. r=mattwoodrow
MozReview-Commit-ID: 2r1B8SvEkEl
2017-09-14 23:09:47 +02:00
Daosheng Mu a9f76cd981 Bug 1383907 - Enable WebVR reftests on macOS; r=jgilbert,kip
MozReview-Commit-ID: 2OpA95QWI4d

--HG--
extra : rebase_source : b2457c5690fe8290d407c7fab11f29afdeda159c
2017-08-25 00:30:31 +08:00
Alexis Beingessner 6b38993c8b Bug 1399274 - Block invisible text optimizations when using WebRender. r=jrmuizel
Mostly just threading the TextDrawTarget deeper into the code to use a boolean.
A lot of places are trying to optimize away invisible text!

MozReview-Commit-ID: 89sDAwUv0HA

--HG--
extra : rebase_source : 8d800702232aec6626a33f2d6be893708d0bbfee
2017-09-13 14:05:51 -04:00
Sebastian Hengst 45bab258b7 merge mozilla-central to autoland. r=merge a=merge 2017-09-14 00:11:28 +02:00
Bas Schouten 2d48dc6667 Bug 1392453: Allow limiting the blend surface area and the portion of the layer being resolved. r=mchang
This introduces the infrastructure to specify the bounds of drawing commands being executed. These bounds can then be used to limit operations done for blending in order to reduce required fillrate. Currently we only specify the bounds for DrawSurface but it would be easy to extend this for other drawing commands if so desired.

MozReview-Commit-ID: BUFJzphfdKc

--HG--
extra : rebase_source : cbd17803d8aeb1a74b6c7c98fd5c00e06870805b
2017-09-12 19:10:55 +00:00
Kevin Hsieh a0a376f2f1 Bug 1396026 - Update OTS to accept Awami Nastaliq. r=froydnj,jfkthame
MozReview-Commit-ID: EvF3YDhuwNn

--HG--
extra : rebase_source : 20046aa4f2695f923574bf00207f06a113d1f246
2017-09-07 10:40:59 -07:00
Sebastian Hengst be553422dd merge mozilla-central to autoland. r=merge a=merge 2017-09-13 11:30:55 +02:00
Miko Mynttinen d664d5ff7f Bug 1359584 - Part 5: Change nsDisplayItem merging logic to non-destructive r=mstange
MozReview-Commit-ID: CiN2yUOyaMX

--HG--
extra : rebase_source : 6b23658b5d3b2ed6f7b59107ca0de7ddfc0efb19
2017-08-23 21:01:28 +02:00
Botond Ballo ab2b6fc21f Bug 1397434 - Remove the ActiveElementUsesStyle optimization in ActiveElementManager. r=kats
The optimization avoided a 10ms delay in generating synthesized mouse events
after a touch tap, if the tapped element wasn't styled differently when in
the |:active| state.

This dates back to the B2G days when the delay was in the critical path of
app startup times. It's less important today, and determining whether the
element is styled differently is an expensive operation in the style engine,
so we are removing it.

MozReview-Commit-ID: FYO1GlCR3gS

--HG--
extra : rebase_source : 1b7ce6eec77d0260b153bfcd93e81bccb3558107
2017-09-11 16:44:52 -04:00
Jonathan Kew 162dd2e4e1 Bug 1395061 - patch 4 - Refactor checks in the gfxPlatformFontList::GetFontList loop to use a single virtual method call instead of three separate calls. r=jrmuizel 2017-09-11 19:24:01 +01:00
Jonathan Kew 82bdaf03b2 Bug 1395061 - patch 3 - Clean up vestigial code that existed to support setting the gfxFontEntry::mSymbolFont flag. r=jrmuizel 2017-09-11 19:23:30 +01:00
Jonathan Kew 379ddad597 Bug 1395061 - patch 2 - Implement default gfxFontFamily::IsSymbolFontFamily, and provide override for GDI font backend. r=jrmuizel 2017-09-11 19:22:57 +01:00
Myk Melez aa59a13010 Bug 1395061 - patch 1 - Refactor gfxFontEntry::SupportsLangGroup and MatchesGenericFamily into gfxFontFamily. r=jfkthame 2017-09-11 19:22:15 +01:00
Morris Tseng d4f068b487 Bug 1398241 - Update bindings.rs for interfaces changed in WR cset 02e21a58. r=kats
MozReview-Commit-ID: Aq6jP4tcuoU

--HG--
extra : rebase_source : eb5c3ada835582c8c18b8821fff5829d869933b1
2017-09-14 08:18:21 -04:00
Kartikaya Gupta 8ad7a18daf Bug 1398241 - Update webrender to commit 7d9444a24fb98bcc41afdca2a5bf145d514500f1. r=jrmuizel
MozReview-Commit-ID: 7faAn2asOOw

--HG--
extra : rebase_source : 9203005b5edf5a846aceb16f8f8d6f7c9082898d
2017-09-14 08:14:53 -04:00
Kartikaya Gupta 0473ebc109 Bug 1394695 - Don't push scrolling clips in layers-free WR if APZ is disabled. r=mstange
MozReview-Commit-ID: AesXui61mB2

--HG--
extra : rebase_source : bd8d1adacb3be142cc5227e9bae347abf0ddc14d
2017-09-12 10:33:45 -04:00
Jonathan Kew 24e13c5d2e Bug 1398458 - Ensure we don't leave null gfxFontEntry records in a formerly 'simple' gfxFontFamily when adding extra faces. r=heycam 2017-09-10 08:49:09 +01:00