Commit Graph

29274 Commits

Author SHA1 Message Date
Botond Ballo
963d10ea9e Bug 1425573 - Make the underlying type of TargetConfirmationState uint8_t. r=kats
MozReview-Commit-ID: GAriuJH19a4

--HG--
extra : rebase_source : 8451db019c2ef3d8f028108e0b2a23b01418cc54
2018-02-16 20:14:49 -05:00
Botond Ballo
c22e6e8ce4 Bug 1425573 - Introduce a TargetConfirmationFlags struct. r=kats
The struct initially stores just one flag, mTargetConfirmed, but is
introduced with the intention of expanding it to store additional ones.

MozReview-Commit-ID: 88255UvoYYQ

--HG--
extra : rebase_source : 6826899367d19decbb6da0b3d25f32758c46dcec
2018-02-16 20:03:51 -05:00
arthur.iakab
4139c1f914 Backed out 14 changesets (bug 1436659) for Eslint failures on devtools/server/actors/animation.js:876:12 on a CLOSED TREE
Backed out changeset a2890507d13a (bug 1436659)
Backed out changeset c653d7a1b3ef (bug 1436659)
Backed out changeset 4ae911f19aee (bug 1436659)
Backed out changeset e9381081ab6a (bug 1436659)
Backed out changeset 7301bfeeb65c (bug 1436659)
Backed out changeset 607dccfa8387 (bug 1436659)
Backed out changeset 8f61bf3de90a (bug 1436659)
Backed out changeset 920aa51ae3a2 (bug 1436659)
Backed out changeset bfa0d1a4bf1c (bug 1436659)
Backed out changeset 467dd218d3d3 (bug 1436659)
Backed out changeset 737ff1676ff0 (bug 1436659)
Backed out changeset 071666b6c7e9 (bug 1436659)
Backed out changeset c2932cd4839f (bug 1436659)
Backed out changeset a9777027b7ad (bug 1436659)

--HG--
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-playback-rate-of-an-animation.html => testing/web-platform/tests/web-animations/interfaces/Animation/playbackRate.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/the-current-time-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/current-time.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-start-time-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-animation-start-time.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-target-effect-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-target-effect-of-an-animation.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-timeline-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-timeline-of-an-animation.html
2018-02-14 22:40:07 +02:00
Brian Birtles
426e81f838 Bug 1436659 - Support pending playback rates on compositor animations; r=hiro
MozReview-Commit-ID: 54EiZkv4S7Q

--HG--
extra : rebase_source : de9fb42ff6275ef2ff3d3c15eee11726e0fcce03
2018-02-13 15:04:18 +09:00
Brian Birtles
37e9e76ea5 Bug 1436659 - Factor out static time calculation methods on Animation; r=hiro
We will re-use these methods to perform various calculations once we introduce
the pending playback rate.

MozReview-Commit-ID: 2HV44TTNxHg

--HG--
extra : rebase_source : dcc883fb6db897a799900d709ca9c182dc149764
2018-02-13 15:04:18 +09:00
Jeff Muizelaar
752dcfe2ff Bug 1437965. Remove some unused functionality from StackingContextHelper. r=kats
The only call to IsBackfaceVisible() was removed when we added proper backface
visible support.

MozReview-Commit-ID: ALAF4a0ScQJ

--HG--
extra : rebase_source : 9a138f9ca4244105b4692b340c95e1dbc03f0356
2018-02-13 13:20:46 -05:00
Miko Mynttinen
a84d6e8626 Bug 1434243 - Part 4: Do not create unnecessary nsDisplayCompositorHitTestInfo items r=kats,mattwoodrow
MozReview-Commit-ID: CNXMMCFFBmc

--HG--
extra : rebase_source : 5c34cef710a5f18006485814a5d29e6a43216188
2018-02-05 18:39:52 +01:00
Miko Mynttinen
c13c744de6 Bug 1434243 - Part 2: Add nsDisplayCompositorHitTestInfo support to FrameLayerBuilder r=mattwoodrow
MozReview-Commit-ID: 5RdFJDyB6RN

--HG--
extra : rebase_source : 364404b8f12397235b27a34ebe4b4492fc350ad5
2018-01-30 15:10:23 +01:00
Tiberius Oros
677b0037d2 Merge inbound to mozilla-central. a=merge 2018-02-09 12:02:51 +02:00
Lee Salzman
a0d29145a5 Bug 1396637 - disable WR subpixel positioning with FreeType. r=jrmuizel
MozReview-Commit-ID: Hu3Q9yuveRw
2018-02-08 21:42:54 -05:00
Lee Salzman
a843f0909e Bug 1431637 - free qcms_transform r_clut. r=jrmuizel
MozReview-Commit-ID: DwbIhtuGvcA
2018-02-08 21:41:03 -05:00
Dzmitry Malyshau
d2d9759d7b Bug 1433932: Avoid crashing on failing to save a capture. r=nical,kats
MozReview-Commit-ID: ARj9ww2F3gx
2018-02-08 10:49:28 -05:00
Dzmitry Malyshau
5852b9f1d6 Bug 1436190: Fixed render frame notification in wake_up(). r=nical
MozReview-Commit-ID: JHBKpAh4YDD
2018-02-08 10:49:25 -05:00
Ciure Andrei
8dd2a49ca4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-08 00:33:37 +02:00
Ciure Andrei
cda04ea11e Merge inbound to mozilla-central. a=merge 2018-02-08 00:05:57 +02:00
Andrew Osmond
34935cb2ff Bug 1388020. r=nical 2018-02-07 09:33:12 -05:00
sotaro
89aba04841 Bug 1435995 - Disable DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL usage r=nical 2018-02-07 22:21:35 +09:00
Andrew Osmond
5a683f0a80 Backed out changeset d078b56f0fa6 (bug 1388020) for OS X crashtest failures. r=backout 2018-02-06 22:18:29 -05:00
Andrew Osmond
210a94af4d Bug 1388020. r=nical 2018-02-06 20:14:17 -05:00
Kartikaya Gupta
b02074bd27 Bug 1436832 - Avoid unnecessary casting. r=sotaro
MozReview-Commit-ID: 2MoJv1Wg8g4

--HG--
extra : rebase_source : 01a54b1eb730d9f14dfffdc1b2f3eb3c321ee9d2
2018-02-08 17:11:45 -05:00
Kartikaya Gupta
d1e05bf7c3 Bug 1436832 - Remove unnecessary loop. r=sotaro
MozReview-Commit-ID: ehYAwXLecX

--HG--
extra : rebase_source : 66e0a6edd1550a82eab2bbeb74da23892e757396
2018-02-08 17:11:42 -05:00
Lee Salzman
59693fdaf9 Bug 1436265 - update ClearType usage in WebRenderLayerManager. r=jrmuizel
MozReview-Commit-ID: 1m2QQAKaI25
2018-02-07 15:48:25 -05:00
Lee Salzman
7cf35e807f Bug 1436375 - add RecordedScaledFontCreation event in DrawTargetRecording::FillGlyphs. r=jrmuizel
MozReview-Commit-ID: 780xX36HeYH
2018-02-07 15:48:23 -05:00
Martin Roinson
90bbf4505c Bug 1435143 - Properly unwrap Maybe<WrScrollId> for the root scroll frame. r=kats
When comparing a Maybe<WrScrollId> to another WrScrollId we need to properly
handle the case where Nothing() signifies the root scroll frame. This is
equivalent to calling scrollId.valueOr(FrameMetrics::NULL_SCROLL_ID), as was
done before WrScrolLId replaced ViewId in the WebRender ScrollingLayersHelper.
We also have DisplayListBuilder::TopmostScrollId always return a value instead
of a Maybe, since an empty clip stack means that the current scroll id is that
of the root scroll frame.

Previously Nothing() was not equivalent to WrScrollId { 0 }, which caused the
ScrollingLayersHelper to fill the mClipAndScroll value and push another
set of clip and scroll nodes onto the WebRender display list builder.

MozReview-Commit-ID: CeatZlRXtuI
2018-02-07 10:01:56 +01:00
Kartikaya Gupta
50f41ff36b Bug 1435248 - Fix function naming. r=nical
It looks like the call chain is called ScheduleComposite on the client
LayerManager API, but then for some reason the functions in the IPDL
bridges are called ForceComposite, and then they eventually call the
ScheduleComposition function on the CompositorVsyncScheduler. This is
silly, so I renamed the IPDL bridge functions to ScheduleComposite as
well to be consistent.

MozReview-Commit-ID: D7bWpASaEtb

--HG--
extra : rebase_source : ecb0494d9461bd4ada48bfb602e7b518f0601c1b
2018-02-02 08:57:35 -05:00
Kartikaya Gupta
cc5ad5010a Bug 1435248 - Drop unnecessary virtualization of function. r=nical
This function is not overridden, so there doesn't seem to be any value
in making it virtual.

MozReview-Commit-ID: 8K34xTGtBc7

--HG--
extra : rebase_source : c7ad229f4b4de1a1ed8b8f8e782a21082c4abb12
2018-02-02 08:57:35 -05:00
Kartikaya Gupta
f2f96f5b92 Bug 1435248 - Use a Maybe<TimeStamp> instead of a bool+TimeStamp. r=nical
Minor refactoring, no functional changes.

MozReview-Commit-ID: Ct8SBxrTz8Y

--HG--
extra : rebase_source : 22556c57ec50fefa23ff8aea18815afadda0c8fa
2018-02-02 08:57:35 -05:00
Gurzau Raul
476c3b3a55 Merge inbound to mozilla-central. a=merge 2018-02-06 23:53:56 +02:00
Bas Schouten
7f06948838 Bug 1425257: Introduce a global lock to protect the dependency graph between DrawTargets. r=lsalzman
This patch takes the safest route for securing modifications to the dependency graph for D2D DrawTargets. It's possible a slightly optimal approach is possible, however lock contention should be rare and I believe this is the safest and most upliftable approach.

MozReview-Commit-ID: HGfSdEp2U5N
2018-02-06 03:08:04 +01:00
Kartikaya Gupta
845b4048d1 Bug 1434723 - Update WR bindings for change in WR PR 2381. r=jrmuizel
MozReview-Commit-ID: ITMks4JKZd0

--HG--
extra : rebase_source : be744cb1c3115ab7bd40586b9554d8212c11468a
2018-02-06 10:32:53 -05:00
Kartikaya Gupta
2747b167d0 Bug 1434723 - Update webrender to commit 08e49649f1fc9cacff4e10ebc390babcea752236. r=jrmuizel
MozReview-Commit-ID: IoduYBMrWJk

--HG--
extra : rebase_source : 0a42653118ec2d8768235073a0509608b3605a98
2018-02-06 10:31:57 -05:00
Alexis Beingessner
8acb1d6f40 Bug 1362115 - turn on blob-images by default with webrender. r=kats
MozReview-Commit-ID: GH4Ukj01rJ5

--HG--
extra : rebase_source : 96b48cc87d31ee75b069d08f72fec259d87b957f
2018-02-01 14:00:26 -05:00
Alexis Beingessner
4d74abb6a1 Bug 1362115 - properly handle empty slices in FFI bindings. r=kats
MozReview-Commit-ID: 9Zw0RTbgsBL

--HG--
extra : rebase_source : fe44e912d0cf24e257bc31f42c2d263c70c666e8
2018-02-05 12:41:11 -05:00
Narcis Beleuzu
84cea84b12 Merge inbound to mozilla-central. a=merge 2018-02-06 11:54:42 +02:00
Margareta Eliza Balazs
9c4eafffee Backed out changeset 0c3400afa45f (bug 1425257) for failing R-e10s in slave/test/build/tests/reftest/tests/image/test/reftest/pngsuite-basic-n/basn0g01.png on a CLOSED TREE 2018-02-06 07:27:43 +02:00
Ryan Hunt
0b29c49678 Remove implicit fuzzy operator== from BaseMatrix (bug 1435406, r=mattwoodrow)
--HG--
extra : rebase_source : 2635f386b96644922a345cea3a8fca6e3614253f
extra : histedit_source : b7cc3424492f88cbd32f3f945c5af86ff43ca0d0
2018-02-02 15:14:08 -06:00
Bas Schouten
bf22a1874d Bug 1425257: Introduce a global lock to protect the dependency graph between DrawTargets. r=lsalzman
This patch takes the safest route for securing modifications to the dependency graph for D2D DrawTargets. It's possible a slightly optimal approach is possible, however lock contention should be rare and I believe this is the safest and most upliftable approach.

MozReview-Commit-ID: HGfSdEp2U5N
2018-02-06 03:08:04 +01:00
Daniel Holbert
73cea96890 Bug 1435297 part 2: (automated patch) Switch a bunch of C++ files in gfx to use our standard emacs/vim mode lines. r=jrmuizel
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py.
I ran it as follows:
  python /path/to/modeline.py --fix gfx/

This patch changes all affected files to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

MozReview-Commit-ID: FsPNGjFkIFV

--HG--
extra : rebase_source : 7532d0478d0af75e346102105caf5b89631457aa
2018-02-02 12:07:36 -05:00
Daniel Holbert
4f69bf1ea0 Bug 1435297 part 1: Fix SharedSurfacesParent.cpp to use our standard emacs/vim mode lines. r=jrmuizel
This patch changes this file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

(The automated modeline.py script won't do this on its own for this one file. I
think that's because this file has the vim & emacs modelines in the reverse
order from the standard Mozilla syntax, and modeline.py is conservative and
won't change syntax that it doesn't immediately expect/understand.)

MozReview-Commit-ID: 7R1DUBEvFFh

--HG--
extra : rebase_source : eb802806375cf7d6f6fb0626220b1a510b375cdb
2018-02-02 12:07:33 -05:00
Kartikaya Gupta
42945c908e Bug 1435282 - Make SetTestSampleTime force a sync flush. r=sotaro
SetTestSampleTime is called from tests via the advanceTimeAndRefresh API
on DOMWindowUtils, and the expectation is that after it is done, the
time has been advanced and a composite has happened. So we need to
ensure that is the case with WebRender as well. This fixes the issue I
was seeing with test_group_hittest.html and makes it pass.

MozReview-Commit-ID: 86l9mTTwD2v

--HG--
extra : rebase_source : d2921fb0f9b09f4366fb516e4a6254a7f13f3e4e
2018-02-02 10:48:25 -05:00
Kartikaya Gupta
b2e6e6deb1 Bug 1435282 - Don't force the render transaction to happen immediately if we're doing an async flush. r=sotaro
This splits the FlushRendering function into sync and async versions
just for a bit more clarity. In the async version we don't want to set
the mForceRendering flag at all because we don't need to force a
rendering - if there is one already pending then that's good enough. And
anyway in practice the async version seems to only ever be invoked by
CompositorBridgeParent::SetTestSampleTime which I'll be changing in the
next patch.

MozReview-Commit-ID: 4cdU0U5B1pp

--HG--
extra : rebase_source : d7842844fca758d53121e3326d8da7fb7592ad8b
2018-02-02 10:48:25 -05:00
Kartikaya Gupta
cfcf1eb7b5 Bug 1435282 - Add a helper FlushPendingComposite function. r=sotaro
This extracts a code pattern that appears a couple of times in the code.
It occurs in CompositorBridgeParent as well but there's some extra stuff
involved there with the mOverrideComposeReadiness flag that I don't
understand so I'm leaving that as-is for now.

MozReview-Commit-ID: 2xqgaQZT4e1

--HG--
extra : rebase_source : 294727f146bbe5323a2cbdaa511dac5a4fc81571
2018-02-02 10:48:25 -05:00
Kartikaya Gupta
13ef8a8bea Bug 1435282 - Document that function arguments are always null. r=sotaro
MozReview-Commit-ID: HOu4fshHSuX

--HG--
extra : rebase_source : 01b7c59ce56ac9741b1b49dc3d6c1b9e96822d09
2018-02-02 10:48:25 -05:00
Emilio Cobos Álvarez
137e10a1bf Bug 1435618: followup: Add missing include to unbust windows. r=me
On a CLOSED TREE of course.

MozReview-Commit-ID: I5KQR0QUbli
2018-02-05 01:10:33 +01:00
Emilio Cobos Álvarez
50e8d02898 Bug 1435618: Don't leak a reference to the gfx info. r=kats
GetGfxInfo returns an already_AddRefed, you can't just forget about its return
value.

MozReview-Commit-ID: Ia6pyJN9njf

--HG--
extra : rebase_source : 73f7f1a6a8093d6f6555fa11f784bf912e1ab616
2018-02-04 17:40:40 +01:00
sotaro
962b688393 Bug 1435200 - Ensure to initialize GfxInfo on main thread r=nical 2018-02-03 16:25:53 +09:00
Jonathan Watt
79f77de593 Bug 1435286 - Stop recording draw events for reference DrawTargets returned from PrintTarget. r=bobowen
MozReview-Commit-ID: 1cE71hBCGx5
2018-01-18 12:45:18 +00:00
Kartikaya Gupta
96636477ac Bug 1435022 - Remove more unused stuff. r=sotaro
MozReview-Commit-ID: I5XEUT9dmPT

--HG--
extra : rebase_source : 3aa150d3a5605d8b8aa80106b0fdbe386ae704b6
2018-02-01 16:29:08 -05:00
Kartikaya Gupta
f56bc3a093 Bug 1435022 - Remove useless code (mExpectedComposeStartTime is never assigned). r=sotaro
MozReview-Commit-ID: LEgR6JFy0Ys

--HG--
extra : rebase_source : 6c46a9868c219ab655eee4d7674ffe86a4fe4a01
2018-02-01 16:29:07 -05:00
Kartikaya Gupta
42289b31e8 Bug 1435022 - Clean up GetLastComposeTime. r=sotaro
MozReview-Commit-ID: CEaz01FyjSs

--HG--
extra : rebase_source : 44c92477f6374764e084249bae74639c3706b5c0
2018-02-01 16:29:06 -05:00
Kartikaya Gupta
425b9f8598 Bug 1435022 - Document some methods. r=sotaro
MozReview-Commit-ID: CItOABKtjRl

--HG--
extra : rebase_source : 702981068a9176f98e66d7466d5ced742a2a9e6a
2018-02-01 16:28:53 -05:00
Kartikaya Gupta
7a2ef4343b Bug 1435022 - Make the Composite function private and document/clean it. r=sotaro
MozReview-Commit-ID: 3UQKwwC3Fav

--HG--
extra : rebase_source : 19737ed1c2ab40d7656257adbac10626ace1d9e7
2018-02-01 16:28:53 -05:00
Kartikaya Gupta
00c2abf4c9 Bug 1435022 - Inline the SetNeedsComposite function. r=sotaro
SetNeedsComposite is only ever called from one place on the compositor
thread, but it has a bunch of generic boilerplate to handle being called
from any thread. If we inline it we don't need the extra boilerplate and
it's much simpler to follow the code.

MozReview-Commit-ID: E1AcMh80KsH

--HG--
extra : rebase_source : 717fe101a3b23e30f8443110de5b6bf1a84cddda
2018-02-01 16:28:53 -05:00
Kartikaya Gupta
88a5174812 Bug 1435022 - Minor cleanup on the Destroy function. r=sotaro
MozReview-Commit-ID: EnE6JKKmhgy

--HG--
extra : rebase_source : 49e11327c77968e649ae28bee7e5a72bc2a6f98a
2018-02-01 16:28:53 -05:00
Kartikaya Gupta
b90ff6039c Bug 1435022 - Make a couple of functions private. r=sotaro
MozReview-Commit-ID: G6qC9TbIChQ

--HG--
extra : rebase_source : 53df609ead6de35621f923388d062f95042807d2
2018-02-01 16:28:52 -05:00
Kartikaya Gupta
2a7ee5280c Bug 1435022 - Inline a one-line function with a confusing name. r=sotaro
This function is exposed as public but only ever called from two places,
both of which are inside the class. It's confusing to have it as a
separate function because it just makes it harder to trace through the
code.

MozReview-Commit-ID: BC7mvOc9wo

--HG--
extra : rebase_source : 56e2c69e158685c106e01e78e31d2df67ea6128c
2018-02-01 16:28:52 -05:00
Kartikaya Gupta
28f8d7953e Bug 1435022 - Remove the ResumeComposition function from the vsync scheduler. r=sotaro
Having a resume function without a corresponding pause function seems
silly. And the implementation of the function is the same as doing a
force-compose, which is what the call site is intending to do. So we can
just remove this function and do a force-compose instead.

MozReview-Commit-ID: LimMYQhAuEk

--HG--
extra : rebase_source : f10e43c4c4a6f67162b1b473de6c23d8dbdc7a8f
2018-02-01 16:28:50 -05:00
Kartikaya Gupta
4a13ef1ec7 Bug 1435022 - Make ScheduleTask private and drop a useless argument. r=sotaro
MozReview-Commit-ID: 4bRjv1L7DLF

--HG--
extra : rebase_source : ccd8eea10a677681aed24c45ba69cf3eee93d657
2018-02-01 16:28:50 -05:00
Kartikaya Gupta
a4734bc1f0 Bug 1435022 - Inline OnForceComposeToTarget and clarify the comment. r=sotaro
This function has only one call site and there's no need to make it
public.

MozReview-Commit-ID: 5o7B9KMyVqy

--HG--
extra : rebase_source : 38a915c19d48784ce086ebecd66b9f872ae03327
2018-02-01 16:28:49 -05:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Csoregi Natalia
5a9ee59e75 Merge inbound to mozilla-central. a=merge 2018-02-01 20:11:41 +02:00
Jonathan Kew
c4f709831b Bug 1434697 - patch 2 - Implement variation font support in the Android (gfxFT2Fonts) backend. r=lsalzman 2018-01-31 17:07:49 +00:00
Jonathan Kew
5b9b689254 Bug 1434699 - Don't use dlsym() to look up FreeType functions when building with MOZ_TREE_FREETYPE. r=lsalzman 2018-02-01 15:28:09 +00:00
Ryan Hunt
43118373ed Enable parallel painting on OSX and cap the amount of paint workers to 4. (bug 1430793, r=milan)
--HG--
extra : rebase_source : 9d5c853f84b160819540cc062fb84f4bea8fcb02
2018-01-25 14:12:39 -06:00
Martin Stransky
bdd7d89f6c Bug 1434574 - Build wayland with EGL OpenGL backend, r=glandium
MozReview-Commit-ID: LpGmUVOYqRI

--HG--
extra : rebase_source : f26825fedcf66b6bdb2bcb32093b1d4451fe60e7
2018-01-31 13:13:50 +01:00
Jan Steffens
62442dc97a Bug 1424648 - Provide proper face index to FreeType FontDescriptorOutput; r=lsalzman
OpenType font collections (*.ttc) contain multiple faces in a single file,
identified via index. When creating a font descriptor for a FreeType or
Fontconfig font, we mistakenly set the index to zero, always.

This bug became visible when layout and WebRender would disagree on the face in
use, rendering text with the metrics from the proper face but the outlines of
another. Unless, of course, the selected face was the first (or only) in the
font file.

MozReview-Commit-ID: 73qcPOD0HIr

--HG--
extra : rebase_source : b5784ff547bae99186d646dbb92b31660beb3970
2018-01-31 21:42:18 +01:00
Cameron McCormack
2cea1ba7c1 Bug 1430014 - Part 6: #ifdef out a bit more animation-related code. r=hiro
MozReview-Commit-ID: B9TaVJFak26

--HG--
extra : source : 820eed2682b6a6cda892d091ee037ff1eeacd69f
2018-02-01 15:04:04 +11:00
Cameron McCormack
d02e54b79b Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
MozReview-Commit-ID: CIHyPdF7Exl

--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Alexis Beingessner
291824030e Bug 1432309 - ensure the GL context is current when updating wr. r=sotaro
To avoid future issues, this is done by combining the Render and Update methods
into a single call. As a minor side-effect, timing in the parent method now
includes the time to run update.

MozReview-Commit-ID: GJ0l049eFRj

--HG--
extra : rebase_source : f9b4ee6f34bc45d87b3df40e5a25f3bfb2ec8068
2018-01-31 21:34:43 -05:00
Martin Roinson
e82c2f1d5c Bug 1434288 - Update gecko for API changes in WR PR 2315. r=kats
MozReview-Commit-ID: 7NfZMXOPaDY

--HG--
extra : rebase_source : 782784b5f01fccd7c22286c6fa7e6ee16bf20be0
2018-01-22 19:29:06 +01:00
Kartikaya Gupta
e8fb82d672 Bug 1434288 - Update webrender to commit e772c3cb8ea0a35e6477e9dc8dd2144e2de87b56. r=jrmuizel
MozReview-Commit-ID: 4VM5EAtkjNt

--HG--
extra : rebase_source : 5c1b5da5a99fe9405f9810030b8e3422ac82e519
2018-01-31 16:03:25 -05:00
Ryan Hunt
f1fc54c0cd Reuse existing DrawingCommand for SetTransform and SetPermitSubpixelAA (bug 1431813, r=bas)
--HG--
rename : gfx/2d/DrawCommand.h => gfx/2d/DrawCommands.h
extra : rebase_source : b4b2a4d8b73413c56dbaa55dc3bd200f126c060a
2018-02-02 09:59:35 -06:00
Ryan Hunt
b502551a00 Deduplicate unneeded SetTransform and SetPermitSubpixelAA calls from DrawTargetCapture (bug 1431813, r=bas)
--HG--
extra : rebase_source : 30b2051494aa247df922e87779a1f866e1b45e97
2018-02-02 09:24:10 -06:00
Ryan Hunt
6250b4ca48 Be sure to preserve the current transform when restoring an SkCanvas (bug 1431813, r=lsalzman)
--HG--
extra : rebase_source : 3fba5160051e86f477a32ca8880d9e341177b995
2018-02-02 09:22:20 -06:00
Andrea Marchesini
8cdf705535 Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly 2018-02-05 19:55:07 +01:00
sotaro
ae34263b07 Bug 1419293 - Create SwapChain with DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL if possible in ANGLE r=jgilbert 2018-02-01 21:39:31 +09:00
Brindusan Cristian
7b43ef6086 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 12:19:39 +02:00
sotaro
a5acc968ad Bug 1434524 - Add more check to D3D11Checks::DoesNV12Work() r=mattwoodrow 2018-02-01 18:00:09 +09:00
Kartikaya Gupta
bb553f0d58 Bug 1433579 - Allow recursively holding the APZ tree lock. r=botond
MozReview-Commit-ID: DzLgqb2wMN9

--HG--
extra : rebase_source : 6d7ba7bf5d574fefdd9e17a2c54ff2a48671701f
2018-01-31 12:00:19 -05:00
Bogdan Tara
1f15df5f24 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-01-31 12:11:39 +02:00
Bogdan Tara
1a6614b8b5 Merge inbound to mozilla-central. a=merge 2018-01-31 12:00:14 +02:00
Dzmitry Malyshau
04332d008f Bug 1434410: Move the WebRender revision to a separate file and include it in captures. r=kats
MozReview-Commit-ID: 9ZgALwny1p2
2018-01-30 23:24:55 -05:00
Andrea Marchesini
26352bfee1 Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug 2018-01-31 08:25:30 +01:00
Andrea Marchesini
2c7c69af24 Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug 2018-01-31 08:24:08 +01:00
Andrea Marchesini
063723a1f0 Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug 2018-01-31 08:23:44 +01:00
Andrea Marchesini
c4b257cdc6 Bug 1432963 - Fixing workers headers - part 12 - WorkerRunnable without workers namespace, r=smaug 2018-01-31 08:22:56 +01:00
arthur.iakab
c4dd80eca3 Merge mozilla-central to autoland 2018-01-31 00:41:58 +02:00
Sebastian Hengst
732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kartikaya Gupta
8db17de82f Bug 1421380 - Enable gfx.webrender.hit-test by default. r=jrmuizel
This causes some mochitests to fail.

MozReview-Commit-ID: J2AjM0qKVE5

--HG--
extra : rebase_source : 21102068e9eca65f56bafb76cb623dbdbf0bfb3a
2018-01-29 16:35:10 -05:00
Kartikaya Gupta
7f809749df Bug 1421380 - Don't do a composite of WR rendered frames unless a composite is requested. r=nical
We sometimes render frames for hit-testing consistency requirements but
those frames don't need compositing. This goes with webrender PR 2358.

MozReview-Commit-ID: D6DRF040D5a

--HG--
extra : rebase_source : fd5dadc35a6f6a54b385f535d4ae9c6e34f3a779
2018-01-29 16:35:10 -05:00
Jim Chen
7d4fb3fff9 Bug 1428182 - 10. Add <stdlib.h> include in pixman patch; r=lsalzman
pixman-8888-over-565.patch added a call to free(), which is apparently
not included by the other headers when using the new NDK headers.

MozReview-Commit-ID: 9fAuSano36N

--HG--
extra : rebase_source : de9a1f1c4676df9ed724ae7264ca1170b77aac52
2018-01-30 14:08:24 -05:00
Jim Chen
5aa4623e3f Bug 1428182 - 9. Apply Skia upstream commit to support NDK r16; r=lsalzman
Apply Skia upstream commit 592c225b03ca677a1217eabdbc38eede6afcdb14 to
support building with NDK r16.

MozReview-Commit-ID: B6popOoPTni

--HG--
extra : rebase_source : 7d846431f9de12a2ffa270ead93c33cae602c58e
2018-01-30 14:08:23 -05:00
Jim Chen
ee3fc0952a Bug 1428182 - 4. Fix a gfx warning; r=jchen
MozReview-Commit-ID: L5NclHmqCE2

--HG--
extra : rebase_source : 3573f3138133e52000d192bace5aadf6f2242a72
2018-01-30 14:08:22 -05:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Andrew Osmond
8a37b15344 Bug 1389759 - Fix GPUProcessManager::EnsureGPUReady how did not guarantee the GPU process state is consistent. r=rhunt
GPUProcessManager::EnsureGPUReady promises that its state will be
consistent after returning. Either the GPU process is ready to be used,
or there is no GPU process at all. In the case it is attempted to
synchronously initialize the GPUChild with the device data and failed,
it broke that promise. This is because the GPU process was still setup,
but we weren't going to use it. This became a problem with the
CompositorManagerChild because it uses the process token as an
identifier, and it should have been reset to 0 in this case.

Now if GPUChild::EnsureGPUReady (the initialization step) fails, we
disable the GPU process entirely. This ensures our internal state is
consistent and the callers expectations are upheld.
2018-01-30 12:58:57 -05:00
Jonathan Kew
2a3cf53f91 Bug 1426146 - patch 2 - Support the paint-order property for HTML text (in addition to SVG); currently preffed-off by default. r=jwatt 2018-01-30 14:41:51 +00:00
Jonathan Kew
0ff35ea68b Bug 1426146 - patch 1 - Support GLYPH_STROKE_UNDERNEATH in the gfxFont painting code. r=jwatt 2018-01-30 14:41:30 +00:00
Gurzau Raul
afe10a4af5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-30 12:12:34 +02:00
Jonathan Kew
8ddd714a33 Bug 1280162 - patch 1 - Implement gfxFontEntry method to query font feature info for OpenType fonts. r=dholbert 2018-01-30 09:57:39 +00:00
Cosmin Sabou
c6a0d55423 Backed out 11 changesets (bug 1428182) for build bustages on pixman-inlines.h:29:10 on a CLOSED TREE
Backed out changeset 84c767de6202 (bug 1428182)
Backed out changeset 429433caa78c (bug 1428182)
Backed out changeset c576e9d1f68f (bug 1428182)
Backed out changeset 092662eab5eb (bug 1428182)
Backed out changeset 4dd7eaff3ab5 (bug 1428182)
Backed out changeset fbbb0745b139 (bug 1428182)
Backed out changeset 1d1278b289b7 (bug 1428182)
Backed out changeset 55891ffb3768 (bug 1428182)
Backed out changeset 4655e1b1b237 (bug 1428182)
Backed out changeset 377eada51b3c (bug 1428182)
Backed out changeset 17c0e373d921 (bug 1428182)

--HG--
rename : ipc/chromium/src/third_party/libevent/patches/android-api-level.patch => ipc/chromium/src/third_party/libevent/patches/android-arc4random-buf.patch
2018-01-30 01:22:33 +02:00
Jim Chen
2d6e9928cb Bug 1428182 - 10. Add <malloc.h> include in pixman patch; r=lsalzman
pixman-8888-over-565.patch added a call to free(), which is apparently
not included by the other headers when using the new NDK headers.

MozReview-Commit-ID: 9fAuSano36N

--HG--
extra : rebase_source : 92c1e729c41cebf320ef5d5b2de5d3fa14c8e121
2018-01-29 17:38:17 -05:00
Jim Chen
7ab02178ec Bug 1428182 - 9. Apply Skia upstream commit to support NDK r16; r=lsalzman
Apply Skia upstream commit 592c225b03ca677a1217eabdbc38eede6afcdb14 to
support building with NDK r16.

MozReview-Commit-ID: B6popOoPTni

--HG--
extra : rebase_source : bfdf40f6542c4c9dae0ef19379fb650107cf8077
2018-01-29 17:38:15 -05:00
Jim Chen
d2f6bcce0c Bug 1428182 - 4. Fix a gfx warning; r=jchen
MozReview-Commit-ID: L5NclHmqCE2

--HG--
extra : rebase_source : e029eec173f00d2d9afb810f18767beebd485d6d
2018-01-29 17:38:13 -05:00
Cosmin Sabou
37bb870512 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-30 00:47:39 +02:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Gerald Squelart
a2ff96a775 Bug 1433850 - layout.display-list.retain.verify.order to also check RDL ordering - r=mattwoodrow
MozReview-Commit-ID: 2foGnuSCwUX

--HG--
extra : rebase_source : a46779e0db3d4452561b52e047daa3716280fde4
2018-01-29 18:23:14 +11:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Csoregi Natalia
32df3a47a8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-30 18:22:51 +02:00
Kartikaya Gupta
c13256c877 Bug 1433567 - Update webrender to commit b6e69a8efbcd8dc3e0c0a8a9925e6a9355635de3. r=jrmuizel
MozReview-Commit-ID: BluxAJeXvrq

--HG--
extra : rebase_source : 21dedf788a7921c57962fe0e5b86a4bda106be2b
2018-01-30 10:21:30 -05:00
Nicolas Silva
082991a7bc Bug 1404477 - Merge ResourceUpdateQueue and TransactionBuilder. r=kats 2018-01-29 14:33:39 +01:00
Nicolas Silva
3f26befbbd Bug 1404477 - WebRender document API bindings. r=kats 2018-01-29 14:33:35 +01:00
Jonathan Kew
4755d882f1 Bug 1432552 - patch 3 - DirectWrite and macOS font back-end implementation of getVariationInstances. r=dholbert 2018-01-29 13:24:11 +00:00
Jonathan Kew
c70ab6cef4 Bug 1432552 - patch 2 - Linux font back-end implementation of getVariationInstances. r=dholbert 2018-01-29 13:24:11 +00:00
Jonathan Kew
9de316c207 Bug 1432552 - patch 1 - Add a getVariationInstances() method to InspectorFontFace. r=dholbert,bz 2018-01-29 13:24:11 +00:00
Jonathan Kew
82f83b9470 Bug 1433402 - Use the specific FT_Done_MM_Var function if available (on sufficiently recent freetype) to release the struct returned by FT_Get_MM_Var. r=jrmuizel 2018-01-29 13:24:11 +00:00
Ethan Lin
a093db7182 Bug 1429411 - Add a reftest for the inset box shadow problem. r=kats
MozReview-Commit-ID: 1lSu2phlXVH
2018-01-15 23:46:41 +08:00
Ethan Lin
b5433ccce5 Bug 1415563 - Use the correct app units conversion for nsDisplayZoom items. r=kats
MozReview-Commit-ID: 9Ml3mOFmooi
2018-01-17 10:22:39 +08:00
Masatoshi Kimura
6c38a639d3 Bug 685236 - Workaround Skia file path issue. r=jwatt
MozReview-Commit-ID: 7y3tNuOtWCv

--HG--
extra : source : 2bb5971b53139c4d2d40bf5b5a3d4a9136ab0233
extra : intermediate-source : 5799334bd14b096fc434ba198054f639e137413b
2017-12-17 00:19:51 +09:00
Eric Rahm
7337adec45 Bug 1439047 - Part 1: Make StartupCache::PutBuffer take ownership of the buffer. r=froydnj
This avoids a redundant alloc and copy in `PutBuffer`. All existing callers
were destroying the passed in buffer after the call.

--HG--
extra : rebase_source : 065505219d70d26bad49c7eba2cec8edf0e9939d
extra : amend_source : 118eddad4dc901da02817c788fb98f6f4c85a3f0
extra : source : 7f0cedfb4bd85bfe1a523168019864c9c6c0e665
2018-02-16 15:30:47 -08:00
Sebastian Hengst
bfb77aa998 merge mozilla-central to mozilla-inbound on a CLOSED TREE 2018-02-24 03:11:04 +02:00
Eitan Isaacson
a250cd0f4e Bug 1438017 - Update wr bindings with ColorMatrix filter and add filters to command builder. r=kats 2018-02-23 15:29:04 -08:00
Kartikaya Gupta
78e4bd2c76 Bug 1437949 - Make the wake_up WR notification poke the renderer. r=kvark
MozReview-Commit-ID: HxMOW4EF6sn

--HG--
extra : rebase_source : f0e019368c362259388094e50647c39bf39c431e
2018-02-13 14:08:54 -05:00
Jonathan Kew
ad1143ff1a Bug 1435984 - patch 8 - Apply variation settings from the font entry in the Linux (fontconfig) back-end on a CLOSED TREE. r=lsalzman
--HG--
extra : source : 581ff0f6798ec68aca359c5d8cc6ca38e75801e4
extra : amend_source : 951df3de667a70f09485f62efc1d9e83e2036c51
2018-02-14 22:02:05 +11:00
Jonathan Kew
ee890ee757 Bug 1435984 - patch 7 - Apply variation settings from the font entry in the gfxFT2Fonts (Android) back-end. r=lsalzman
--HG--
extra : source : d4e3a21dc093c84530f28394089be13324915377
2018-02-14 22:02:05 +11:00
Jonathan Kew
b3d0efd4a7 Bug 1435984 - patch 6 - Apply variation settings from the font entry when instantiation fonts for DirectWrite. r=lsalzman
--HG--
extra : source : a6b5ddcc7114f50042f783766cabb545f912d8c4
2018-02-14 22:02:05 +11:00
Jonathan Kew
8fe372bf90 Bug 1435984 - patch 5 - Apply variation settings from the font entry when instantiating fonts on macOS. r=lsalzman
--HG--
extra : source : ec70fb9a28ac4952b15f1acd4890d727067788ca
2018-02-14 22:02:05 +11:00
Jonathan Kew
5bb5607380 Bug 1435984 - patch 3 - Store variation settings from the @font-face rule in the gfxFontEntry for user fonts. r=jwatt
--HG--
extra : source : 66947639ccc3236ff3e81b535e6a4e5173a8e05f
2018-02-14 22:02:05 +11:00
Botond Ballo
4149afe01a Bug 1437694 - Gracefully recover from hit testing bugs affecting scrollbar dragging. r=kats
The recovery is only enabled for release builds, to avoid papering over
such hit testing bugs. On nightly builds, a diagnostic assert is issued.

MozReview-Commit-ID: Aos0j0jv6Lb

--HG--
extra : rebase_source : 37ef4bf990fc081e9884f604dbad0afc5cbeaf95
2018-02-12 17:58:36 -05:00
Botond Ballo
816ef62275 Bug 1443231 - Ensure we are in the NOTHING state after a pinch gesture, if both fingers are lifted and no animation is triggered. r=kats
MozReview-Commit-ID: HexeLTlfbuq

--HG--
extra : rebase_source : 6c9824a41e57e667b06571a0248dda887bc1adc8
2018-03-05 13:53:21 -05:00
Kartikaya Gupta
f1af7da80e Bug 1436200 - Disable failing assertions until we have the proper fix in place. r=botond
MozReview-Commit-ID: 59aKg5oSrbl

--HG--
extra : rebase_source : 010ca774009dc3b23925bd25b8f163b213617d68
2018-03-05 09:47:53 -05:00
Nicolas Silva
b9bc9a2583 Bug 1436058 - Don't remove a WebRender pipeline if we re-created one with the same id. r=kats
Patch originally attached to - and reviewed by sotaro on - bug 1432708.

MozReview-Commit-ID: 300BOHFNrbe

--HG--
extra : rebase_source : b3e4228812b74313d441ef70b5f16da1d4563669
2018-02-12 11:43:08 -05:00
Nicolas Silva
f943a00bf6 Bug 1436058 - Remove async image pipelines when the renderer notifies pipelines removed. r=kats
Patch originally attached to - and reviewed by sotaro on - bug 1432708.

MozReview-Commit-ID: LNWHtuFTPG5

--HG--
extra : rebase_source : c1694476cb454d914f2cfe3ec7cf55aaa0aacd4c
2018-02-12 11:37:02 -05:00
Kartikaya Gupta
bd342342df Bug 1436058 - Update for log 0.4 bump in WR PR 2385. r=jrmuizel
MozReview-Commit-ID: Cxkecg2cTDW

--HG--
extra : rebase_source : 0b049ba3a95dda71f9d6df53ba8f636e30841fee
2018-02-12 11:32:50 -05:00
Kartikaya Gupta
dff724b60d Bug 1436058 - Update webrender to 342bc314db94aa439b2001249c5f24ccfcbccc22. r=jrmuizel
MozReview-Commit-ID: DoRq53eXv1Q

--HG--
extra : rebase_source : b53c4213567a5ae9a201ab5a9d5e135ac7a40891
2018-02-12 11:28:01 -05:00
Cosmin Sabou
9366900c12 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-01-27 11:58:35 +02:00
Dzmitry Malyshau
05561ae950 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Jonathan Kew
5b401bc09e Bug 1433098 - Don't rename downloaded fonts (replacing the original 'name' table) when using DirectWrite backend. r=jrmuizel 2018-01-26 17:26:19 +00:00
Kartikaya Gupta
b9bc1f73c5 Back out cset 75b5af791006 (bug 1433139) for OS X debug mochitest-chrome-3 failure. r=me 2018-01-26 11:31:34 -05:00
Jonathan Kew
4b80ef584f Bug 1323743 - patch 5.2 - Implement gfxFontEntry::GetVariationAxes for the DirectWrite backend. r=lsalzman 2018-01-18 17:45:27 +00:00
Jonathan Kew
1c6ff769a1 Bug 1323743 - patch 5.1 - Factor out a GetEnglishOrFirstName helper to simplify DirectWrite font-name code. r=lsalzman 2018-01-18 17:45:26 +00:00
Jonathan Kew
fbdc3ccec5 Bug 1323743 - patch 4 - Implement gfxFontEntry::GetVariationAxes for the Linux (fontconfig) backend. r=dholbert 2018-01-18 19:27:41 +00:00
Jonathan Kew
8b13b6b801 Bug 1323743 - patch 3 - macOS implementation of the gfxFontEntry::GetVariationAxes method. r=dholbert 2018-01-26 15:47:20 +00:00
Jonathan Kew
455fe3a96e Bug 1323743 - patch 1 - Add an API to gfxFontEntry to allow querying the available variation axes in a font face. (No actual implementation yet.) r=dholbert 2018-01-26 15:47:19 +00:00
Dzmitry Malyshau
90b1205b68 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Dzmitry Malyshau
a8e2dce594 Bug 1433139 - Enable the WR capture feature in webrender_bindings. r=kats
MozReview-Commit-ID: 2dJMVMto5Ly
2018-01-25 14:49:36 -05:00
Kartikaya Gupta
71c85d4c22 Bug 1432789 - Update webrender to 1d8157c71f88d5c673f5d084f02515ab74263814. r=jrmuizel
MozReview-Commit-ID: JakzOipPChe

--HG--
extra : rebase_source : 5f3db52bd59749bc79c0e5c530ae04ab19c03d1d
2018-01-26 15:54:36 -05:00
Kartikaya Gupta
69c3c5a3be Bug 1432541 - Don't reuse clips across a stacking context with a nonzero position. r=mstange
In bug 1426386, I made it so that in some cases, part or all of the
transform component of a stacking context got moved to the bounds
top-left. However I neglected to update the ScrollingLayersHelper, which
was relying on the transform to know if it could reuse clips across a
stacking context boundary. It now also needs to check the bounds
top-left as a result of the aforementioned change.

MozReview-Commit-ID: 7mDRSYqZ8bF

--HG--
extra : rebase_source : bdf433c772853d39e29c0288776db7a88129ac2f
2018-01-25 18:19:42 -05:00
Coroiu Cristina
44d458632a Backed out 1 changesets (bug 1421380) on request from kats
Backed out changeset 48cdd9ef5878 (bug 1421380)
2018-01-25 21:31:34 +02:00
Kartikaya Gupta
4af14dc29f Bug 1421380 - Enable gfx.webrender.hit-test by default. r=jrmuizel
This causes some mochitests to fail.

MozReview-Commit-ID: J2AjM0qKVE5

--HG--
extra : rebase_source : 0a5d21208c003a73dc83cf4dccca7ee5085f5604
2018-01-25 10:32:35 -05:00
Csoregi Natalia
6f5bb993b2 Merge inbound to mozilla-central. a=merge 2018-01-25 12:14:20 +02:00
Cosmin Sabou
7e6e71746a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-25 00:04:12 +02:00
Narcis Beleuzu
9279994eae Merge inbound to mozilla-central. a=merge 2018-01-24 23:56:14 +02:00
Andrew Osmond
f9a6aed383 Bug 1432472 - Do not assume CompositorBridgeChild is available for FlushAsyncPaints. r=rhunt
CompositorBridgeChild may be lost at any time due to a GPU process
crash. Additionally it may be already destroyed due to shutdown being
initiated. For FlushAsyncPaints, we can safely ignore the missing child
because the subsequent operations will generally fail and we will
recover when the GPU process is respawned (or switched to the UI
process).
2018-01-24 10:01:33 -05:00
Botond Ballo
ba97f3675e Bug 1429373 - If a perspective transform is excluded from an APZC's ancestor transform, include it in the ancestor transforms of its child APZCs. r=kats
MozReview-Commit-ID: 4EcTuD8otA7

--HG--
extra : rebase_source : 3b5b3e4c0a955ee515a5b16717c25db1d0113d57
2018-01-19 19:22:34 -05:00
Botond Ballo
2f32ec01a0 Bug 1429373 - During hit-testing, ignore clips on layers whose parent has a perspective transform. r=kats
This corresponds to the treatment of such layers in AsyncCompositionManager
added in bug 1168263.

MozReview-Commit-ID: 34IKk5TH9vV

--HG--
extra : rebase_source : 441d173e486b9be6557916219a849b2f9425d55b
2018-01-17 18:45:25 -05:00
Botond Ballo
287d543641 Bug 1429373 - Add a clarifying comment to the declaration of APZCTreeManager::SetTargetAPZC(). r=kats
MozReview-Commit-ID: CT1H5TH3UXn

--HG--
extra : rebase_source : 916c52d44857d93e6046d81c96a9716d32136fb6
2018-01-17 18:46:07 -05:00
Ethan Lin
3ebfc01b38 Bug 1419528 - Add a reftest for box shadow with zero attributes. r=kats
MozReview-Commit-ID: CwKzjv6pMF7
2018-01-16 17:15:44 +08:00
Sebastian Hengst
78d2a3c1db Merge mozilla-central to mozilla-inbound 2018-01-24 14:24:05 +02:00
Kartikaya Gupta
b62f1b8765 Bug 1432637 - Schedule a composite when setting test properties on an APZC. r=botond
Scheduling a composition sets the mNeedsComposite flag in the compositor
scheduler, so that advancing the time via advanceTimeAndRefresh doesn't
do an early-exit.

MozReview-Commit-ID: KvldsCCY0SD

--HG--
extra : rebase_source : e661e430c36553ce95d7798b4bc95ffaab48ab90
2018-01-23 17:21:58 -05:00
Kartikaya Gupta
a48a892756 Bug 1432635 - When advancing the test time, trigger a rendering flush to WR. r=sotaro
MozReview-Commit-ID: UtqGoOnobm

--HG--
extra : rebase_source : e3f3f135138014a4ed8c4bed23cca18c146995c1
2018-01-23 17:20:23 -05:00
Dzmitry Malyshau
237e33208b Bug 1431776 - Update for API changes in WR PR 2326. r=jrmuizel
MozReview-Commit-ID: DNVLRmhcWFS

--HG--
extra : rebase_source : 949154d975ce9885c3b15473a5561a139c541ae3
2018-01-24 09:14:48 -05:00
Kartikaya Gupta
c39c71da56 Bug 1431776 - Update webrender to commit c0943271eb8c6440a61db37e2f1e84201dcac2e3. r=jrmuizel
MozReview-Commit-ID: 57ZV2mKiGm0

--HG--
extra : rebase_source : 18dc15c9dc915477f05d2ad0d24071f0f32cf453
2018-01-24 09:13:07 -05:00
Cosmin Sabou
6cfb14fd97 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-25 00:07:47 +02:00
Ryan Hunt
bfcc9eea72 Add paint worker count to crash report notes. (bug 1432516, r=milan)
--HG--
extra : rebase_source : 2ab184a7b1bf757eb3b60c7e9c2433b99ad3d79e
extra : histedit_source : 03c859abbc704293af35049f330d31cd2454a0b1
2018-01-23 16:17:52 -06:00
Ryan Hunt
27c33e0bdf Add tiling and paint worker count information to about:support. (bug 1432516, r=milan)
--HG--
extra : rebase_source : f2ce10a284f53b21ce5eb94f039808ec92f40685
extra : histedit_source : d3bbb62e946fe32f601cc7753513d2d30f2aa294
2018-01-23 15:52:13 -06:00
Jonathan Kew
6856ae796f Bug 1431866 - Avoid risk of undefined behavior in gfxFontStyle::Hash() calculation. r=jrmuizel 2018-01-24 17:42:30 +00:00
Jonathan Kew
7ff4c1c33d Bug 1430446 - Prefer hinted glyph widths from FreeType, except when hinting is disabled or the font includes variations. r=lsalzman 2018-01-23 18:16:42 +00:00
sotaro
603fade55f Bug 1422288 - Do no add ExternalImage for d3d texture host when ANGLE is disable with WebRender r=nical 2018-01-24 13:17:06 +09:00
sotaro
9ee2dd9629 Bug 1422288 - Disable d2d for canvas when ANGLE is disable with WebRender r=nical 2018-01-24 13:16:35 +09:00
Dorel Luca
4b9ccdb392 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-23 12:02:17 +02:00
sotaro
d6f794fcb9 Bug 1431304 - Fix WebRenderLayerManager::ClearCachedResources() as to clear active animation ids r=nical 2018-01-23 10:57:20 +09:00
Gurzau Raul
9801931bda Merge inbound to mozilla-central. a=merge 2018-01-23 02:21:47 +02:00
Tom Ritter
40e0f3ea5e Bug 1432009 Fix MinGW build failure with d_write3.h r=jfkthame
Bump mingw version to get the newest commit and do not include the
un-needed dw-extras.h on MinGW (thanks Jacek!)

MozReview-Commit-ID: OjO93XHCxs

--HG--
extra : rebase_source : 933bbb385004988a23d1069c9cd3241b3a3b336e
2018-01-22 15:01:49 -06:00
Jamie Nicol
17afeef581 Bug 1430550 - Don't keep mutex locked if SourceSurfaceSkia::Map fails. r=bas
This was leading to a mutex never being unlocked, eventually causing a
crash when it was destroyed.

MozReview-Commit-ID: JzEDWzKxZ4S

--HG--
extra : rebase_source : c86ad738addbec55f33165d300876f4c675cf5f4
2018-01-18 16:48:08 +00:00
Gurzau Raul
76ec8a476e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-20 11:46:16 +02:00
Jonathan Kew
faf9bf0aac Bug 1430632 - Copy declarations of new DirectWrite interfaces into our code so it will build against the current Windows SDK and WINVER settings. r=lsalzman,froydnj 2018-01-18 17:45:25 +00:00
Jonathan Kew
483d8a0507 Bug 1430632 - Support OpenType variation fonts in the DirectWrite font back-end (on Win10 Fall Creators Update). r=lsalzman 2018-01-18 17:45:24 +00:00
Jonathan Kew
d477a069f3 Bug 1431305 - Handle fallback (rotated) rendering of characters with Vertical_Orientation=Tr when the font does not support them via 'vert', nor is there a vertical presentation form encoded in Unicode. r=m_kato 2018-01-19 10:46:53 +00:00
Kartikaya Gupta
b9e6d272c0 Bug 1431787 - Followup to avoid the call to wr_api_get_namespace from the WebRenderAPI destructor. r=me a=RyanVM
Landing on a CLOSED TREE because this needs to go to beta to fix the build.

MozReview-Commit-ID: Askd7fgnn3E
2018-01-19 16:42:40 -05:00
Kartikaya Gupta
6f56b6c848 Bug 1431787 - Mark wr_dec_ref_arc safe to be called by the WebRenderAPI destructor when WR is not built. r=lsalzman a=RyanVM
Landing on a CLOSED TREE because this needs to go to beta to fix the build.

MozReview-Commit-ID: cSwZ2Bp242
2018-01-19 13:19:00 -05:00
Noemi Erli
1e1fdc2b3d Merge inbound to mozilla-central. a=merge 2018-01-19 12:10:24 +02:00
JerryShih
0f873b8e86 Bug 1431028 - Move the gfx warning to the correct position. r=mattwoodrow
We should only show the warning message when we have the on-white buffer.

MozReview-Commit-ID: 4gzo0reYIVL
2018-01-17 02:19:00 -05:00
JerryShih
138670043b Bug 1431028 - Don't discard the back buffer in ClientSingleTiledLayerBuffer. r=mattwoodrow
MozReview-Commit-ID: HHbqlAnSVmN
2018-01-17 02:19:00 -05:00
sotaro
2739f28b3d Bug 1429994 - Use ID3D11Query to wait previous frame completion r=nical 2018-01-18 18:01:04 -08:00
Andreea Pavel
b5e28b4ecd Backed out changeset 70c2890fb875 (bug 1429994) for static-analysis bustages on Windows 2018-01-19 01:38:11 +02:00
sotaro
376a1f40bd Bug 1429994 - Use ID3D11Query to wait previous frame completion r=nical 2018-01-19 07:49:08 +09:00
Lee Salzman
d7042b0a8f Bug 1400917 - render missing glyphs with WebRender. r=gankro 2018-01-18 16:10:14 -05:00
Hiroyuki Ikezoe
808d686c60 Bug 1431295 - Drop 'undef None' macro in gfx. r=botond
MozReview-Commit-ID: FGOEsZnu50u

--HG--
extra : rebase_source : 60ba20e9ab9f207ce6b69406973dd3f864b5e322
2018-01-18 14:12:51 +09:00
Kartikaya Gupta
3031985f8c Bug 1430829 - Update for removal of ImageFormat::Invalid in WR PR 2317. r=jrmuizel
MozReview-Commit-ID: 5TFM7B652qG

--HG--
extra : rebase_source : 8c5602ea2c8a7810da0ef1fb176c80016856210e
2018-01-19 12:33:58 -05:00
Kartikaya Gupta
c8626b8097 Bug 1430829 - Update webrender to commit e9269c7e06e20363be0b2a2a1be98d292ff7acca. r=jrmuizel
MozReview-Commit-ID: CLfV8OtVG7Z

--HG--
extra : rebase_source : b8b2e454ed84e177aac11db182bd1ed8ac7892ef
2018-01-19 12:32:00 -05:00
Andrew Osmond
6f5458a90b Bug 1431130 - Ensure we retain the lock when accessing sLayerIndirectTree off the compositor thread. r=botond
CompositorBridgeParent::GetIndirectShadowTree is meant to be a
compositor thread only method. This however was not enforced with an
assert and over time we began using it on the main thread for simple
accesses. These accesses should generally be safe on the main thread,
depending on the individual access, but not outside the lock
GetIndirectShadowTree holds. As such, a safer variant is provided to
execute a lambda inside the lock context, and the unsafe variant will
assert it is indeed in the compositor thread context.
2018-01-18 07:28:56 -05:00
Lee Salzman
7960a042d1 Bug 1431211 - clean up WR blob image renderer resources on API destruction. r=gankro
MozReview-Commit-ID: E7XuM7vpEXd
2018-01-18 06:28:09 -05:00
Dorel Luca
a066bff27d Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-18 11:43:47 +02:00
sotaro
00c8806482 Bug 1430610 - Change nsIFrame::InvalidateLayer() as to check WebRender's async update r=mtseng 2018-01-18 13:28:49 +09:00
Kartikaya Gupta
8903b49768 Bug 1429951 - Propagate the non-premultiplied flag for textures to WR. r=sotaro
MozReview-Commit-ID: Vd5n5e7XuW

--HG--
extra : rebase_source : ebd563dd785d99a9623906554dfe8ccd507930b4
2018-01-17 12:55:40 -05:00
Tiberius Oros
0f3b1d6ace Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-18 00:28:57 +02:00
Tiberius Oros
92e228aa49 Merge inbound to mozilla-central. a=merge 2018-01-17 23:48:10 +02:00
Kartikaya Gupta
c017160218 Bug 1430660 - Move the APZ update of scroll layer positions into a transaction. r=nical
MozReview-Commit-ID: 45ijEtB1C0Z

--HG--
extra : rebase_source : b700ad68fdc44096dc0348bf1badf94dc993d36f
2018-01-17 11:19:39 -05:00