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

37810 Коммитов

Автор SHA1 Сообщение Дата
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
Matt Woodrow 84feb51b10 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 00:53:31 +00:00
Matt Woodrow 8968a8c00a 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 00:52:56 +00:00
Matt Woodrow b262c2fc91 Bug 1656813 - Clang format gl.cc. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D85711
2020-08-05 00:52:54 +00:00
Bogdan Tara 954472a91e Backed out 2 changesets (bug 1653355) by mstange's request, for causing bug 1657239 and bug 1657241
Backed out changeset c05bf982e469 (bug 1653355)
Backed out changeset 8de5ba3d1c6f (bug 1653355)
2020-08-05 02:37:30 +03:00
Glenn Watson c06873d1c0 Bug 1623792 - Add ClipSet to PrimitiveInstance. r=kvark,nical
Much of the work that is currently done during frame building to
build clip-chain instances can actually be done during scene
building (most clips are in the same local space as the related
primitive).

This patch adds ClipSet, and does the minimal amount of refactoring
to move clip_chain_id and local_clip_rect into this structure.

Future work will move much of the current clip chain node information
to be stored inline in ClipSet that doesn't need to be recalculated
each frame build. Eventually, this functionality can be stored as
part of the primitive template, which will avoid doing this work
during scene building unless the clips have changed.

Differential Revision: https://phabricator.services.mozilla.com/D85807
2020-08-04 21:05:12 +00:00
Mihai Alexandru Michis 9fa46e7850 Backed out 2 changesets (bug 1654957) for causing leaks.
CLOSED TREE

Backed out changeset 14761127f6bb (bug 1654957)
Backed out changeset 49a529a1cc20 (bug 1654957)
2020-08-04 19:31:06 +03:00
Jed Davis 24b6995b46 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-07-30 22:08:15 +00:00
Jed Davis e0230397f6 Bug 1654957 - Prelude: move GfxInfoFeatureStatus from dom to gfx. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D85488
2020-07-30 22:07:24 +00:00
Simon Giesecke 96f3e7e019 Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00
Matt Woodrow be050a0bb1 Bug 1653409 - Specify correct color space and YCbCr matrix on IOSurfaces, so that CoreAnimation converts them correctly. r=mstange
This overrides the colorspace of hardware decoded videos to specify the monitor's color space, to prevent CoreAnimation from doing conversion.
This probably isn't the right long term answer, but it matches our current rendering and readback code paths.

A note for the future: IOSurfaceSetValue/IOSurfaceCopyValue silently fail if the IOSurface is 'in use'.

Differential Revision: https://phabricator.services.mozilla.com/D85355
2020-08-04 01:18:31 +00:00
Matt Woodrow 553c2d162d Bug 1653409 - Upload software decoded video directly to IOSurface on OSX. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D85105
2020-08-04 01:18:14 +00:00
Matt Woodrow 87db131e32 Bug 1653048 - Add support for external images in the wr::Compositor API, and implement it for MacOS IOSurfaces. r=mstange,gw
Differential Revision: https://phabricator.services.mozilla.com/D84638
2020-08-04 01:19:59 +00:00
Matt Woodrow 01b5738a5d Bug 1653166 - Add transforms to WebRender Compositor API. r=gw,mstange,sotaro
Differential Revision: https://phabricator.services.mozilla.com/D84328
2020-08-04 01:19:59 +00:00
Matt Woodrow 72cda2d18d Bug 1653166 - Add rotation support to computed reference frames and use them for <video>. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D85104
2020-08-04 01:15:04 +00:00
Glenn Watson 33a3e935da Bug 1656820 - Remove content_size from scene pipeline. r=nical
Previously, the content_size was used when defining an iframe
to set the size of the root scrollable area.

However, this was never useful (the root pipeline scroll frame
is not considered a scroll root, it's more of a placeholder).
The scroll frame for content is typically defined within the
iframe display list (which also allows non-scrolled content
within the iframe, such as a background rectangle color).

The existing content_size was causing problems in Gecko because
there are some snapping / rounding inaccuracies with fractional
DPI ratios, resulting in root scroll frames with +/- 1 pixel
scrollable size.

The simplest fix for this is to remove content_size altogether
and rely on the iframe display item to define the content size
of the root scroll frame for a pipeline.

Differential Revision: https://phabricator.services.mozilla.com/D85719
2020-08-03 20:57:30 +00:00
Hiroyuki Ikezoe fd577e8d88 Bug 1654179 - Use nsIDOMWindowUtils.setResolutionAndScaleTo and specifying a relatively small scale value instead of zoom in the content. r=botond
So that we can work around the race condition that the test proceeds in the
middle of the zooming in the content.

Differential Revision: https://phabricator.services.mozilla.com/D85721
2020-08-03 20:56:18 +00:00
Noemi Erli 381fca9783 Backed out 4 changesets (bug 1654992, bug 1654991) for causing timeous in mask-opacity-1e.html
Backed out changeset 11f0f54c6e0a (bug 1654992)
Backed out changeset a353dd5b3f08 (bug 1654991)
Backed out changeset 6a7964ba549f (bug 1654991)
Backed out changeset cf3bfb91d98c (bug 1654991)
2020-08-03 22:09:36 +03:00
Andrew McCreight f6f2bd8f6e Bug 1655536, part 2 - Don't wait for memory reports from child processes that no longer exist. r=froydnj
This patch uses IPDL's return feature to ensure that the memory
reporter manager won't wait for a report from a child process
that has already exited.

This fixes a memory reporter hang that can happen if a child process
exits during a memory report, when the parent half of the actor is
being held alive. (If the parent half of the actor is not being held
alive, then mMemoryReportRequest will be naturally cleared when it
goes away.)

This was happening frequently on Windows Fission AWSY because that test
does a minimize memory right before it attempts to get a memory report,
and the preallocated content process exits when it sees a message to
minimize memory.

Differential Revision: https://phabricator.services.mozilla.com/D85499
2020-08-03 18:29:45 +00:00
Andrew McCreight 7157f25222 Bug 1655536, part 1 - Drop the return value from MemoryReportRequestClient::FinishCallback. r=froydnj
The next patch converts the memory reporting architecture to use the "returns"
feature of IPDL, and mozilla::ipc::RejectCallback does not have a return
type, so this patch removes the return value.

FinishReportingCallback::Callback() needs to remain an XPCOM method
that returns NS_OK because it is called from JS during testing.

Differential Revision: https://phabricator.services.mozilla.com/D85498
2020-08-03 18:29:02 +00:00
Simon Giesecke 032d2ac9d3 Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-03 14:54:18 +00:00
Timothy Nikkel 78199a16a4 Bug 1656711. Support hardware accelerated <feGaussianBlur> SVG filters if the x and y radius are not equal with webrender. r=gw
Pretty straight forward, mostly just plumbing stuff through.

Differential Revision: https://phabricator.services.mozilla.com/D85666
2020-08-03 00:48:04 +00:00
Dorel Luca eb411c9e05 Backed out changeset fed45fbadc26 (bug 1656711) for webrender build bustage 2020-08-03 00:59:31 +03:00
Timothy Nikkel 9db06357a1 Bug 1656711. Support hardware accelerated <feGaussianBlur> SVG filters if the x and y radius are not equal with webrender. r=gw
Pretty straight forward, mostly just plumbing stuff through.

Differential Revision: https://phabricator.services.mozilla.com/D85666
2020-08-02 21:33:50 +00:00
Dorel Luca e210ecd37e Backed out changeset 26ff1a25028d (bug 1656711) for Webrender build bustages 2020-08-03 00:07:39 +03:00
Timothy Nikkel 9b76156d6b Bug 1656711. Support hardware accelerated <feGaussianBlur> SVG filters if the x and y radius are not equal with webrender. r=gw
Pretty straight forward, mostly just plumbing stuff through.

Differential Revision: https://phabricator.services.mozilla.com/D85666
2020-08-02 20:45:02 +00:00
Emilio Cobos Álvarez f08a5f293b Bug 1650502 - Plumb whether an async APZ animation is in progress via RepaintRequest. r=botond
And store that information in the scroll frame for the purposes of
avoiding scroll anchoring and scroll restoration.

Differential Revision: https://phabricator.services.mozilla.com/D85157
2020-08-02 16:58:29 +00:00
Emilio Cobos Álvarez fff8c6763f Bug 1650502 - Miscellaneous cleanups in AsyncPanZoomController. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D85156
2020-08-02 16:56:20 +00:00
Cosmin Sabou 8aa0a2fcff Backed out 2 changesets (bug 1650502) for mochitest failures on test_frame_reconstruction.html. CLOSED TREE
Backed out changeset 1a4ce811fcab (bug 1650502)
Backed out changeset b21e76dcb485 (bug 1650502)
2020-08-02 19:50:05 +03:00
Sylvestre Ledru e446a298e2 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
# ignore-this-changeset

Depends on D85678

Differential Revision: https://phabricator.services.mozilla.com/D85679
2020-08-02 15:15:26 +00:00
Sylvestre Ledru 843f943758 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D85678
2020-08-02 15:29:15 +00:00
Emilio Cobos Álvarez 964bac7f10 Bug 1650502 - Plumb whether an async APZ animation is in progress via RepaintRequest. r=botond
And store that information in the scroll frame for the purposes of
avoiding scroll anchoring and scroll restoration.

Differential Revision: https://phabricator.services.mozilla.com/D85157
2020-08-02 15:20:55 +00:00
Emilio Cobos Álvarez 80d2b946ef Bug 1650502 - Miscellaneous cleanups in AsyncPanZoomController. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D85156
2020-07-31 23:58:03 +00:00