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

43756 Коммитов

Автор SHA1 Сообщение Дата
Brad Werth 99da3205cc Bug 1776653 Part 1: Add more crash annotations when font creation happens. r=jrmuizel
Since we have evidence that CGFontCreate functions can crash, this covers
cases where we might want to know which font was being loaded.

Differential Revision: https://phabricator.services.mozilla.com/D155022
2022-08-29 17:45:51 +00:00
Sandor Molnar 9230fb65c3 Backed out changeset 2f9e4f4b4131 (bug 1787706) for causing reftest/wpt failures. CLOSED TREE 2022-08-29 20:07:46 +03:00
Nicolas Silva 0a7b583271 Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel
It improves rasterization and upload times by a lot in almost all of the test cases I can find. The only drawback is that our invalidation granulatiry is the tile so invalidation gets coarser as we increase the tile size.

512 is a bit special because it is the limit above which a different texture upload path is taken, so there will be more risk of performance side effects if/when we decide to make tiles even larger.

Differential Revision: https://phabricator.services.mozilla.com/D155822
2022-08-29 15:11:36 +00:00
sotaro c0fbba3837 Bug 1787293 - Revert Bug 1780138 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D155833
2022-08-29 13:54:48 +00:00
Glenn Watson 4e87a61ffb Bug 1787089 - Fix interactions between root level mix-blend containers and backdrop-filter r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D155536
2022-08-29 00:30:24 +00:00
Razvan Cojocaru 5edbd09ad0 Bug 1787099 - Change COORDINATE_EPSILON to type CSSCoord and update uses accordingly. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D155707
2022-08-29 00:07:57 +00:00
Andrew Osmond 872c61e4b6 Bug 1787553 - Clear DeviceManagerDx::mDecoderDevice and mVRDevice after device reset. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D155748
2022-08-26 23:32:08 +00:00
sotaro 7e5059e7a3 Bug 1783923 - Ensure WebRenderImageHost::OnReleased() is called during WebRenderBridgeParent shutdown r=gfx-reviewers,lsalzman
If WebRenderImageHost::OnReleased()  is called on all WebRenderImageHosts before RemoteTextureMap::Shutdown(), RemoteTextureMap does not own a reference of WebRenderImageHost during the shutdown.

On current gecko, when WebRenderImageHost is released by WebRenderBridgeParent::Destroy(), WebRenderImageHost::OnReleased() is not called. It needs to be addressed.

And RemoteTextureMap::Shutdown() need to be called after CompositorThreadHolder::Shutdown(). By it, we could expect that WebRenderBridgeParent::Destroy() is called on all WebRenderBridgeParents.

Differential Revision: https://phabricator.services.mozilla.com/D155673
2022-08-26 23:20:55 +00:00
Dan Robertson 89c22b5223 Bug 1787361 - Fix scrollbar touch drag detection when processing touch input. r=botond
Populate hitScrollbarNode after we have cloned the hit test to correctly
determine if we are in a scrollbar touch drag.

Differential Revision: https://phabricator.services.mozilla.com/D155733
2022-08-26 20:56:00 +00:00
Mark Banner d86604e53c Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for gfx. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D155170
2022-08-26 13:39:36 +00:00
Jonathan Kew eecb219788 Bug 1786796 - Handle a color stop range of zero in COLRv1 gradients. r=gfx-reviewers,lsalzman
Depends on D155472

Differential Revision: https://phabricator.services.mozilla.com/D155465
2022-08-25 22:03:04 +00:00
Jonathan Kew 68180fedf1 Bug 1786050 - Normalize color-line if endpoints are not [0.0, 1.0] when creating radial gradient. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D155080
2022-08-25 22:03:03 +00:00
Brad Werth 933b043177 Bug 1787271: Change the order of emitted video low power telemetry enums. r=gfx-reviewers,jrmuizel
This favors FailWindowed as the most important enum to see before any
others, which is more actionable.

Differential Revision: https://phabricator.services.mozilla.com/D155614
2022-08-25 17:42:02 +00:00
Butkovits Atila 101b594cdb Backed out 4 changesets (bug 1786050, bug 1786796) for causing reftest failure at font-error-404-2.html. CLOSED TREE
Backed out changeset 97fc4d3e5911 (bug 1786796)
Backed out changeset c80a7f0aee8e (bug 1786796)
Backed out changeset 23314917bc22 (bug 1786050)
Backed out changeset 16d1b659b291 (bug 1786050)
2022-08-25 20:35:09 +03:00
Jonathan Kew 47769a9f83 Bug 1786796 - Handle a color stop range of zero in COLRv1 gradients. r=gfx-reviewers,lsalzman
Depends on D155472

Differential Revision: https://phabricator.services.mozilla.com/D155465
2022-08-25 09:46:59 +00:00
Jonathan Kew 827ef46945 Bug 1786050 - Normalize color-line if endpoints are not [0.0, 1.0] when creating radial gradient. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D155080
2022-08-25 09:46:58 +00:00
Razvan Cojocaru 2456e8733d Bug 1782339 - Incorrectly hit overscroll bounce makes it impossible to scroll page fully. r=botond,dlrobertson,hiro
Differential Revision: https://phabricator.services.mozilla.com/D155047
2022-08-25 04:02:48 +00:00
Sandor Molnar f6c5f48454 Backed out 4 changesets (bug 1786050, bug 1786796) for causing reftest failures. CLOSED TREE
Backed out changeset 9c09be52726f (bug 1786796)
Backed out changeset fc292ca682cf (bug 1786796)
Backed out changeset 7b0739cd3f8f (bug 1786050)
Backed out changeset bddde4931caa (bug 1786050)
2022-08-25 06:21:23 +03:00
Emilio Cobos Álvarez dca3374873 Bug 1661147 - When starting a new list, copy inputs from the stack as well. r=gfx-reviewers,bradwerth
Copying outputs with a null clip input is not sound if one of the other
items expand outside of our bounds, such as in the case of a blur
filter.

This unveils a side issue, which is that PushOverrideForASR didn't
update the current item stack, which meant that we could accidentally
break sticky positioning in some edge-cases otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D155241
2022-08-25 02:01:37 +00:00
Emilio Cobos Álvarez b5e1870820 Bug 1661147 - Improve ClipManager logs more. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D155425
2022-08-25 02:01:18 +00:00
Hiroyuki Ikezoe 0ca171b4b6 Bug 1786657 - Implement HeadlessWidget::SynthesizeNativeTouchpadPan. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D155437
2022-08-25 00:34:17 +00:00
Jeff Muizelaar ab53989a11 Bug 1786959 - Rename "RenderLayers" to "WrDisplayList". r=gfx-reviewers,bradwerth
This more accurately describes what happens in this time period.

Differential Revision: https://phabricator.services.mozilla.com/D155511
2022-08-24 20:23:57 +00:00
Jonathan Kew 62fe07d264 Bug 1786796 - Handle a color stop range of zero in COLRv1 gradients. r=gfx-reviewers,lsalzman
Depends on D155472

Differential Revision: https://phabricator.services.mozilla.com/D155465
2022-08-24 20:19:07 +00:00
Jonathan Kew dbc303fb0c Bug 1786050 - Normalize color-line if endpoints are not [0.0, 1.0] when creating radial gradient. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D155080
2022-08-24 20:19:06 +00:00
Chris H-C e1b70bb8ce Bug 1785251 - Submit a Glean 'pseudo-main' ping when Telemetry submits a 'main' ping r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D154922
2022-08-24 18:29:03 +00:00
sotaro 259a76ce48 Bug 1786440 - Remove assert from RemoteTextureMap::UnregisterTextureConsumer() r=gfx-reviewers,lsalzman
Assert failure happens when RemoteTextureMap::UnregisterTextureConsumer() is called during shutdown. The assert could be removed since UnregisterTextureConsumer() works on non-compositor thread.

And the function is going to be removed by Bug 1781740.

Differential Revision: https://phabricator.services.mozilla.com/D155440
2022-08-24 04:29:19 +00:00
Noemi Erli 73880fc202 Backed out changeset 81e4e05408f2 (bug 1782339) for causing geckoview failures CLOSED TREE 2022-08-24 05:44:37 +03:00
Dan Robertson 2e81ccd6c7 Bug 1785026 - Disable perma failing assertion in test_group_hittest-2.html. r=botond
The helper_hittest_fixed-3.html subtest in the test_group_hittest-2.html group
is perma failing on mac. Disable the failing assertion, mark it as todo until
it can be fixed, and do not directly include SimpleTest.js.

Differential Revision: https://phabricator.services.mozilla.com/D155264
2022-08-24 00:53:26 +00:00
Razvan Cojocaru 90ed632bf7 Bug 1782339 - Incorrectly hit overscroll bounce makes it impossible to scroll page fully. r=botond,dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D155047
2022-08-23 23:12:54 +00:00
Cristian Tuns 642be079c4 Backed out changeset e143f0342f09 (bug 1785251) for causing xpcshell failures on test_TelemetryController.js CLOSED TREE 2022-08-23 17:51:59 -04:00
Chris H-C 7bbe5c251c Bug 1785251 - Submit a Glean 'pseudo-main' ping when Telemetry submits a 'main' ping r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D154922
2022-08-23 21:05:33 +00:00
Emilio Cobos Álvarez cb97a9e4da Bug 1661147 - Tweak / fix the ClipManager logs. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D155240
2022-08-23 10:52:51 +00:00
Butkovits Atila f96c89a593 Backed out changeset 5311508efeba (bug 1661147) as requested by Emilio. CLOSED TREE 2022-08-23 12:33:14 +03:00
Emilio Cobos Álvarez b95e724c38 Bug 1661147 - When starting a new list, copy inputs from the stack as well. r=gfx-reviewers,bradwerth
Copying outputs with a null clip input is not sound if one of the other
items expand outside of our bounds, such as in the case of a blur
filter.

Depends on D155240

Differential Revision: https://phabricator.services.mozilla.com/D155241
2022-08-23 09:22:13 +00:00
Hiroyuki Ikezoe 80093ef313 Bug 1783936 - Do scroll snap without IntendedDirection in the case of non-fling scrolling. r=botond
It matches "a panning gesture, released without momentum" case in "the type of
scrolling methods" [1] section in the spec.

[1] https://drafts.csswg.org/css-scroll-snap/#scroll-types

Differential Revision: https://phabricator.services.mozilla.com/D155049
2022-08-23 01:55:24 +00:00
Hiroyuki Ikezoe 7c9ab50737 Bug 1783936 - Drop "ask the main thread to" words from a coment about scroll snap in AsyncPanZoomController::SnapBackIfOverscrolled. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D155048
2022-08-23 01:55:23 +00:00
sotaro 0a6cd85acb Bug 1785969 - Remove unused code from CompositorBridgeParent r=gfx-reviewers,lsalzman
CompositorBridgeParent still has code that was used for legacy layers.

Differential Revision: https://phabricator.services.mozilla.com/D155045
2022-08-22 22:42:58 +00:00
Jonathan Kew e78fe1df72 Bug 1786284 - Improve handling of errors in COLRv1 font tables. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D155211
2022-08-22 19:00:48 +00:00
Jamie Nicol f6e6b14b53 Bug 1785786 - Forward UpdateOverscrollVelocity/Offset from GPU process to parent process. r=botond
Since enabling the GPU process on Android, UpdateOverscrollOffset and
UpdateOverscrollVelocity messages no longer make their way to the
GeckoSession. This is because RemoteContentController currently only
implements these methods for the parent process.

This patch implements them for the GPU process, by looking up the root
GeckoContentController and calling SendUpdateOverscrollOffset or
SendUpdateOverscrollVelocity to forward them to the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D155215
2022-08-22 18:47:28 +00:00
Norisz Fay 352fb67ada Backed out changeset 7cc5332b0fdf (bug 1786284) for causing build bustage on COLRFonts.cpp CLOSED TREE 2022-08-22 19:33:18 +03:00
Jonathan Kew 29a2bea9fd Bug 1786284 - Improve handling of errors in COLRv1 font tables. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D155211
2022-08-22 15:00:51 +00:00
Jonathan Kew 5839530325 Bug 1786281 - Use AutoHBBlob for temporary blobs in various places, to replace manual destruction. r=gfx-reviewers,lsalzman
Depends on D155208

Differential Revision: https://phabricator.services.mozilla.com/D155209
2022-08-22 13:36:16 +00:00
Jonathan Kew 166dab3f9d Bug 1786281 - Expose AutoHBBlob as a public helper in gfxFontUtils. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D155208
2022-08-22 13:36:16 +00:00
Daniel Holbert 4209467c50 Bug 1786210: Remove mentions of unused pref gfx.font_loader.interval. r=emilio
This patch doesn't impact behavior.

The pref "gfx.font_loader.interval" used to control certain aspects of
font-loading behavior, but that code has evolved and we no longer read the
value of this pref anywhere.

Differential Revision: https://phabricator.services.mozilla.com/D155183
2022-08-21 23:45:56 +00:00
Jeff Muizelaar 6a76e73b9e Bug 1786143 - Unconditionally include CompositorD3D11.h on Windows. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D155148
2022-08-21 18:43:44 +00:00
Jeff Muizelaar c80542b1a8 Bug 1746662 - Disable CreateSamplingRestrictedDrawable.
Differential Revision: https://phabricator.services.mozilla.com/D155149
2022-08-21 18:12:48 +00:00
Jonathan Kew 2d27591d30 Bug 1785254 - Revise Paint[Var]SweepGradient implementation to conform to OpenType 1.9.1 semantics. r=gfx-reviewers,lsalzman
We also improve the handling of ColorLine, including resolving to a
simple ColorPattern if there is only a single color stop.

The test font CAhem.ttf has also been rebuilt with latest FontTools,
to conform to the updated 1.9.1 spec for sweep gradient tables.

Differential Revision: https://phabricator.services.mozilla.com/D155069
2022-08-19 15:56:34 +00:00
Jonathan Kew 468f9cd2e5 Bug 1786002 - Check palette indices array size. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D155063
2022-08-19 11:45:30 +00:00
Andrew Osmond 5a36e3dd85 Bug 1785366 - Blocklist backdrop filter on some Ivy/Sandybridge Intel Windows drivers. r=jrmuizel,emilio
Backdrop filter crashes newer Intel drivers on Windows. This patch adds
support to the blocklist infrastructure for backdrop filter, and hooks
this up with the CSS property table.

Differential Revision: https://phabricator.services.mozilla.com/D154950
2022-08-18 12:29:20 +00:00
Jamie Nicol 3b0edb46fc Bug 1783542 - Use widget size from ResumeAndResize rather than querying native window. r=gfx-reviewers,aosmond
On Android we have until now determined the compositor widget's size
by querying the values from the ANativeWindow. However, since bug
1780093 landed we can now switch between which Surface we are
rendering in to, and as a result we appear to be using the wrong size
some of the time.

This patch is a speculative attempt to fix this, by using the size
passed to ResumeAndResize() (which itself comes from the Surface's
surfaceChanged() callback) rather than querying the window.

Differential Revision: https://phabricator.services.mozilla.com/D154909
2022-08-18 12:16:46 +00:00