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

37842 Коммитов

Автор SHA1 Сообщение Дата
Timothy Nikkel 6cd64d8551 Bug 1658167. Use AsyncPanZoomController::GetCurrentAnimationDestination in one more place. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D86480
2020-08-09 21:06:27 +00:00
Jonathan Kew b12c5b9ea0 Bug 1657892 - Cache variation axes in the UnscaledFontMac to accelerate font instantiations. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D86475
2020-08-09 07:23:42 +00:00
Timothy Nikkel 076621eeeb Bug 1656802. Add comment pointing to bug about enabling new desktop zooming scrollbars by default.
Differential Revision: https://phabricator.services.mozilla.com/D86328
2020-08-07 11:40:49 +00:00
Jed Davis dc948b0c6a Bug 1654957 - Enable the GfxInfo component in the GPU process on Linux. r=jgilbert
Out-of-process WebGL needs GfxInfo to exist in the composition
process (which is the GPU process if it exists and the parent process
otherwise).  This patch enables the Linux version of that component in
the GPU process; the IPC currently used to give content processes copies
of the parent's GPU info is extended to also send it to the GPU process.

Differential Revision: https://phabricator.services.mozilla.com/D85443
2020-08-07 21:31:53 +00:00
Jed Davis 0e7115ba35 Bug 1654957 - Prelude: move GfxInfoFeatureStatus from dom to gfx. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D85488
2020-08-07 21:31:48 +00:00
Bogdan Tara 06a9a6d13f Backed out 11 changesets (bug 1656802) for async-scrolling reftests failures CLOSED TREE
Backed out changeset 941ee8aa9735 (bug 1656802)
Backed out changeset c5b1b38d1d35 (bug 1656802)
Backed out changeset fe2dd5de83ef (bug 1656802)
Backed out changeset 8e217fc1c6d4 (bug 1656802)
Backed out changeset 21f574f6acb4 (bug 1656802)
Backed out changeset 753f93dffe07 (bug 1656802)
Backed out changeset 386554110008 (bug 1656802)
Backed out changeset 2d3576ace2f1 (bug 1656802)
Backed out changeset 06a47c35c531 (bug 1656802)
Backed out changeset 57fa48542435 (bug 1656802)
Backed out changeset b1517bc33eff (bug 1656802)
2020-08-07 14:36:21 +03:00
Timothy Nikkel 28c869e69e Bug 1656802. Add comment pointing to bug about enabling new desktop zooming scrollbars by default.
Differential Revision: https://phabricator.services.mozilla.com/D86328
2020-08-07 10:06:14 +00:00
Matt Woodrow 8cc57f6b55 Bug 1657428 - Use correct interpolation mode for native compositing layers. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D86090
2020-08-06 21:14:45 +00:00
Jeff Gilbert a824ab4d81 Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
Have webrender use its own EGLDisplay, letting WebGL use a different
one.

Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-07 07:14:46 +00:00
Simon Giesecke 1e02318b49 Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D83817
2020-08-07 07:49:47 +00:00
Simon Giesecke dea5b543db Bug 1653335 - Remove uses of MakeSpan in return statements. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D83812
2020-08-07 07:42:50 +00:00
Chris Peterson bf14db3062 Bug 1657545 - Fix -Wbackslash-newline-escape warning in gfx/wr/swgl/src/gl.cc. r=mattwoodrow
Compiling swgl v0.1.0 (/Users/chris/Code/mozilla/firefox/gfx/wr/swgl)
warning: src/gl.cc:413:81: warning: backslash and newline separated by space [-Wbackslash-newline-escape]
warning:   macro(GL_ZERO, GL_ONE_MINUS_SRC_ALPHA, 0, 0)                                 \
warning:                                                                                 ^
warning: 1 warning generated.

Regressed by bug 1656813

Differential Revision: https://phabricator.services.mozilla.com/D86145
2020-08-06 07:12:20 +00:00
Mihai Alexandru Michis 639b2bd075 Backed out changeset f1f10f791e99 (bug 1656034) for causing bustages in DMABufSurface.cpp
CLOSED TREE
2020-08-07 02:36:33 +03:00
Brindusan Cristian dc4df79ab1 Backed out changeset 0da3036d0890 (bug 1656711) as requested by tnikkel on irc to test if it caused bug 1657558 or not. CLOSED TREE 2020-08-07 02:27:01 +03:00
Jeff Gilbert b5d6906473 Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
Have webrender use its own EGLDisplay, letting WebGL use a different
one.

Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-06 22:53:53 +00:00
Matt Woodrow a679ee84cf Bug 1657107 - Use YUV22 format for uploading videos to IOSurfaces instead of NV12. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D86081
2020-08-06 21:27:46 +00:00
Matt Woodrow 852a191d88 Bug 1657523 - Compute the scale from size for async image pipelines in the compositor process, so that we get the size matching the current texture. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D86132
2020-08-06 21:09:55 +00:00
Mihai Alexandru Michis 4719cf3e7d Backed out changeset 06538f141210 (bug 1656034) for causing bustages in GLContextProviderEGL.cpp
CLOSED TREE
2020-08-07 00:19:32 +03:00
Jeff Gilbert 78c66237bb Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
Have webrender use its own EGLDisplay, letting WebGL use a different
one.

Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-06 19:56:43 +00:00
Dzmitry Malyshau 86b28cfe0b Bug 1656853 - Check for EGL context to be alive on destruction r=aosmond,jgilbert
This probably doesn't matter, as the changes will be rolled back by
https://phabricator.services.mozilla.com/D85496
But the change should fix the crash anyway, for now.

Differential Revision: https://phabricator.services.mozilla.com/D86069
2020-08-05 21:58:14 +00:00
Matt Woodrow a0e8493a66 Bug 1657499 - Allow SWGL to run in basic_compositor_video. r=lsalzman,perftest-reviewers
Depends on D86088

Differential Revision: https://phabricator.services.mozilla.com/D86089
2020-08-06 07:48:01 +00:00
Butkovits Atila a35dac29ec Backed out changeset 9086f10df485 (bug 1657107) for build bustage at MacIOSurface.cpp. CLOSED TREE 2020-08-06 07:31:22 +03:00
Botond Ballo 202b6af1f3 Bug 1657482 - Work around an unused variable warning. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D86133
2020-08-06 04:02:57 +00:00
Matt Woodrow 64cfd65a62 Bug 1657107 - Use YUV22 format for uploading videos to IOSurfaces instead of NV12. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D86081
2020-08-06 03:36:53 +00:00
Kartikaya Gupta 65de9cd97f Bug 1251612 - Sanitize layer transforms before computing stddev. r=botond
Depends on D86017

Differential Revision: https://phabricator.services.mozilla.com/D86018
2020-08-05 20:48:56 +00:00
Kartikaya Gupta a76f7ee9a1 Bug 1251612 - Make test_smoothness a plain mochitest. r=botond
Also modernize it a tiny bit. This also adjusts the conditions under which
the test is run, and keeps it disabled on CI for now since it's not clear
this will provide value from being run in CI at the moment (fails a lot).

Differential Revision: https://phabricator.services.mozilla.com/D86017
2020-08-05 20:47:55 +00:00
Kartikaya Gupta 39167fa7cd Bug 1251612 - Support the GetFrameUniformity API in content processes. r=botond,froydnj
This moves the IPC mechanism from PCompositorBridge to PLayerTransaction/
PWebRenderBridge, so that it can be used by content processes like the other
test APIs. It still only produces actual data for the layers backend; for
WR it will just return empty datasets.

Differential Revision: https://phabricator.services.mozilla.com/D86016
2020-08-05 21:42:06 +00:00
Botond Ballo a567e90f69 Bug 1657482 - Modernize some loops. r=kats
Use some structured binding goodness while we're at it.

Depends on D86083

Differential Revision: https://phabricator.services.mozilla.com/D86084
2020-08-06 00:23:26 +00:00
Botond Ballo 3f272150c2 Bug 1657482 - Avoid unnecessary map lookups. r=kats
Depends on D86082

Differential Revision: https://phabricator.services.mozilla.com/D86083
2020-08-06 00:22:33 +00:00
Botond Ballo e5d1fb494e Bug 1657482 - Use unique_ptr rather than raw new/delete. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D86082
2020-08-06 00:21:55 +00:00
sotaro e9d5876fef Bug 1657262 - Fix TextureFlags::WAIT_HOST_USAGE_END handling r=mattwoodrow
TextureClient that has TextureFlags::WAIT_HOST_USAGE_END needs to receive NotifyNotUsed from host side.

Differential Revision: https://phabricator.services.mozilla.com/D85962
2020-08-06 00:56:20 +00:00
Butkovits Atila 6a975493c6 Backed out changeset 33cf94c2936b (bug 1653796) for failures at test_frame_reconstruction.html. CLOSED TREE 2020-08-06 00:58:40 +03:00
Kartikaya Gupta fad9416d89 Bug 1653796 - Eliminate non-monotonic sample times at the start of APZ animations with WR. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D86045
2020-08-05 20:26:36 +00:00
Dzmitry Malyshau 9712c504bc Bug 1652750 - Add WR stack overflow test r=kats
adds the gfx crashtest that kats produced

Differential Revision: https://phabricator.services.mozilla.com/D85875
2020-08-05 20:07:03 +00:00
Dorel Luca c594ecfbe7 Backed out 4 changesets (bug 1656236) for Webrender build bustage in reftests/filters/filter-drop-shadow-clip-3.yaml. CLOSED TREE
Backed out changeset c24f6a05294b (bug 1656236)
Backed out changeset a5d6a6f2f3ac (bug 1656236)
Backed out changeset bf4a2fe9f9c0 (bug 1656236)
Backed out changeset c5189b274b91 (bug 1656236)
2020-08-05 18:39:35 +03:00
Nicolas Silva 31d1e467eb Bug 1656236 - Update to euclid 0.22. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D85549
2020-08-05 14:43:44 +00:00
Martin Stransky ba1cca7dff Bug 1657315 [Linux] Remove unused X11 display connection from gfxPlatformGtk, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D85993
2020-08-05 10:56:33 +00:00
Cristina Coroiu 2930787297 Backed out 4 changesets (bug 1656236) for build bustages on a CLOSED TREE
Backed out changeset bd79e14bc5ba (bug 1656236)
Backed out changeset dc76da883823 (bug 1656236)
Backed out changeset c4883923e091 (bug 1656236)
Backed out changeset 9464c1dcb0c9 (bug 1656236)
2020-08-05 12:10:43 +03:00
Nicolas Silva 66fc42bbc6 Bug 1656236 - Update to euclid 0.22. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D85549
2020-08-05 08:35:29 +00:00
Simon Giesecke 1e6ec7ec86 Bug 1656117 - Reduce include dependencies on nsRefreshDriver.h. r=mstange
The abstract observer base classes are moved to a separate header file
nsRefreshObservers.h and the includes are adjusted accordingly.

Some method implementations are moved to the corresponding implementation files
to avoid the need to include the nsRefreshDriver.h file in the header.

Differential Revision: https://phabricator.services.mozilla.com/D85764
2020-08-04 21:17:50 +00:00
Matt Woodrow 6d402027a6 Bug 1656813 - Implement non-premultiplied blending in SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D85732
2020-08-05 02:19:43 +00:00
Matt Woodrow 557fb9c941 Bug 1656813 - Set correct blend mode for non-premultiplied alpha. r=gw
I believe this is correct for blending a non-premuliplied source into a premultiplied destination. Only the source color part should be different to normal blending, since it needs to be multiplied by the source alpha channel.

Differential Revision: https://phabricator.services.mozilla.com/D85716
2020-08-05 02:19:18 +00:00
Matt Woodrow b31970d899 Bug 1656813 - Annotate fuzzy reftest differences. r=lsalzman
These are all subtle differences that aren't visible, many are actually less fuzzy than with normal WR.

Differential Revision: https://phabricator.services.mozilla.com/D85715
2020-08-05 02:19:08 +00:00
Matt Woodrow f52c35fb5a Bug 1656813 - Remove document layer from ZBufferIdGenerator allocation. r=gw
This was added for document splitting, which has since been removed from Gecko.

Differential Revision: https://phabricator.services.mozilla.com/D85714
2020-08-05 02:18:18 +00:00
Matt Woodrow 52816fc9fb Bug 1656813 - Add SWGL support for UNSIGNED_INT_8_8_8_8_REV. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D85712
2020-08-05 02:18:09 +00:00
Matt Woodrow 7a12eb7ada Bug 1656813 - Clang format gl.cc. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D85711
2020-08-05 02:18:07 +00:00
Cosmin Sabou 38cd82e194 Backed out 8 changesets (bug 1656813) for reftest failures on bipbop_300_215kbps.mp4.lastframe.html.
Backed out changeset 92e0209dc7f1 (bug 1656813)
Backed out changeset 1b3842f2ca27 (bug 1656813)
Backed out changeset efed1b35fe47 (bug 1656813)
Backed out changeset d1c313ebe358 (bug 1656813)
Backed out changeset 4d6a3bf61345 (bug 1656813)
Backed out changeset 060254b3ad73 (bug 1656813)
Backed out changeset 37e5e5e6593a (bug 1656813)
Backed out changeset 12c0e9554a5f (bug 1656813)
2020-08-05 04:52:20 +03:00
Matt Woodrow efff724681 Bug 1656813 - Implement non-premultiplied blending in SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D85732
2020-08-05 00:55:01 +00:00
Matt Woodrow 1d129542c3 Bug 1656813 - Set correct blend mode for non-premultiplied alpha. r=gw
I believe this is correct for blending a non-premuliplied source into a premultiplied destination. Only the source color part should be different to normal blending, since it needs to be multiplied by the source alpha channel.

Differential Revision: https://phabricator.services.mozilla.com/D85716
2020-08-05 00:54:36 +00:00
Matt Woodrow 1885d56be1 Bug 1656813 - Annotate fuzzy reftest differences. r=lsalzman
These are all subtle differences that aren't visible, many are actually less fuzzy than with normal WR.

Differential Revision: https://phabricator.services.mozilla.com/D85715
2020-08-05 00:54:23 +00:00