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

45412 Коммитов

Автор SHA1 Сообщение Дата
Jamie Nicol 0694aeb5d3 Bug 1853573 - Implement vec2_scalar fract() in swgl. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188818
2023-09-21 14:30:12 +00:00
Nicolas Silva d135870658 Bug 1853105 - Update `wgpu` to revision 7fea9e934efd8d5dc03b9aa3e06b775c1ac4a23e. r=webgpu-reviewers,supply-chain-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D188214
2023-09-20 07:32:45 +00:00
Andrew Osmond 954f36d2de Bug 1850259. r=lsalzman,gfx-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188617
2023-09-19 20:08:48 +00:00
Updatebot 7beb9aa584 Bug 1853822 - Update harfbuzz to 8.2.1 r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D188542
2023-09-19 15:05:53 +00:00
Robert Longson f92dd3f823 Bug 1853368 - Replace deprecated CTFontManagerRegisterFontsForURLs by CTFontManagerRegisterFontURLs r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D188336
2023-09-19 08:41:12 +00:00
Jan-Erik Rediger 8dd4f8a708 Bug 1852921 - Upgrade to Glean v54.0.0 r=chutten,supply-chain-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188084
2023-09-19 08:18:12 +00:00
Gregory Pappas 4c58de9d34 Bug 1851395 - Remove canvas.createConicGradient.enabled pref r=webidl,peterv
Differential Revision: https://phabricator.services.mozilla.com/D187357
2023-09-18 22:09:35 +00:00
Jonathan Kew 220a4897ba Bug 1851192 - Ensure gfxPlatformFontList shutdown waits for the InitFontList thread to terminate. r=gfx-reviewers,lsalzman,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D188501
2023-09-18 18:46:20 +00:00
Sandor Molnar 1f5dbccdb3 Backed out changeset 1e582a0e5593 (bug 1852921) for causing build bustages 2023-09-19 01:43:08 +03:00
Bob Owen c1b3f7e00b Bug 1853668: Add null check for the borrowed DrawTarget in TextureClient::BorrowSnapshot. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188482
2023-09-18 17:34:02 +00:00
Jan-Erik Rediger a98db88b61 Bug 1852921 - Upgrade to Glean v54.0.0 r=chutten,supply-chain-reviewers,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188084
2023-09-18 14:09:18 +00:00
Iulian Moraru 3654130327 Merge mozilla-central to autoland on a CLOSED TREE 2023-09-18 17:44:16 +03:00
Iulian Moraru c56cc57d54 Merge autoland to mozilla-central. a=merge 2023-09-18 17:40:53 +03:00
Iulian Moraru 01339f2b82 Backed out changeset c369e42eb572 (bug 1849680) for causing Bug 1853691. 2023-09-18 17:39:49 +03:00
Jonathan Kew e75f77bc28 Bug 1851284 - Font name correction in Windows lang-pack font list. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D188424
2023-09-18 09:05:50 +00:00
stransky 9e5ceff322 Bug 1852741 [Linux] Delete DMABUFTextureHostOGL if dmabuf surface import fails r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D188327
2023-09-18 06:30:43 +00:00
Glenn Watson 98e7bbf614 Bug 1849680 - Add support for masks on opaque compositor surfaces r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188155
2023-09-17 22:44:04 +00:00
Noemi Erli edbcdc5c97 Backed out changeset 4333e71e3754 (bug 1849680) for causing wrench bustages CLOSED TREE 2023-09-18 02:44:38 +03:00
Glenn Watson 331bbfed93 Bug 1849680 - Add support for masks on opaque compositor surfaces r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188155
2023-09-17 22:44:04 +00:00
sotaro fa82ebd5e1 Bug 1852485 - Present WebGPU by using DX11 texture in swap chain with readback on Windows r=webgpu-reviewers,nical
The change is preparation for Bug 1843891.
Current gecko uses a internal texture for SwapChain's texture. This bug changes as to use external dx11 texture for WebGPU dx12 backend on Windows.

WebGPUParent allocates dx11 texture for SwapChain's texture of dx12 backend WebGPU. wgpu uses the dx11 texture as ID3D12Resource. The readback for presenting to WebRender still exists.
The change handles only RBGA format.

Differential Revision: https://phabricator.services.mozilla.com/D187870
2023-09-17 18:42:07 +00:00
Jonathan Kew 924f066162 Bug 1853216 - Don't render layered-color glyphs via webrender if text-shadow is present. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188346
2023-09-16 09:33:55 +00:00
Sandor Molnar 2b6bb99fd8 Backed out changeset 6cdd02295e2d (bug 1842478) for causing mochitest failures on layout/style/test/test_transitions_and_zoom.html CLOSED TREE 2023-09-16 11:10:01 +03:00
Gregory Pappas b681733f23 Bug 1842478 - Remove layout.css.individual-transform.enabled pref r=boris,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184176
2023-09-16 05:55:29 +00:00
Gregory Pappas 740b6eaec0 Bug 1842479 - Remove layout.css.motion-path.enabled pref r=boris
Differential Revision: https://phabricator.services.mozilla.com/D184018
2023-09-16 02:37:11 +00:00
Iulian Moraru 01b45bcc95 Backed out changeset 163d24542c19 (bug 1853216) for causing reftest failures on 1853216-1.html. 2023-09-16 05:14:15 +03:00
Emilio Cobos Álvarez 6cd30b6fe1 Bug 1853392 - Simplify font-size-adjust: from-font handling. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D188355
2023-09-15 22:17:25 +00:00
Jonathan Kew 661ae1d661 Bug 1853216 - Don't render layered-color glyphs via webrender if text-shadow is present. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188346
2023-09-15 21:10:53 +00:00
Nicolas Silva cd614843dd Bug 1853140 - Only use wgpu's dx12 backend (on windows). r=webgpu-reviewers,jimb
Differential Revision: https://phabricator.services.mozilla.com/D188244
2023-09-15 17:52:40 +00:00
Bob Owen 324c055150 Bug 1850983: Add check for correct format in DrawTarget::IntoLuminanceSource. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D187561
2023-09-15 17:48:14 +00:00
Bob Owen 033ddf773e Bug 1850180: Release assert on too many PopLayers in DrawTargetSkia and DrawTargetCairo. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D187470
2023-09-15 17:47:30 +00:00
Bob Owen f3cd5589a8 Bug 1853178: Return null if we have no DrawTarget in RecordedTextureData::BorrowSnapshot. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188347
2023-09-15 17:17:02 +00:00
Gregory Pappas e5c7fdab51 Bug 1853262 - Remove gfx.downloadable_fonts.sanitize_omt pref r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D188314
2023-09-15 15:57:31 +00:00
Nika Layzell d3bbcb77cb Bug 1852082 - Part 1: Allow stealing ownership of the shared memory handle from SharedMemoryBasic, r=ipc-reviewers,mccr8
This is not the ideal form of this API, but avoids unnecessary handle
cloning and the corresponding fallible calls in some situations. In the
future we still want to do something more like bug 1797039, which will
provide a proper separation of handles from mappings for shared memory
regions.

Differential Revision: https://phabricator.services.mozilla.com/D187682
2023-09-15 15:26:50 +00:00
Jonathan Kew 9eca0b34ce Bug 1853306 - Skip duplicates potentially returned by CTFontDescriptorCreateMatchingFontDescriptors in the descriptors array. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188323
2023-09-15 14:39:19 +00:00
Cosmin Sabou 3290ce6472 Backed out changeset ba49d9bdc665 (bug 1852485) for causing non-unified build bustages at ExternalTextureD3D11.cpp. 2023-09-15 16:21:08 +03:00
sotaro a8dfa5bebe Bug 1852485 - Present WebGPU by using DX11 texture in swap chain with readback on Windows r=webgpu-reviewers,nical
The change is preparation for Bug 1843891.
Current gecko uses a internal texture for SwapChain's texture. This bug changes as to use external dx11 texture for WebGPU dx12 backend on Windows.

WebGPUParent allocates dx11 texture for SwapChain's texture of dx12 backend WebGPU. wgpu uses the dx11 texture as ID3D12Resource. The readback for presenting to WebRender still exists.
The change handles only RBGA format.

Differential Revision: https://phabricator.services.mozilla.com/D187870
2023-09-15 11:14:51 +00:00
Cosmin Sabou 432ec143bf Backed out changeset 14877179e1a7 (bug 1849680) for causing mda failures on test_video_low_power_telemetry.html. CLOSED TREE 2023-09-15 10:03:57 +03:00
Masatoshi Kimura 0f09dfdb3e Bug 1852806 - Remove macros for older Windows SDK from gfx/. r=gfx-reviewers,lsalzman
Depends on D188022

Differential Revision: https://phabricator.services.mozilla.com/D188023
2023-09-15 03:19:26 +00:00
Cosmin Sabou f8c16a8f94 Backed out 15 changesets (bug 1852806) for causing mda failures on test_video_low_power_telemetry.html. CLOSED TREE
Backed out changeset faea1f4cb9a9 (bug 1852806)
Backed out changeset 4db93c374f9b (bug 1852806)
Backed out changeset 7e40e0e04921 (bug 1852806)
Backed out changeset b0a66c4269ce (bug 1852806)
Backed out changeset 4ff3545936f9 (bug 1852806)
Backed out changeset 02c0a8eb3fd6 (bug 1852806)
Backed out changeset ae2c7b33acfb (bug 1852806)
Backed out changeset 2b89ba254a1a (bug 1852806)
Backed out changeset dfa4f73fc548 (bug 1852806)
Backed out changeset daffcc4c1877 (bug 1852806)
Backed out changeset 33855bcdf15e (bug 1852806)
Backed out changeset 694f29707f3e (bug 1852806)
Backed out changeset 1891eda22a59 (bug 1852806)
Backed out changeset 1b854941389c (bug 1852806)
Backed out changeset 2f7cfe04be59 (bug 1852806)
2023-09-15 09:48:27 +03:00
Masatoshi Kimura f9d563c0c9 Bug 1852806 - Remove macros for older Windows SDK from gfx/. r=gfx-reviewers,lsalzman
Depends on D188022

Differential Revision: https://phabricator.services.mozilla.com/D188023
2023-09-15 03:19:26 +00:00
Glenn Watson 4b1b65aec9 Bug 1849680 - Add support for masks on opaque compositor surfaces r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D188155
2023-09-15 02:19:27 +00:00
sotaro d6502a3f40 Bug 1851377 - Fix remote texture recycling problem related to mLatestRenderedTextureHost r=gfx-reviewers,lsalzman
mLatestRenderedTextureHost could block remote textures recycling when mLatestRenderedTextureHost is last compositable ref of remote texture's TextureHost.

When remote textures were pushed but they were not rendered, mLatestRenderedTextureHost was not updated. But size of mUsingTextureDataHolders were increased. Since remote textures are recycled as FIFO order. If mLatestRenderedTextureHost is not updated, front of mUsingTextureDataHolders is not recycled.

The patch unblocks remote texture recyclieng in this case.

Differential Revision: https://phabricator.services.mozilla.com/D188163
2023-09-15 00:22:37 +00:00
Emilio Cobos Álvarez d12231ae7a Bug 1852457 - Simplify nsITheme::ThemeWantsButtonInnerFocusRing(). r=jfkthame,layout-reviewers
In practice, this is only ever true on the native windows theme. All
other themes return true for ThemeDrawsFocusForWidget for Button and
Menulist, which are the relevant appearance values here. So make this
more explicit.

Differential Revision: https://phabricator.services.mozilla.com/D187856
2023-09-14 09:46:42 +00:00
Razvan Cojocaru 7904413197 Bug 1843954 - Have `Coord * Primitive` and `Coord / Primitive` return `Coord`. r=botond
While at it, improve the readability of the enable_if
IntCoordTyped constructor.

Differential Revision: https://phabricator.services.mozilla.com/D184573
2023-09-14 00:37:04 +00:00
Tom Marble 9e40a719f2 Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
stransky 231d42ad01 Bug 1847336 [Linux] Skip frame rendering if we don't have EGL window to paint into r=sotaro
If SetEGLNativeWindowSize() returns false window size put to SetEGLNativeWindowSize() doesn't match screen scale and
will lead to Wayland protocol error. Skip this frame rendering and wait for new window size provided by layout.

Depends on D187890

Differential Revision: https://phabricator.services.mozilla.com/D187891
2023-09-12 18:32:44 +00:00
Nicolas Silva 0386470d2c Bug 1852723 - Reduce the per-device descriptor heap allocation in the dx12 backend. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D187972
2023-09-12 15:15:22 +00:00
Bob Owen 6cee752c49 Bug 1850072: Initialize RecordedDrawTargetCreation::mHasExistingData. r=jrmuizel
This also specializes ElementStreamFormat for bool.

Differential Revision: https://phabricator.services.mozilla.com/D187794
2023-09-12 11:51:11 +00:00
Jonathan Kew 8265030dfe Bug 1850484 - Ignore installed fonts with empty family-name. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D187921
2023-09-12 10:44:02 +00:00
Hiroyuki Ikezoe 0841d615c2 Bug 1768393 - Add the snap area into ScrollSnapRange. r=botond
We could avoid adding the snap area into ScrollSnapRange if we added two
additional flags representing whether the snap area size is larger than the
snapport into SnapTarget and drop ScrollSnapRange entirely. But it would
be inefficient in most cases since such larger snap area cases are uncommon, we
will not find any larger snap areas while iterating over
ScrollSnapInfo::mSnapTargets.

Differential Revision: https://phabricator.services.mozilla.com/D184340
2023-09-12 01:33:19 +00:00