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

29863 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 2f93cbd6cb Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
extra : rebase_source : e56a2d784bd87af73d03cc5fcdca84d8156ed054
2018-05-04 21:07:31 +03:00
Cosmin Sabou dc4e10c449 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
2018-05-04 20:37:47 +03:00
Kartikaya Gupta 8a88ea74e4 Bug 1459102 - Back out WR PR 2709 to fix webrender-enabled behaviour on macOS. r=kvark a=Aryx 2018-05-04 09:37:48 -04:00
Lee Salzman e223d1147b Bug 1457154 - use fallback for color glyphs with transparency in WR. r=gankro
MozReview-Commit-ID: 3Z00aJs26DV
2018-05-03 22:53:55 -04:00
Jonathan Kew 5182b6ad11 Bug 1459158 - Don't apply variation values from CSS font-weight/font-stretch properties if the font's variation axes appear to use a non-CSS-like scale. r=jwatt 2018-05-04 17:36:01 +01:00
Jonathan Kew 034384a62d Bug 1459163 - When variation fonts are disabled, gfxFontEntry::GetVariationsForStyle should just return without attempting to map CSS properties to variation axes. r=jwatt 2018-05-04 17:35:38 +01:00
Ciure Andrei 9be98c9d63 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-04 00:56:01 +03:00
Ciure Andrei 82f7c496dc Merge inbound to mozilla-central. a=merge 2018-05-04 00:52:04 +03:00
Bas Schouten bc69449ac5 Bug 1457967: Don't needlessly include smmintrin.h on platforms where we're only using SSE2. r=jrmuizel 2018-05-03 15:20:01 +00:00
Ryan Hunt c2b8279a9f Bug 1458462 - Create paint workers if it's possible we could switch to tiling in the future. r=nical
On windows it's possible for us to fallback from D2D to Skia rendering at any time due to a device reset.
If this happens with `enable-tiles-if-skia-pomtp` enabled we could begin to use tiling. This can cause a
crash if we never created the worker threads because at initialization time we weren't using tiling.

Another way to fix this would be to dynamically create the worker threads in UpdateRenderMode if we
have switched to skia. That's a larger change and more might be required, so I'd rather just fix the
crash for now.

This commit also fixes a pref that should be `Once` instead of `Live`.

MozReview-Commit-ID: JQidXPjI7ER

--HG--
extra : amend_source : ba9a3746faea3a7355251b7e97e3f7c5dc1ba06b
2018-05-02 09:21:13 -05:00
Jonathan Watt b6f1371d94 Bug 1458218 - Rename gfxGDIFont::mNeedsBold to mNeedsSyntheticBold. r=jfkthame 2018-04-26 12:46:18 +01:00
Jonathan Kew 7dbe882858 Bug 1457254 - Don't pass true for aIsDataFont when creating an UnscaledFontMac from AddNativeFontHandle, this is for installed fonts. r=lsalzman 2018-05-03 22:00:53 +01:00
Milan Sreckovic 4712274b69 Bug 1455696: gfx.webrender.all.qualified preference to default to WR for non-blocked devices/hardware. gfx.webrender.all will still force it on. r=milan
--HG--
extra : rebase_source : 173f06f702ccc4eb93d0e4533316056cb07c88af
2018-05-03 13:02:00 +03:00
Jonathan Kew c8b02be077 Bug 1449605 - part 2 - Rename gfxFontEntry::IsBold() to SupportsBold() and make it smarter about variable fonts, to avoid inappropriate use of synthetic-bold effect. r=jwatt 2018-05-04 10:19:55 +01:00
sotaro b482332d39 Bug 1457387 - Remove WrExternalLogHandler r=jrmuizel 2018-05-04 14:31:32 +09:00
Botond Ballo 9033e3e120 Bug 1458063 - Introduce a new wheel action for pinch-zooming. r=kats
MozReview-Commit-ID: 7DWNvQc2pBE

--HG--
extra : rebase_source : 02d3efe180fb1cd6d49ca9b8a49e4051e6e05cac
2018-05-02 16:51:27 -04:00
Botond Ballo 5db812fe01 Bug 1458063 - Give a name to the special (-1,-1) value of a pinch gesture event's focus point. r=kats
MozReview-Commit-ID: AtitjK2eCGa

--HG--
extra : rebase_source : c2090b54e21f885876808a68347421f277ca66c3
2018-05-02 16:36:17 -04:00
Botond Ballo ad612541e7 Bug 1458063 - Propagate the APZWheelAction to APZCTreeManager. r=kats
MozReview-Commit-ID: Kpr7NGLV7J5

--HG--
extra : rebase_source : 6e42ce08841c44b7c637ddbd878b5372d5d1225b
2018-05-02 12:57:23 -04:00
Botond Ballo 2add094650 Bug 1458063 - Refactor WillHandleWheelEvent() to also indicate the type of action APZ should take. r=kats
MozReview-Commit-ID: LfinNZYqiwt

--HG--
extra : rebase_source : 2ea04360700530e1fbbbaaf94b484b6df2f79fe4
2018-04-30 22:11:10 -04:00
Botond Ballo 951630043e Bug 1458063 - Propagate event modifiers for wheel events in APZInputBridge::ReceiveInputEvent. r=kats
MozReview-Commit-ID: 8X3xfEk9uWQ

--HG--
extra : rebase_source : a2cc6fd9d6259071545ddbd48b738429bfa1c71f
2018-04-30 17:48:22 -04:00
Gurzau Raul 30662c7545 Merge inbound to mozilla-central. a=merge 2018-05-03 00:04:54 +03:00
Kartikaya Gupta 39520d0264 Bug 1458259 - Remove assertion that is no longer valid. r=botond
MozReview-Commit-ID: BMBZJ9q93vA

--HG--
extra : rebase_source : c42a376dc0d589476751e17c68db135e5657d250
2018-05-02 12:47:54 -04:00
Cosmin Sabou a1f7ce21a9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-02 18:07:21 +03:00
Jonathan Kew 007b53464f Bug 1458158 - Correct the weight-difference factor in CalcStyleMatch to favor closer weights, not further ones. r=jwatt 2018-05-01 15:56:04 +01:00
Ryan Hunt 5516d12e7b Bug 1457007 - Add about:support information on if tiling is used in the content process. r=nical
MozReview-Commit-ID: 1JewsArgmZz

--HG--
extra : rebase_source : 85e8e1101ca852baee9e1448267e59b19c9d84e1
2018-04-30 15:05:19 -05:00
Kartikaya Gupta c6b419d0eb Bug 1457891 - Update webrender to commit 8da531dc2cd77a4dadbfe632b04e76454f51ac9f. r=jrmuizel
MozReview-Commit-ID: HTqjYp9gFwA

--HG--
extra : rebase_source : 184b9afc8834819c7bace70ea51d81642d2e17ff
2018-05-03 09:00:55 -04:00
Masatoshi Kimura c7c5848511 Bug 1442275 - Stop using PR_LoadLibrary in gfx/. r=jgilbert
MozReview-Commit-ID: LNZtr4NVFYj

--HG--
extra : rebase_source : 2f064f5662b02a3c2e76774908f4a15e7580720d
extra : source : ad866775710347c330907a315d88784e56dec00e
2018-02-25 01:33:57 +09:00
Hiroyuki Ikezoe c98b461048 Bug 1458798 - Clear the previous timestamp when we skip calling SampleAnimations in CompositeToTarget(). r=kats
The purpose of the previous timestamp is to reduce the time difference between
the timestamps on the main-thread and the compositor.  Once we skipped a frame
to compose animations on the compositor, the timestamp is far behind from the
timestamp on the main-thread, so we should clear it.

MozReview-Commit-ID: EGiQfwejfsy

--HG--
extra : rebase_source : 7c382116b93b27feb6e70e394ebad543ec8bfda5
2018-05-03 15:57:19 +09:00
Andreea Pavel 83decb5324 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-05-01 13:18:00 +03:00
Andreea Pavel 7955752872 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-01 13:13:09 +03:00
Jonathan Kew e92b9e44cf Bug 1449605 - part 1 - Rearrange thebes font code so that the decision whether to apply synthetic-bold is deferred until actually instantiating a font, not made during the font-matching process. r=jwatt
This rearranges how synthetic-bold use is determined in the font selection
& rendering code. Previously, we would decide during the font-selection
algorithm whether we need to apply synthetic-bold to the chosen face, and
then pass that decision through the fontgroup (storing it in the FamilyFace
entries of the mFonts array there) down to the actual rendering code that
instantiates fonts from the faces (font entries) we've selected.

That became a problem for variation fonts because in the case of a user
font, we may not have downloaded the resource yet, so we just have a "user
font container" entry, which carries the descriptors from the @font-face
rule and will fetch the actual resource when needed. But in the case of a
@font-face rule without a weight descriptor, we don't actually know at
font-selection time whether the face will support "true" bold (via a
variation axis) or not, so we can't reliably make the right decision about
applying synthetic bold.

So we now defer that decision until we actually instantiate a platform font
object to shape/measure/draw text. At that point, we have the requested
style and we also have the real font resource, so we can easily determine
whether fake-bold is required.

(This patch should not result in any visible behavior change; that will
come in a second patch now that the architecture supports it.)
2018-05-01 10:30:50 +01:00
Kartikaya Gupta 9d0713c20d Bug 1457448 - Ensure we flush the async scene builder thread before snapshotting. r=nical
MozReview-Commit-ID: 3XTFWiEmk0p

--HG--
extra : rebase_source : 0547263009cfb48bb7f010662d57734ed57f63c7
2018-04-27 10:46:21 -04:00
Hiroyuki Ikezoe 9aeceedbea Bug 1456372 - Call AdvanceAnimations on the root WebRenderBridgeParent for RecvGetAnimationOpacity() and RecvGetAnimationTransform(). r=kats
MozReview-Commit-ID: LmNScQ01eFJ

--HG--
extra : rebase_source : c02844a8f5a9f5e65cbca3b883280285b66a733c
2018-05-01 06:13:39 +09:00
Botond Ballo d39ab35df6 Bug 1457743 - Fix check for entering momentum-scrolling codepath after both fingers are released in a two-finger pan. r=kats
MozReview-Commit-ID: 587mYzBf2aB

--HG--
extra : rebase_source : 075c6f4c1461b6cd9bd5197c51523d7374b91e62
2018-04-28 19:29:51 -04:00
Kartikaya Gupta 549ac4326c Bug 1457443 - Don't expect WebRender windows if WebRender isn't built. r=milan
MozReview-Commit-ID: 2i25nGMsvxE

--HG--
extra : rebase_source : 9bdd28048504bcde5150b252777f46ab523ca1ff
2018-04-27 12:51:40 -04:00
Kartikaya Gupta 4e2f121981 Bug 1457241 - Update webrender to commit 4b65822a2f7e1fed246a492f9fe193ede2f37d74. r=jrmuizel
MozReview-Commit-ID: EIE8tuyH8Ai

--HG--
extra : rebase_source : 8886acf54a54822ee1de326a6ad082edd069dea1
2018-04-30 10:12:52 -04:00
Kartikaya Gupta e8e91e9031 Bug 1457238 - Collapse all the RemovePipelineIdForCompositable transactions into a single one. r=nical
MozReview-Commit-ID: Ekouq9VOrR6

--HG--
extra : rebase_source : 556a6d5bf9846196c10c1efa434b7dbf6f9d061b
2018-04-30 09:35:41 -04:00
Kartikaya Gupta 88324fa347 Bug 1453360 - Store the compositor animation ids to delete until the epoch is rendered. r=nical
With async scene building, we might get the message to delete certain
compositor animation ids while we are still building and rendering
scenes that have those compositor animations. This patch associates
those ids with the epoch at which they are safe to delete, and only does
the deletion once we have rendered that epoch.

MozReview-Commit-ID: Jetfcdtwt1q

--HG--
extra : rebase_source : f06b8ee62e460432e8faed670e928f60cb6bc915
2018-04-27 10:32:31 -04:00
Kartikaya Gupta 3bb1df5d75 Bug 1453360 - Rename NotifyDidCompositeToPipeline to NotifyPipelineRendered. r=nical
This also rearranges the method implementation slightly to make the next
patch easier to read. This patch should have zero functional changes,
it's just refactoring.

MozReview-Commit-ID: 53StJ0TH3IT

--HG--
extra : rebase_source : 2f3aeb54271da75a7e051afc24b8a4c96f8496f2
2018-04-27 10:32:30 -04:00
Andrew Osmond 66d22468b8 Bug 1425484 - Part 5. Correct prototype of TakeExternalSurfaces. r=aosmond 2018-04-29 18:48:39 -04:00
Andreea Pavel 443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Hiroyuki Ikezoe 41be7768d1 Bug 1457249 - Use actually calculated value for the assertion that checks animation value is unchanged when we decided to skip calculation for the animation on debug build. r=kats
Before this change, the value which was set by SetShadowBaseTransform()
has been used for the assertion, but it is possible that the value is changed
by APZ.  And it's hard to tell whether the value has been changed by APZ or not
and it's hard to *reverse-calculate* the differences in the past APZ at the
moment we want to do the assert.

So after this patch, on debug build we don't actually skip the calculation for
unchanged animations and use the newly calculated value for the assertion.

MozReview-Commit-ID: 8fCcvvbUMHe

--HG--
extra : rebase_source : 0ff5e7100ad33a690bb0edd02af2b00c749afbbe
2018-04-28 18:09:27 +09:00
Hiroyuki Ikezoe 83df03fa3f Bug 1457249 - Factor out the function that converts transform into device space. r=kats
MozReview-Commit-ID: L7CDcSdIj4D

--HG--
extra : rebase_source : 9b976891ea92ca4ee50968139a3662eba3eeef3b
2018-04-28 18:08:15 +09:00
Hiroyuki Ikezoe bd924ec565 Bug 1457249 - Factor out the function that converts servo's animation value to matrix. r=kats
MozReview-Commit-ID: HpdFYykOkOS

--HG--
extra : rebase_source : 3fb386bb41b9bcf122bd5c8410fe73dcc3dd5d97
2018-04-28 18:08:15 +09:00
Hiroyuki Ikezoe 328d34d3c7 Bug 1457249 - Assert that there is an animation value set by animations when we skip calculation for newly animation value. r=kats
MozReview-Commit-ID: F85nAmKIGCA

--HG--
extra : rebase_source : 0f2065e58f02ef1462a15f0cd680ffa7b2a185b1
2018-04-28 18:08:15 +09:00
Jonathan Kew 5e9926e820 Bug 1457505 - Fix the check for variation-font support in gfxWindowsPlatform: cannot depend on checking mUsingDirectWrite, as the fontlist is not yet set up. r=lsalzman 2018-04-28 09:17:47 +01:00
Csoregi Natalia aa73cfd14b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-28 00:55:43 +03:00
Bas Schouten 2c2327c372 Bug 1427063: Have D2D interpret colors in premultiplied space. As it says is its default. r=rhunt
MozReview-Commit-ID: 5OWjHW1CqjN
2018-04-23 19:27:48 +02:00
Andrew Osmond f5b895f6bf Bug 1425484 - Part 4. Followup to fix shared surface lifetime issue with blob images. r=aosmond 2018-04-27 09:05:40 -04:00
Cosmin Sabou 68fdb6cf4f Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03:00