Jeff Gilbert
ad26ba8eea
Bug 1717151 - Move EGL_EXT_device_query from device exts to client exts. r=gfx-reviewers,lsalzman
...
This moved due to a fix in ANGLE 56663dbfa78 on 2020-nov-19.
Differential Revision: https://phabricator.services.mozilla.com/D125748
2021-09-16 18:24:32 +00:00
Sandor Molnar
d8d7539593
Backed out 3 changesets (bug 1717151) for causing webgl failures in vector-matrix-constructor-scalarization. CLOSED TREE
...
Backed out changeset bd3e2c874f3d (bug 1717151)
Backed out changeset 3154db5a81cf (bug 1717151)
Backed out changeset 05bd12e339df (bug 1717151)
2021-09-16 10:29:11 +03:00
Jeff Gilbert
d6aa54df00
Bug 1717151 - Move EGL_EXT_device_query from device exts to client exts. r=gfx-reviewers,lsalzman
...
This moved due to a fix in ANGLE 56663dbfa78 on 2020-nov-19.
Differential Revision: https://phabricator.services.mozilla.com/D125748
2021-09-15 22:20:32 +00:00
sotaro
641ab17cd9
Bug 1727511 - Add mozlog around WebRenderBridgeParent and RenderThread r=gfx-reviewers,jrmuizel,aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D123616
2021-09-01 22:27:15 +00:00
criss
10c4c4351f
Backed out changeset 25acfe977062 (bug 1727511) for causing valgrind build bustages. CLOSED TREE
2021-08-27 18:24:28 +03:00
sotaro
a4dae9b314
Bug 1727511 - Add mozlog around WebRenderBridgeParent and RenderThread r=gfx-reviewers,jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D123616
2021-08-27 06:37:32 +00:00
Dorel Luca
585240571a
Backed out 2 changesets (bug 1717151) for Crashtest failures in dom/media/gmp/GMPServiceParent.cpp. CLOSED TREE
...
Backed out changeset adc225dcc004 (bug 1717151)
Backed out changeset 0ca0354e2a44 (bug 1717151)
2021-08-03 01:56:11 +03:00
Jeff Gilbert
002654edda
Bug 1717151 - Move EGL_EXT_device_query from device exts to client exts. r=lsalzman
...
This moved due to a fix in ANGLE 56663dbfa78 on 2020-nov-19.
Differential Revision: https://phabricator.services.mozilla.com/D121561
2021-08-02 19:10:37 +00:00
Csoregi Natalia
1439cf57eb
Backed out 2 changesets (bug 1717151) for causing bustage on validationEGL.h. CLOSED TREE
...
Backed out changeset 06d6ad49726c (bug 1717151)
Backed out changeset ee22b6243926 (bug 1717151)
2021-07-29 22:52:24 +03:00
Jeff Gilbert
555b7c9143
Bug 1717151 - Move EGL_EXT_device_query from device exts to client exts. r=lsalzman
...
This moved due to a fix in ANGLE 56663dbfa78 on 2020-nov-19.
Differential Revision: https://phabricator.services.mozilla.com/D121216
2021-07-29 19:16:32 +00:00
Nicolas Silva
fd03e01f61
Bug 1711648 - Move all device rects to the Box2D representations. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D116401
2021-06-02 12:47:03 +00:00
Csoregi Natalia
511356a7c1
Backed out 3 changesets (bug 1713544, bug 1711648) for valgrind failures. CLOSED TREE
...
Backed out changeset 9449ea40b4fd (bug 1713544)
Backed out changeset 3d51bfaa0d8d (bug 1711648)
Backed out changeset c6c83dc97cbb (bug 1711648)
2021-06-02 10:43:16 +03:00
Nicolas Silva
2c30dfddef
Bug 1711648 - Move all device rects to the Box2D representations. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D116401
Depends on D116266
2021-06-01 21:25:19 +00:00
Butkovits Atila
34ce52667e
Backed out 2 changesets (bug 1711648) for causing wrench bustages. CLOSED TREE
...
Backed out changeset 7f1ae1fdd305 (bug 1711648)
Backed out changeset 71807d4e6302 (bug 1711648)
2021-06-02 01:28:29 +03:00
Nicolas Silva
7f7de00ea8
Bug 1711648 - Move all device rects to the Box2D representations. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D116401
2021-06-01 21:25:19 +00:00
Butkovits Atila
3af9a07178
Backed out 2 changesets (bug 1711648) for causing failures at grid-max-sizing-flex-002.html. CLOSED TREE
...
Backed out changeset 9cf4e612dbac (bug 1711648)
Backed out changeset 7d8bba559407 (bug 1711648)
2021-06-01 21:07:34 +03:00
Nicolas Silva
8aa37de340
Bug 1711648 - Move all device rects to the Box2D representations. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D116401
2021-06-01 16:30:36 +00:00
Glenn Watson
f459eaca0d
Bug 1712871 - Move max_update_rects into CompositorCapabilities r=lsalzman,gfx-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D115954
2021-05-26 20:09:58 +00:00
Jeff Muizelaar
4e1bc5a36f
Bug 1711490 - Stop using allocating a depth buffer for the main window. r=nical
...
In bug 1696905
we removed our need for depth buffer when running the
composite shader.
Differential Revision: https://phabricator.services.mozilla.com/D115216
2021-05-17 19:54:35 +00:00
Robert Mader
68fa6c04b1
Bug 1707943 - webrender_bindings: Fix warnings and apply suggestions form static analysis, r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D113603
2021-04-28 12:33:55 +00:00
sotaro
429fab5354
Bug 1699001 - Rename RenderThread::SharedGL() to SingletonGL() r=nical
...
Name of Singleton is commonly used in gecko.
Name of SharedGL is confusing. It looks like "shared context", but it is not. The GL context is actually a singleton GLContext that is used by all WebRender. Each window creates one EGLSurface for each window. EGLSurface is switched for each window rendering.
Differential Revision: https://phabricator.services.mozilla.com/D108714
2021-03-17 10:51:45 +00:00
sotaro
d185ad884c
Bug 1697981 - Do not allocate CompositorWindow for Software WebRender r=nical
...
Since Bug 1688096 fix, WebRender and Software WebRender could be used at the same time.
Differential Revision: https://phabricator.services.mozilla.com/D108141
2021-03-12 12:52:16 +00:00
sotaro
66df971f6f
Bug 1696105 - Remove aBridge argument from RenderThread::HandleDeviceReset() r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D107033
2021-03-03 10:29:40 +00:00
Lee Salzman
f2c57b81f4
Bug 1690216 - Report whether to redraw on invalidation to WR. r=mattwoodrow
...
This requires us to plumb CompositorCapabilities to support the extra field.
This is complicated by the fact that since it is a Rust struct, it has no
default constructor that can pass through to C++ via bindings, so every
one of our RenderCompositors was forced to manually initialize fields. To
get around this brittle footgun, instead the structure is initialized on
the Rust side, and RenderCompositor's are encouraged to only change fields
that actually diverge from the defaults as passed in via pointer.
Finally, we can then do what we need to do, which is just to send the
ForceRedraw message that needs to happen based on what we know about
CompositorCapabilities.
Differential Revision: https://phabricator.services.mozilla.com/D106246
2021-02-24 14:15:02 +00:00
Andreea Pavel
4d15e7e3f1
Backed out changeset 45b36995cfd6 (bug 1690216) for build bustages at rules.mk on a CLOSED TREE
2021-02-24 12:03:14 +02:00
Lee Salzman
e746523892
Bug 1690216 - Report whether to redraw on invalidation to WR. r=mattwoodrow
...
This requires us to plumb CompositorCapabilities to support the extra field.
This is complicated by the fact that since it is a Rust struct, it has no
default constructor that can pass through to C++ via bindings, so every
one of our RenderCompositors was forced to manually initialize fields. To
get around this brittle footgun, instead the structure is initialized on
the Rust side, and RenderCompositor's are encouraged to only change fields
that actually diverge from the defaults as passed in via pointer.
Finally, we can then do what we need to do, which is just to send the
ForceRedraw message that needs to happen based on what we know about
CompositorCapabilities.
Differential Revision: https://phabricator.services.mozilla.com/D106246
2021-02-24 09:18:33 +00:00
sotaro
726fe3fae9
Bug 1687889 - Add more error handling of FLIP_SEQUENTIAL r=nical
...
When CompositorHwnd does not exist, FLIP_SEQUENTIAL could not be used, since it could cause a problem like Bug 1435995. For example, CompositorHwnd creation could be failed on Win7.
Differential Revision: https://phabricator.services.mozilla.com/D102531
2021-01-25 22:11:51 +00:00
sotaro
d99c416a10
Bug 1684412 - Pass only valid rests to Present1() r=nical
...
Empty rect causes error on Present1().
Differential Revision: https://phabricator.services.mozilla.com/D101557
2021-01-20 22:28:50 +00:00
sotaro
eab83ab323
Bug 1686848 - Add fallback handling of FLIP_SEQUENTIAL init failure r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D101856
2021-01-16 22:28:06 +00:00
sotaro
f20d0b5b46
Bug 1686860 - Relax version check for CreateSwapChainForHwnd() in RenderCompositorANGLE::CreateSwapChain() r=jrmuizel
...
The change is related to Bug 1686805.
Differential Revision: https://phabricator.services.mozilla.com/D101863
2021-01-15 03:08:27 +00:00
sotaro
6b0b8a1249
Bug 1681756 - Fix return of RenderCompositorANGLE::GetBufferSize() r=nical
...
I missed to read a review comment of D100220.
Differential Revision: https://phabricator.services.mozilla.com/D100456
2021-01-04 09:47:29 +00:00
sotaro
896fb71c16
Bug 1681756 - Make RenderCompositorANGLE::GetBufferSize() to be positive with native compositor r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D100220
2020-12-21 23:40:59 +00:00
Andrew Osmond
45b5262f91
Bug 1632698 - Better handle device resets when we don't have a GPU process. r=sotaro,kvark,nical
...
Aside from on Windows, we do not appear to handle device resets properly
without the GPU process. This patch adds in the necessary plumbing to
handle the device reset properly. It also ensures that whenever we check
for a device reset reason, we handle all of the reasons (e.g. not just
the NV video memory purge reset reason) to ensure they are not lost, and
handles them all consistently in the same manner.
It also tracks the number of device resets for thresholding purposes
with an in process compositor. While it will only disable WebRender on
Linux at this time, it will put a note in the critical log if the
threshold was exceeded on all platforms. This may prove useful in
evaluating whether or not we should do the same everywhere.
Differential Revision: https://phabricator.services.mozilla.com/D98705
2020-12-07 20:36:11 +00:00
Matt Woodrow
c347392269
Bug 1676719 - Allow WebRender ANGLE in parent process for Nightly. r=jrmuizel
...
Depends on D96766
Differential Revision: https://phabricator.services.mozilla.com/D96768
2020-11-12 01:31:19 +00:00
Matt Woodrow
d418438c0c
Bug 1676719 - Only attempt a partial present when we have DXGI 1.2 available. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D96766
2020-11-12 01:30:10 +00:00
sotaro
4f1c35bfbd
Bug 1669143 - Handle a case that GetDeviceOfEGLDisplay() returned nullptr r=nical
...
When ANGLE detects device reset, GetDeviceOfEGLDisplay() returns nullptr. It is not handled as device reset in current RenderCompositorANGLE::ShutdownEGLLibraryIfNecessary(). It should be handled as device reset.
Differential Revision: https://phabricator.services.mozilla.com/D92543
2020-10-06 09:31:05 +00:00
Kartikaya Gupta
aaef0a4678
Bug 1667176 - Miscellaneous unified build fixes. r=mattwoodrow
...
Upcoming patches shift around which files get unified and expose these build
failures.
Differential Revision: https://phabricator.services.mozilla.com/D91332
2020-09-25 08:57:23 +00:00
Andrew Osmond
64ae7b6168
Bug 1664703 - Expose yet more (round 2) WebRender initializaiton failure error messages to telemetry.
...
Differential Revision: https://phabricator.services.mozilla.com/D90045
2020-09-13 17:31:14 +00:00
Andrew Osmond
a9c24fabba
Bug 1664560 - Expose yet more WebRender initialization failure error messages to telemetry. r=kvark
...
Differential Revision: https://phabricator.services.mozilla.com/D89966
2020-09-11 22:40:40 +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
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
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
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
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
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
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
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