gecko-dev/widget/windows
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
..
res
tests Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
AudioSession.cpp
AudioSession.h
CompositorWidgetChild.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
CompositorWidgetChild.h
CompositorWidgetParent.cpp Bug 1654619 - Do not use local backbuffer when remote backbuffer enabled r=mstange 2020-10-06 22:37:51 +00:00
CompositorWidgetParent.h Bug 1654619 - Do not use local backbuffer when remote backbuffer enabled r=mstange 2020-10-06 22:37:51 +00:00
DirectManipulationOwner.cpp
DirectManipulationOwner.h
GfxInfo.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-12-07 10:17:57 +00:00
GfxInfo.h Bug 1672464 - Block WebRender for NVIDIA users with mixed refresh rates. r=jrmuizel 2020-10-23 15:12:41 +00:00
IEnumFE.cpp
IEnumFE.h
IMMHandler.cpp Bug 1678553 - part 13: Make `WidgetQueryContentEvent` use `Maybe` to store some data r=m_kato,geckoview-reviewers 2020-12-02 05:32:19 +00:00
IMMHandler.h
IconLoaderHelperWin.cpp Bug 1663784 - Add Windows platform support for IconLoader. r=mhowell 2020-09-30 21:14:00 +00:00
IconLoaderHelperWin.h Bug 1663784 - Add Windows platform support for IconLoader. r=mhowell 2020-09-30 21:14:00 +00:00
InProcessWinCompositorWidget.cpp
InProcessWinCompositorWidget.h
InkCollector.cpp
InkCollector.h
InputDeviceUtils.cpp
InputDeviceUtils.h
JumpListBuilder.cpp
JumpListBuilder.h
JumpListItem.cpp
JumpListItem.h
KeyboardLayout.cpp
KeyboardLayout.h Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp 2020-11-18 09:05:59 +00:00
LSPAnnotator.cpp
MediaKeysEventSourceFactory.cpp
OSKInputPaneManager.cpp
OSKInputPaneManager.h
PCompositorWidget.ipdl Bug 1660470 - Avoid including WidgetMessageUtils.h from header files. r=nika 2020-11-23 16:04:01 +00:00
PlatformWidgetTypes.ipdlh Bug 1660470 - Avoid including WidgetMessageUtils.h from header files. r=nika 2020-11-23 16:04:01 +00:00
RemoteBackbuffer.cpp Bug 1654619 - Do not use local backbuffer when remote backbuffer enabled r=mstange 2020-10-06 22:37:51 +00:00
RemoteBackbuffer.h
ScreenHelperWin.cpp
ScreenHelperWin.h
ShellHeaderOnlyUtils.h
SystemStatusBar.cpp Bug 1672419 - Make sure SystemStatusBar popup menus appear in the right spot regardless of device scaling. r=mhowell 2020-10-27 23:55:59 +00:00
SystemStatusBar.h Bug 1663784 - Implement basic nsISystemStatusBar service for Windows. r=mhowell 2020-09-30 21:14:05 +00:00
TSFTextStore.cpp Bug 1678553 - part 13: Make `WidgetQueryContentEvent` use `Maybe` to store some data r=m_kato,geckoview-reviewers 2020-12-02 05:32:19 +00:00
TSFTextStore.h Bug 1678553 - part 8: Make `TSFTextStore` store its `Selection` with `Maybe` r=m_kato 2020-11-27 14:47:22 +00:00
TaskbarPreview.cpp Bug 1661485 - Make TaskbarPreview::GetWindowHook() return a pointer. r=cmartin 2020-09-28 21:22:11 +00:00
TaskbarPreview.h Bug 1661485 - Make TaskbarPreview::GetWindowHook() return a pointer. r=cmartin 2020-09-28 21:22:11 +00:00
TaskbarPreviewButton.cpp
TaskbarPreviewButton.h
TaskbarTabPreview.cpp Bug 1661485 - Make TaskbarPreview::GetWindowHook() return a pointer. r=cmartin 2020-09-28 21:22:11 +00:00
TaskbarTabPreview.h Bug 1661485 - Make TaskbarPreview::GetWindowHook() return a pointer. r=cmartin 2020-09-28 21:22:11 +00:00
TaskbarWindowPreview.cpp Bug 1661485 - Make TaskbarPreview::GetWindowHook() return a pointer. r=cmartin 2020-09-28 21:22:11 +00:00
TaskbarWindowPreview.h Bug 1661485 - Make TaskbarPreview::GetWindowHook() return a pointer. r=cmartin 2020-09-28 21:22:11 +00:00
ToastNotification.cpp Bug 1680768: Remove unused argument aPrincipal within closeAlert() in nsIAlertsService.idl r=nika 2020-12-07 17:44:34 +00:00
ToastNotification.h
ToastNotificationHandler.cpp
ToastNotificationHandler.h
UrlmonHeaderOnlyUtils.h
WidgetTraceEvent.cpp
WinCompositorWidget.cpp
WinCompositorWidget.h
WinCompositorWindowThread.cpp
WinCompositorWindowThread.h
WinContentSystemParameters.cpp
WinContentSystemParameters.h
WinHeaderOnlyUtils.h Bug 1677284 - Move PackingStrategy::Variant implementation to separate header file. r=emilio 2020-11-23 15:49:14 +00:00
WinIMEHandler.cpp Bug 1678553 - part 13: Make `WidgetQueryContentEvent` use `Maybe` to store some data r=m_kato,geckoview-reviewers 2020-12-02 05:32:19 +00:00
WinIMEHandler.h Bug 1121822 - Remove NS_ENABLE_TSF r=m_kato,masayuki 2020-10-29 01:46:05 +00:00
WinMessages.h
WinModifierKeyState.h
WinMouseScrollHandler.cpp Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp 2020-11-18 09:05:59 +00:00
WinMouseScrollHandler.h
WinNativeEventData.h
WinPointerEvents.cpp
WinPointerEvents.h
WinTaskbar.cpp Bug 1661485 - Make TaskbarPreview::GetWindowHook() return a pointer. r=cmartin 2020-09-28 21:22:11 +00:00
WinTaskbar.h
WinTextEventDispatcherListener.cpp
WinTextEventDispatcherListener.h
WinUtils.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
WinUtils.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
WindowHook.cpp
WindowHook.h
WindowsConsole.cpp
WindowsConsole.h
WindowsEMF.cpp
WindowsEMF.h
WindowsSMTCProvider.cpp Bug 1663128 - part3 : the event source should do the cleanup when it closes. r=chunmin 2020-10-07 09:23:08 +00:00
WindowsSMTCProvider.h Bug 1663128 - part3 : the event source should do the cleanup when it closes. r=chunmin 2020-10-07 09:23:08 +00:00
WindowsUIUtils.cpp Bug 1677284 - Move PackingStrategy::Variant implementation to separate header file. r=emilio 2020-11-23 15:49:14 +00:00
WindowsUIUtils.h
components.conf Bug 1663784 - Implement basic nsISystemStatusBar service for Windows. r=mhowell 2020-09-30 21:14:05 +00:00
moz.build Bug 1529510 - Move ProcInfo to processtoolsservice;r=aklotz,mstange 2020-11-12 17:42:54 +00:00
nsAppShell.cpp
nsAppShell.h
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp
nsClipboard.h
nsColorPicker.cpp
nsColorPicker.h
nsDataObj.cpp Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers 2020-11-23 16:10:41 +00:00
nsDataObj.h
nsDataObjCollection.cpp
nsDataObjCollection.h
nsDeviceContextSpecWin.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsDeviceContextSpecWin.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsDragService.cpp
nsDragService.h
nsFilePicker.cpp Bug 1677168: nsFilePicker cleanup; r=mhowell 2020-11-16 19:37:09 +00:00
nsFilePicker.h Bug 1677168: nsFilePicker cleanup; r=mhowell 2020-11-16 19:37:09 +00:00
nsLookAndFeel.cpp Bug 1678540 - Don't provide default values for IntID::ScrollButtonLeftMouseButtonAction etc. r=spohl 2020-11-20 23:52:52 +00:00
nsLookAndFeel.h Bug 1678540 - Refactor nsXPLookAndFeel::GetIntImpl etc. r=spohl 2020-11-20 23:52:47 +00:00
nsNativeBasicThemeWin.cpp Bug 1675015: Add Windows high contrast support to non-native theme. r=heycam 2020-11-17 20:53:01 +00:00
nsNativeBasicThemeWin.h Bug 1675015: Add Windows high contrast support to non-native theme. r=heycam 2020-11-17 20:53:01 +00:00
nsNativeDragSource.cpp
nsNativeDragSource.h
nsNativeDragTarget.cpp Bug 1671526, use DispatchInputEvent for drag events on windows, r=kats 2020-11-02 22:01:21 +00:00
nsNativeDragTarget.h
nsNativeThemeWin.cpp Backed out changeset 3e90a3759639 (bug 1679208) for scrollbars-no-margin.html failures CLOSED TREE 2020-12-03 01:11:32 +02:00
nsNativeThemeWin.h Backed out changeset 3e90a3759639 (bug 1679208) for scrollbars-no-margin.html failures CLOSED TREE 2020-12-03 01:11:32 +02:00
nsPrintDialogUtil.cpp Bug 1679272 - Include ScopeExit.h exactly where used. r=andi 2020-12-07 14:25:59 +00:00
nsPrintDialogUtil.h
nsPrintDialogWin.cpp
nsPrintDialogWin.h
nsPrintSettingsServiceWin.cpp
nsPrintSettingsServiceWin.h
nsPrintSettingsWin.cpp Bug 1668516: Account for orientation when getting paper size from device context in CopyFromNative. r=jwatt 2020-10-01 20:47:39 +00:00
nsPrintSettingsWin.h
nsPrinterWin.cpp Bug 1677388: Pass a copy of our cached default DEVMODE into DeviceCapabilitiesW calls. r=jfkthame 2020-11-21 09:53:23 +00:00
nsPrinterWin.h Bug 1663652 part 2 - Add combined printerInfo method to nsPrinterCUPS r=emilio 2020-11-03 20:35:38 +00:00
nsSharePicker.cpp
nsSharePicker.h
nsSound.cpp
nsSound.h
nsToolkit.cpp
nsToolkit.h
nsUXThemeConstants.h
nsUXThemeData.cpp
nsUXThemeData.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsUserIdleServiceWin.cpp
nsUserIdleServiceWin.h
nsWidgetFactory.cpp
nsWidgetFactory.h
nsWinGesture.cpp
nsWinGesture.h
nsWindow.cpp Bug 1679272 - Include ScopeExit.h exactly where used. r=andi 2020-12-07 14:25:59 +00:00
nsWindow.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsWindowBase.cpp
nsWindowBase.h
nsWindowDbg.cpp
nsWindowDbg.h
nsWindowDefs.h
nsWindowGfx.cpp Bug 1632698 - Better handle device resets when we don't have a GPU process. r=sotaro,kvark,nical 2020-12-07 20:36:11 +00:00
nsWindowGfx.h
nsdefs.h
resource.h
touchinjection_sdk80.h
widget.rc