gecko-dev/widget
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
..
android Bug 1680768: Remove unused argument aPrincipal within closeAlert() in nsIAlertsService.idl r=nika 2020-12-07 17:44:34 +00:00
cocoa Bug 1680768: Remove unused argument aPrincipal within closeAlert() in nsIAlertsService.idl r=nika 2020-12-07 17:44:34 +00:00
crashtests
generic Bug 1657401 - Prelude: rearrange IPDL files in widget/. r=spohl 2020-11-11 23:17:40 +00:00
gtk Bug 1666839 [Linux] When we draw to container (CSD mode), shift mShell opaque mask to container position, r=jhorak 2020-12-07 15:40:26 +00:00
headless Backed out changeset 3e90a3759639 (bug 1679208) for scrollbars-no-margin.html failures CLOSED TREE 2020-12-03 01:11:32 +02:00
reftests Bug 1676057 - Test. r=spohl 2020-11-10 22:15:25 +00:00
tests Bug 1677049 - Skip problematic mochitest-bc tests in TSan. r=Gankro,preferences-reviewers 2020-12-01 20:21:20 +00:00
uikit Bug 1678540 - Don't provide default values for IntID::ScrollButtonLeftMouseButtonAction etc. r=spohl 2020-11-20 23:52:52 +00:00
windows 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
x11 Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
BasicEvents.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
CommandList.h
CompositorWidget.cpp
CompositorWidget.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
ContentCache.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
ContentCache.h Bug 1678553 - part 12: Make `ContentCache` store character rects with `Maybe` r=m_kato 2020-11-27 14:48:03 +00:00
ContentEvents.h
EventClassList.h
EventForwards.h Bug 1678553 - part 3: Make `TSFTextStore::Content` store the latest composition range with `Maybe` and new class which stores start and end offsets r=m_kato 2020-11-26 12:37:42 +00:00
EventMessageList.h Bug 1669161 - Remove dead SVG event code r=smaug 2020-10-05 11:19:47 +00:00
FontRange.h
GfxDriverInfo.cpp Bug 1679998 - Part 1. Add Apple as a GPU vendor to GfxInfo. r=jrmuizel,mstange 2020-12-01 16:26:43 +00:00
GfxDriverInfo.h Bug 1679998 - Part 1. Add Apple as a GPU vendor to GfxInfo. r=jrmuizel,mstange 2020-12-01 16:26:43 +00:00
GfxInfoBase.cpp Bug 1678474 - Add generic Darwin option for OSX for downloadable gfx blocklist. r=jrmuizel 2020-11-27 14:04:09 +00:00
GfxInfoBase.h Bug 1672464 - Block WebRender for NVIDIA users with mixed refresh rates. r=jrmuizel 2020-10-23 15:12:41 +00:00
GfxInfoCollector.cpp
GfxInfoCollector.h
GfxInfoX11.cpp Bug 1680505 - Ship WebRender to GNOME/Wayland users to release, excluding XWayland. r=jrmuizel 2020-12-03 14:49:43 +00:00
GfxInfoX11.h Bug 1678917 - Make glxtest fail more gracefully. r=rmader 2020-12-01 11:52:14 +00:00
IMEData.cpp Bug 1678553 - part 1: Make `TSFTextStore::Composition` manage start offset and composition string with a class r=m_kato 2020-11-26 10:34:13 +00:00
IMEData.h 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
IconLoader.cpp Bug 1663784 - Make StatusBarEntry and IconLoader classes work with the cycle collector. r=mccr8 2020-09-30 21:13:55 +00:00
IconLoader.h Bug 1663784 - Make StatusBarEntry and IconLoader classes work with the cycle collector. r=mccr8 2020-09-30 21:13:55 +00:00
InProcessCompositorWidget.cpp Bug 1592739 - Stop using the vibrant region as the transparent region. r=mattwoodrow 2020-06-11 18:46:04 +00:00
InProcessCompositorWidget.h Bug 1592739 - Stop using the vibrant region as the transparent region. r=mattwoodrow 2020-06-11 18:46:04 +00:00
InputData.cpp Bug 1615858 - Add MultiTouchInput::SingleTouchData::mHistoricalData. r=kats 2020-11-03 16:46:19 +00:00
InputData.h Bug 1677012 - Give MultiTouchInput a move constructor. r=kats 2020-11-13 12:15:45 +00:00
LSBUtils.cpp
LSBUtils.h
LookAndFeel.h Bug 1676434 - Replace obsolete -moz-mac-yosemite-theme media query with a new -moz-mac-big-sur-theme media query. r=emilio 2020-11-16 20:43:35 +00:00
LookAndFeelTypes.ipdlh Bug 1657401 - Change LookAndFeel IPC to use IPDL structs. r=spohl 2020-11-11 23:26:51 +00:00
MediaKeysEventSourceFactory.h Bug 1640998 - part9 : use `MediaControlKey` to replace `MediaControlKeysEvent` r=chunmin,agi,geckoview-reviewers 2020-06-09 02:59:57 +00:00
MiscEvents.h
MouseEvents.h Bug 1653949 - Part 3: Dispatch MouseExitFromWidget event with proper ExitFrom type based on the "direction" of movement; r=smaug 2020-08-29 21:11:41 +00:00
NativeKeyToDOMCodeName.h
NativeKeyToDOMKeyName.h
PluginWidgetProxy.cpp
PluginWidgetProxy.h
PrintBackgroundTask.h Bug 1660686: Add telemetry for time taken in print background tasks. r=jwatt, dr=tdsmith 2020-08-31 14:36:45 +00:00
PuppetBidiKeyboard.cpp
PuppetBidiKeyboard.h
PuppetWidget.cpp Bug 1677684 - part 2: Make `ContentCache` cache character rects in last commit composition string for undoing the commit r=m_kato 2020-11-24 01:31:46 +00:00
PuppetWidget.h Bug 1671592 - Remove PuppetWidget::PaintTask and PuppetWidget::Paint r=emilio 2020-10-17 18:07:03 +00:00
Screen.cpp
Screen.h
ScreenManager.cpp Bug 1654775 [Wayland] Don't flood console with 'Getting screen in wayland, primary display will be returned', r=jhorak 2020-08-05 07:43:54 +00:00
ScreenManager.h
ScrollbarDrawingMac.cpp Backed out changeset 3e90a3759639 (bug 1679208) for scrollbars-no-margin.html failures CLOSED TREE 2020-12-03 01:11:32 +02:00
ScrollbarDrawingMac.h Backed out changeset 3e90a3759639 (bug 1679208) for scrollbars-no-margin.html failures CLOSED TREE 2020-12-03 01:11:32 +02:00
SharedWidgetUtils.cpp
SystemTimeConverter.h
TextEventDispatcher.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
TextEventDispatcher.h
TextEventDispatcherListener.h
TextEvents.h 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
TextRange.h
ThemeChangeKind.h Bug 1668875 - Distinguish theme changes that can and cannot affect style/layout. r=tnikkel 2020-10-27 10:24:40 +00:00
TouchEvents.h
TouchResampler.cpp Bug 1676771 - Add a TouchResampler class. r=kats 2020-11-18 03:57:35 +00:00
TouchResampler.h Bug 1676771 - Add a TouchResampler class. r=kats 2020-11-18 03:57:35 +00:00
VsyncDispatcher.cpp
VsyncDispatcher.h
WidgetEventImpl.cpp Bug 1673120 - Extract out scrollbar drawing from nsNativeThemeCocoa so that it can later be used by nsNativeBasicTheme. r=spohl 2020-10-27 15:16:49 +00:00
WidgetMessageUtils.h Bug 1657401 - Change LookAndFeel IPC to use IPDL structs. r=spohl 2020-11-11 23:26:51 +00:00
WidgetTraceEvent.h
WidgetUtils.cpp
WidgetUtils.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
WindowSurface.h
WindowSurfaceX11SHM.cpp
WindowSurfaceX11SHM.h
moz.build Bug 1676771 - Add a TouchResampler class. r=kats 2020-11-18 03:57:35 +00:00
nsAppShellSingleton.h
nsAutoRollup.cpp
nsAutoRollup.h
nsBaseAppShell.cpp
nsBaseAppShell.h
nsBaseClipboard.cpp
nsBaseClipboard.h
nsBaseDragService.cpp Bug 1641270 - Part 8: Make the Drag&Drop to use the correct cookieJarSettings to download the url. r=smaug,dimi 2020-11-11 11:14:05 +00:00
nsBaseDragService.h
nsBaseFilePicker.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsBaseFilePicker.h
nsBaseScreen.cpp
nsBaseScreen.h
nsBaseWidget.cpp Bug 1668875 - Distinguish theme changes that can and cannot affect style/layout. r=tnikkel 2020-10-27 10:24:40 +00:00
nsBaseWidget.h Bug 1668875 - Distinguish theme changes that can and cannot affect style/layout. r=tnikkel 2020-10-27 10:24:40 +00:00
nsCUPSShim.cpp Bug 1658084 - Avoid creating a mozilla::OffTheBooksMutex in a static initializer, r=emilio,mccr8 2020-11-04 18:56:13 +00:00
nsCUPSShim.h Bug 1658084 - Avoid creating a mozilla::OffTheBooksMutex in a static initializer, r=emilio,mccr8 2020-11-04 18:56:13 +00:00
nsClipboardHelper.cpp
nsClipboardHelper.h
nsClipboardProxy.cpp
nsClipboardProxy.h
nsColorPickerProxy.cpp
nsColorPickerProxy.h
nsContentProcessWidgetFactory.cpp
nsDeviceContextSpecProxy.cpp Bug 1662336 - Pass print recording dependency list across to parent process and use CrossProcessPaint to resolve it. r=bobowen 2020-10-08 08:40:15 +00:00
nsDeviceContextSpecProxy.h
nsDragServiceProxy.cpp Bug 1641270 - Part 8: Make the Drag&Drop to use the correct cookieJarSettings to download the url. r=smaug,dimi 2020-11-11 11:14:05 +00:00
nsDragServiceProxy.h
nsFilePickerProxy.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsFilePickerProxy.h
nsGUIEventIPC.h 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
nsHTMLFormatConverter.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsHTMLFormatConverter.h
nsIAppShell.idl
nsIApplicationChooser.idl
nsIBaseWindow.idl Bug 1653214 - Part 2: Remove nsIBaseWindow::Create; r=nika 2020-07-16 20:42:20 +00:00
nsIBidiKeyboard.idl
nsIClipboard.idl
nsIClipboardHelper.idl
nsIClipboardOwner.idl
nsIColorPicker.idl
nsIDeviceContextSpec.h Bug 1664258 - Increase the default PDF resolution for non-windows platforms. r=jwatt 2020-09-11 11:37:40 +00:00
nsIDisplayInfo.idl
nsIDragService.idl Bug 1641270 - Part 8: Make the Drag&Drop to use the correct cookieJarSettings to download the url. r=smaug,dimi 2020-11-11 11:14:05 +00:00
nsIDragSession.idl Bug 1650562: Add missing null check for document BrowsingContext. r=nika 2020-07-13 18:39:52 +00:00
nsIFilePicker.idl
nsIFormatConverter.idl
nsIGfxInfo.idl Backed out changeset 8c0e2919f6b2 (bug 1678684) for causing Bug 1680661. CLOSED TREE 2020-12-04 11:26:44 +02:00
nsIGfxInfoDebug.idl
nsIGtkTaskbarProgress.idl
nsIJumpListBuilder.idl
nsIJumpListItem.idl
nsIKeyEventInPluginCallback.h
nsIMacDockSupport.idl
nsIMacFinderProgress.idl
nsIMacSharingService.idl
nsIMacWebAppUtils.idl
nsINativeMenuService.h
nsIPaper.idl Bug 1662538 - patch 1 - Make nsIPaper expose a non-localizable .id in addition to a localizable .name attribute. r=jwatt 2020-09-17 20:05:08 +00:00
nsIPaperMargin.idl Bug 1655558 - Retrieve the paper margins lazily on Windows. r=jwatt,bobowen 2020-08-05 11:26:13 +00:00
nsIPluginWidget.h
nsIPrintDialogService.h
nsIPrintSession.idl
nsIPrintSettings.idl Bug 1669854 - Add a single pageRanges print setting. r=nordzilla 2020-11-07 16:01:57 +00:00
nsIPrintSettingsService.idl Bug 1669723. Stop unnecessarily catching exceptions from nsIPrintSettingsService.lastUsedPrinterName. r=mstriemer 2020-10-09 10:21:44 +00:00
nsIPrintSettingsWin.idl Bug 1663940: Ensure the unwriteable margins are populated in the print settings. r=emilio 2020-09-11 15:00:18 +00:00
nsIPrinter.idl Bug 1663652 part 1 - Implement combined CreateDefaultSettings and GetPaperList interface for nsPrinterBase r=emilio,mstriemer 2020-11-03 20:35:38 +00:00
nsIPrinterList.idl Bug 1659807 - Add nsIPrinter.systemName and nsIPrinterList.getPrinterBySystemName r=emilio 2020-09-15 21:23:27 +00:00
nsIRollupListener.h
nsIScreen.idl
nsIScreenManager.idl
nsISharePicker.idl
nsISound.idl
nsIStandaloneNativeMenu.idl
nsISystemStatusBar.idl
nsITaskbarOverlayIconController.idl
nsITaskbarPreview.idl
nsITaskbarPreviewButton.idl
nsITaskbarPreviewController.idl
nsITaskbarProgress.idl
nsITaskbarTabPreview.idl
nsITaskbarWindowPreview.idl
nsITouchBarHelper.idl
nsITouchBarInput.idl
nsITouchBarUpdater.idl
nsITransferable.idl Bug 1641270 - Part 7: Add setter/getter of nsICookieJarSettings to nsITransferable. r=smaug 2020-11-11 11:14:07 +00:00
nsIUserIdleService.idl Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
nsIUserIdleServiceInternal.idl Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
nsIWidget.h Bug 1677542 - Remove unnecessary includes from nsIWidget.h. r=jhorak 2020-11-23 16:07:12 +00:00
nsIWidgetListener.cpp
nsIWidgetListener.h
nsIWinTaskbar.idl
nsIWindowsUIUtils.idl
nsNativeBasicTheme.cpp Backed out changeset 3e90a3759639 (bug 1679208) for scrollbars-no-margin.html failures CLOSED TREE 2020-12-03 01:11:32 +02:00
nsNativeBasicTheme.h Backed out changeset 3e90a3759639 (bug 1679208) for scrollbars-no-margin.html failures CLOSED TREE 2020-12-03 01:11:32 +02:00
nsNativeTheme.cpp Bug 1673132 - Use the -moz-default-appearance values "scrollbar-horizontal" and "scrollbar-vertical" on macOS and remove the now-unused value "scrollbar". r=emilio 2020-10-27 12:37:44 +00:00
nsNativeTheme.h Bug 1673120 - Extract out scrollbar drawing from nsNativeThemeCocoa so that it can later be used by nsNativeBasicTheme. r=spohl 2020-10-27 15:16:49 +00:00
nsPaper.cpp Bug 1662538 - patch 1 - Make nsIPaper expose a non-localizable .id in addition to a localizable .name attribute. r=jwatt 2020-09-17 20:05:08 +00:00
nsPaper.h Bug 1678374 - Avoid including js/RootingAPI.h from header files. r=jandem 2020-11-23 16:12:12 +00:00
nsPaperMargin.cpp Bug 1655558 - Retrieve the paper margins lazily on Windows. r=jwatt,bobowen 2020-08-05 11:26:13 +00:00
nsPaperMargin.h Bug 1655558 - Retrieve the paper margins lazily on Windows. r=jwatt,bobowen 2020-08-05 11:26:13 +00:00
nsPrimitiveHelpers.cpp
nsPrimitiveHelpers.h
nsPrintSession.cpp
nsPrintSession.h
nsPrintSettingsImpl.cpp Bug 1669854 - Add a single pageRanges print setting. r=nordzilla 2020-11-07 16:01:57 +00:00
nsPrintSettingsImpl.h Bug 1669854 - Add a single pageRanges print setting. r=nordzilla 2020-11-07 16:01:57 +00:00
nsPrintSettingsService.cpp Bug 1673713 - Part 1: Serialize the numPagesPerSheet property r=emilio 2020-11-30 22:46:23 +00:00
nsPrintSettingsService.h Bug 1667285. Make nsPrintSettingsService::_CreatePrintSettings pure virtual. r=bobowen 2020-09-25 09:33:14 +00:00
nsPrinterBase.cpp Bug 1663652 part 2 - Add combined printerInfo method to nsPrinterCUPS r=emilio 2020-11-03 20:35:38 +00:00
nsPrinterBase.h Bug 1663652 part 2 - Add combined printerInfo method to nsPrinterCUPS r=emilio 2020-11-03 20:35:38 +00:00
nsPrinterCUPS.cpp Bug 1676976 - Have nsPrinterCUPS::TryEnsurePrinterInfo return a DataMutex::AutoLock r=emilio 2020-11-13 19:58:25 +00:00
nsPrinterCUPS.h Bug 1676976 - Have nsPrinterCUPS::TryEnsurePrinterInfo return a DataMutex::AutoLock r=emilio 2020-11-13 19:58:25 +00:00
nsPrinterListBase.cpp Bug 1667486 part 1 - Make fallback paper sizes public to nsPaper, localize the sizes only once in nsPrinterListBase r=jwatt,emilio 2020-10-13 21:53:47 +00:00
nsPrinterListBase.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsPrinterListCUPS.cpp Bug 1658084 - Avoid creating a mozilla::OffTheBooksMutex in a static initializer, r=emilio,mccr8 2020-11-04 18:56:13 +00:00
nsPrinterListCUPS.h Bug 1659807 - Add nsIPrinter.systemName and nsIPrinterList.getPrinterBySystemName r=emilio 2020-09-15 21:23:27 +00:00
nsShmImage.cpp
nsShmImage.h
nsSoundProxy.cpp
nsSoundProxy.h
nsTransferable.cpp Bug 1641270 - Part 7: Add setter/getter of nsICookieJarSettings to nsITransferable. r=smaug 2020-11-11 11:14:07 +00:00
nsTransferable.h Bug 1641270 - Part 7: Add setter/getter of nsICookieJarSettings to nsITransferable. r=smaug 2020-11-11 11:14:07 +00:00
nsUserIdleService.cpp Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
nsUserIdleService.h Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
nsWidgetInitData.h Bug 1642800 - Don't enforce minimum window dimensions on non-popup windows if they're not resizable on Windows. r=mhowell 2020-06-05 17:09:58 +00:00
nsWidgetsCID.h Bug 1663784 - Rename mozilla.org/widget/macsystemstatusbar to mozilla.org/widget/systemstatusbar. r=spohl 2020-09-15 17:38:27 +00:00
nsXPLookAndFeel.cpp Bug 1678540 - Don't provide default values for IntID::ScrollButtonLeftMouseButtonAction etc. r=spohl 2020-11-20 23:52:52 +00:00
nsXPLookAndFeel.h Bug 1678540 - Refactor nsXPLookAndFeel::GetIntImpl etc. r=spohl 2020-11-20 23:52:47 +00:00