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

2132 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Silva b1c3ab9869 Bug 1662827 - Move the api senders to the webrender crate. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D89387
2020-09-09 12:45:00 +00:00
sotaro 54ede5160d Bug 1460499 - Use DirectComposition for hardware decoded video on Windows r=nical
Use ID3D11VideoProcessor for video frame rendering.

WebRenderError::VIDEO_OVERLAY does not cause disabling WebRender. It just change gfxVars::UseWebRenderDCompVideoOverlayWin() to false.

Differential Revision: https://phabricator.services.mozilla.com/D88763
2020-09-09 01:04:53 +00:00
Mihai Alexandru Michis 002a3217ae Backed out 4 changesets (bug 1662827) for causing webrender bustages.
Backed out changeset 4d216f67247b (bug 1662827)
Backed out changeset 25ef3ef3c69d (bug 1662827)
Backed out changeset 461e4e35a0e3 (bug 1662827)
Backed out changeset 40366bd1a0f7 (bug 1662827)
2020-09-08 17:11:19 +03:00
Nicolas Silva a7e48b6370 Bug 1662827 - Move the api senders to the webrender crate. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D89387
2020-09-08 13:06:16 +00:00
Sylvestre Ledru ba8d39bfb3 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
# ignore-this-changeset

Depends on D89392

Differential Revision: https://phabricator.services.mozilla.com/D89393
2020-09-07 19:57:24 +00:00
Andrew Osmond c45c3ac881 Bug 1662836 - Expose detailed initialization failure reason for WebRender. r=kvark
We don't know why we see initialization failures in the telemetry which
makes it hard to investigate why users aren't getting WebRender and
instead fallback to basic. Let's expose the detailed error message
WebRender already generates and puts in the critical log.

Differential Revision: https://phabricator.services.mozilla.com/D89185
2020-09-08 02:03:26 +00:00
sotaro 64acea96e5 Bug 1658684 - Add android Fence handling to WebRender r=nical
Release fence is delivered from RenderCompositorEGL to WebRenderImageHost via AsyncImagePipelineManager. And the fence is sent to client side by ImageBridgeParent.

Differential Revision: https://phabricator.services.mozilla.com/D88158
2020-09-02 14:21:36 +00:00
Lee Salzman 16b168d133 Bug 1661427 - Allow SWGL SwCompositor to split up compositing work between SwComposite and render threads. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D88392
2020-08-31 18:26:20 +00:00
Sylvestre Ledru 86c0cc26c0 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D88714
2020-08-31 06:51:29 +00:00
Razvan Maries b16f595134 Backed out changeset b99610a6833f (bug 1661427) for Talos perma failures. 2020-08-30 21:13:42 +03:00
Lee Salzman d3aa4d7686 Bug 1661427 - Allow SWGL SwCompositor to split up compositing work between SwComposite and render threads. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D88392
2020-08-28 22:27:54 +00:00
Markus Stange 7787074ce9 Bug 1658856 - Fix overdraw and unused tile pixel computation in the profiler markers. r=mattwoodrow
Depends on D86880

Differential Revision: https://phabricator.services.mozilla.com/D86888
2020-08-27 04:01:01 +00:00
Markus Stange 035e844287 Bug 1592031 - Use NativeLayerSnapshotter to capture profiler screenshots with WebRender on macOS. r=mattwoodrow
Depends on D59158

Differential Revision: https://phabricator.services.mozilla.com/D86880
2020-08-27 04:00:57 +00:00
Glenn Watson 9ef894831d Bug 1661185 - Remove implicit scroll/hit-test APIs. r=kats
Previously, it was possible to instruct WR to find the closest
scroll node, and apply a scroll delta to that. However, it's
generally the case that there is more context required that
the application applies in selecting which frame to scroll.

This patch removes the unused APIs, which simplifies some of
the hit-testing code. In turn, this simplifies some in-progress
optimization and refactoring of the hit-test internals.

Differential Revision: https://phabricator.services.mozilla.com/D88234
2020-08-26 20:38:46 +00:00
sotaro 0d083ef8b6 Bug 1661197 - Initialize mBufferAge at constructor r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D88246
2020-08-26 10:50:44 +00:00
Lee Salzman 8d53aef426 Bug 1622966 - composite YUV surfaces directly in SWGL SwCompositor. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D88102
2020-08-26 00:36:24 +00:00
Matt Woodrow b5a52cf1f5 Bug 1657312 - Don't round clip rect. r=mstange
Depends on D86088

Differential Revision: https://phabricator.services.mozilla.com/D87023
2020-08-14 06:16:52 +00:00
sotaro 712543d5bc Bug 1658005 - Unify RenderTextureHost async function calls r=nical,jnicol
The following functions are asynchronously called by a bit different ways. It seems not good. It seems better to unify them.
PrepareForUse()
NofityForUse()
NotifyNotUsed()

Differential Revision: https://phabricator.services.mozilla.com/D87709
2020-08-21 07:32:47 +00:00
Narcis Beleuzu c259d84931 Backed out 4 changesets (bug 1658856, bug 1592031) for bustages on ScreenshotGrabber.h . CLOSED TREE
Backed out changeset 6d54a1050bbd (bug 1658856)
Backed out changeset 19145f742503 (bug 1592031)
Backed out changeset 5db68a6a5bc2 (bug 1592031)
Backed out changeset 925e3b179b9b (bug 1592031)
2020-08-22 02:06:39 +03:00
Markus Stange 418d5452f5 Bug 1658856 - Fix overdraw and unused tile pixel computation in the profiler markers. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86888
2020-08-21 22:47:38 +00:00
Markus Stange 66928a1e5b Bug 1592031 - Use NativeLayerSnapshotter to capture profiler screenshots with WebRender on macOS. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86880
2020-08-21 22:33:41 +00:00
Glenn Watson 7aba1426fd Bug 1659676 - Simplify WR hit-test API. r=kats,kvark,nical
Specifically:
 - Remove hit test tag from common display item properties.
 - Simplify WR bindings to use hit-test items exclusively.
 - Remove support for transparent rectangles to be hit-test items.
 - Remove support for any primitive to be a hit-test item.

Differential Revision: https://phabricator.services.mozilla.com/D87421
2020-08-19 15:05:30 +00:00
Nicolas Silva cebafe261f Bug 1656236 - Update to euclid 0.22. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D85549
2020-08-18 22:09:27 +00:00
Csoregi Natalia fd9ca77e37 Backed out 3 changesets (bug 1656236) for wrench failures on filter-drop-shadow-clip-3.yaml. CLOSED TREE
Backed out changeset 78205b816ac8 (bug 1656236)
Backed out changeset dc4ccb5a8ea9 (bug 1656236)
Backed out changeset dcfa644ba078 (bug 1656236)
2020-08-18 20:22:57 +03:00
Nicolas Silva fc87bc960e Bug 1656236 - Update to euclid 0.22. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D85549
2020-08-18 16:06:07 +00:00
Jean-Yves Avenard 98c585cfb8 Bug 1659015 - P1. Add YUV identity support (rgb) to WR. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D87167
2020-08-16 20:04:39 +00:00
Matt Woodrow a250b4d7a3 Bug 1656818 - Move decision to flip WebRender readback closer to the source, and make it correct for SWGL. r=lsalzman,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D86892
2020-08-14 18:40:09 +00:00
Matt Woodrow 5e382d20a3 Bug 1658858 - Implement ImageRendering filtering parameter for SwCompositor. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D86890
2020-08-14 00:56:22 +00:00
Csoregi Natalia 8896454838 Backed out 4 changesets (bug 1656817, bug 1656818, bug 1658858) for bustage on RendererOGL.cpp. CLOSED TREE
Backed out changeset 9c8e4ec4e47c (bug 1656818)
Backed out changeset 92252cfd26de (bug 1656818)
Backed out changeset 1bebb79150d6 (bug 1656817)
Backed out changeset e1becb3a2fb5 (bug 1658858)
2020-08-14 00:25:44 +03:00
Matt Woodrow 65e227f6dd Bug 1656818 - Move decision to flip WebRender readback closer to the source, and make it correct for SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D86892
2020-08-13 20:43:35 +00:00
Matt Woodrow 9f6c145559 Bug 1658858 - Implement ImageRendering filtering parameter for SwCompositor. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D86890
2020-08-13 20:42:29 +00:00
Lee Salzman 8326780f95 Bug 1652894 - add SWGL RenderTextureHosts. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86340
2020-08-12 21:25:17 +00:00
Lee Salzman 8c69cf96f0 Bug 1652894 - add SWGL utility bindings for managing textures. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86338
2020-08-11 23:11:33 +00:00
Lee Salzman 7a6953c9a3 Bug 1652894 - allow SWGL contexts to have multiple strong references. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86337
2020-08-11 23:11:35 +00:00
Mihai Alexandru Michis f44ab317a5 Backed out 4 changesets (bug 1652894) for causing multiple reftest failures.
CLOSED TREE

Backed out changeset d6786fcf717b (bug 1652894)
Backed out changeset 97df16d3b738 (bug 1652894)
Backed out changeset 8a1f8b9e2524 (bug 1652894)
Backed out changeset 96bca5729430 (bug 1652894)
2020-08-12 02:08:28 +03:00
Lee Salzman 75d072859c Bug 1652894 - add SWGL RenderTextureHosts. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86340
2020-08-11 15:53:15 +00:00
Lee Salzman 25a8fdd2c8 Bug 1652894 - add SWGL utility bindings for managing textures. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86338
2020-08-11 12:53:54 +00:00
Lee Salzman 9875e7ea3f Bug 1652894 - allow SWGL contexts to have multiple strong references. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86337
2020-08-11 12:53:43 +00:00
Miko Mynttinen 3c0a965bd5 Bug 1658113 - Set the surface format based on YCbCrDescriptor color depth r=jya
Differential Revision: https://phabricator.services.mozilla.com/D86600
2020-08-11 01:13:30 +00:00
Csoregi Natalia cc057fb442 Backed out 4 changesets (bug 1652894) for texture related crashes. CLOSED TREE
Backed out changeset 714ad1b01cb2 (bug 1652894)
Backed out changeset e3b4753fd09c (bug 1652894)
Backed out changeset 8abaf47071d8 (bug 1652894)
Backed out changeset 175df7659c3f (bug 1652894)
2020-08-11 15:50:07 +03:00
Lee Salzman 6b4a081f33 Bug 1652894 - add SWGL RenderTextureHosts. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86340
2020-08-11 07:38:10 +00:00
Lee Salzman 25da5abf77 Bug 1652894 - add SWGL utility bindings for managing textures. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86338
2020-08-11 06:02:23 +00:00
Lee Salzman 96653665f3 Bug 1652894 - allow SWGL contexts to have multiple strong references. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86337
2020-08-11 06:02:25 +00:00
Csoregi Natalia 555c643104 Backed out 4 changesets (bug 1652894) for bustages on RenderThread.cpp. CLOSED TREE
Backed out changeset 0e0107226c9e (bug 1652894)
Backed out changeset ff5e4bffb497 (bug 1652894)
Backed out changeset 2e4c7cced692 (bug 1652894)
Backed out changeset a8b850455c90 (bug 1652894)
2020-08-11 08:52:47 +03:00
Lee Salzman 385e5cc6c6 Bug 1652894 - add SWGL RenderTextureHosts. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86340
2020-08-11 05:24:04 +00:00
Lee Salzman 4c242bb65c Bug 1652894 - add SWGL utility bindings for managing textures. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86338
2020-08-11 05:04:03 +00:00
Lee Salzman 114fe878d9 Bug 1652894 - allow SWGL contexts to have multiple strong references. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86337
2020-08-11 00:50:12 +00:00
Matt Woodrow 6c1b2412c5 Bug 1657771 - Implement scaling and flipping for SwCompositor. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D86500
2020-08-11 04:46:31 +00:00
Razvan Maries 23ffaf1a19 Backed out changeset 56973e24eb3d (bug 1657771) for build bustages. CLOSED TREE 2020-08-11 07:23:46 +03:00
Matt Woodrow 1808e4e837 Bug 1657771 - Implement scaling and flipping for SwCompositor. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D86500
2020-08-11 03:58:53 +00:00