gecko-dev/widget/android
Jamie Nicol a17ddfc210 Bug 1780093 - Disable SurfaceControl compositing path when selection is active. r=geckoview-reviewers,calu
On Android we previously added a rendering path using the
SurfaceControl API, in order to work around an Android OS bug when
recovering from a GPU process crash. Unfortunately the Magnifier
widget (shown when moving a text selection caret) does not work when
rendering using SurfaceControl.

This patch makes it so that we temporarily disable the SurfaceControl
path when a text selection is active, allowing the Magnifier to work.
Unfortunately this means that if a GPU process crash occurs while
there is an active selection we will be unable to recover. Hopefully
this turns out to be a relatively rare occurence.

Differential Revision: https://phabricator.services.mozilla.com/D153454
2022-08-02 20:55:20 +00:00
..
bindings Bug 1767128 - Rework and re-enable SurfaceControl rendering path on Android. r=agi,gfx-reviewers,aosmond 2022-05-31 18:41:07 +00:00
jni Backed out changeset a907159a482f (bug 1761040) for causing build bustages on a CLOSED TREE 2022-08-02 04:59:08 +03:00
AndroidAlerts.cpp
AndroidAlerts.h
AndroidBridge.cpp Bug 1754813 - Make Hal::ScreenOrientation an enum class. r=gsvelto,m_kato,geckoview-reviewers 2022-02-14 07:51:06 +00:00
AndroidBridge.h Bug 1754813 - Make Hal::ScreenOrientation an enum class. r=gsvelto,m_kato,geckoview-reviewers 2022-02-14 07:51:06 +00:00
AndroidBridgeUtilities.h
AndroidCompositorWidget.cpp Bug 1778651 - Add gfxCriticalNote for negative ANativeWindow size r=gfx-reviewers,geckoview-reviewers,aosmond,owlish 2022-07-08 15:19:14 +00:00
AndroidCompositorWidget.h Bug 1766127 - Allow AndroidCompositorWidget::mClientSize to be updated from main thread. r=agi,gfx-reviewers,lsalzman 2022-04-25 18:20:55 +00:00
AndroidContentController.cpp
AndroidContentController.h
AndroidUiThread.cpp
AndroidUiThread.h
AndroidView.h
AndroidVsync.cpp
AndroidVsync.h Bug 1758702 - Allow ThreadSafeWeakPtr<IncompleteType> to work. r=glandium 2022-03-17 15:24:40 +00:00
Base64UtilsSupport.h
CompositorWidgetChild.cpp Bug 1766127 - Allow AndroidCompositorWidget::mClientSize to be updated from main thread. r=agi,gfx-reviewers,lsalzman 2022-04-25 18:20:55 +00:00
CompositorWidgetChild.h Bug 1766127 - Allow AndroidCompositorWidget::mClientSize to be updated from main thread. r=agi,gfx-reviewers,lsalzman 2022-04-25 18:20:55 +00:00
CompositorWidgetParent.cpp Bug 1767128 - Rework and re-enable SurfaceControl rendering path on Android. r=agi,gfx-reviewers,aosmond 2022-05-31 18:41:07 +00:00
CompositorWidgetParent.h Bug 1766127 - Allow AndroidCompositorWidget::mClientSize to be updated from main thread. r=agi,gfx-reviewers,lsalzman 2022-04-25 18:20:55 +00:00
EventDispatcher.cpp Bug 1734394 - Make Geckoview use the session store collector r=geckoview-reviewers,agi,farre,peterv 2022-07-15 20:44:55 +00:00
EventDispatcher.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
GeckoBatteryManager.h
GeckoEditableSupport.cpp Bug 1767556 - Don't remove composing state when composition is started from first character. r=geckoview-reviewers,agi 2022-05-15 07:27:48 +00:00
GeckoEditableSupport.h
GeckoNetworkManager.h
GeckoProcessManager.cpp
GeckoProcessManager.h
GeckoSystemStateListener.h
GeckoTelemetryDelegate.h
GeckoVRManager.h
GeckoViewSupport.h Bug 1734394 - Make Geckoview use the session store collector r=geckoview-reviewers,agi,farre,peterv 2022-07-15 20:44:55 +00:00
GfxInfo.cpp Bug 1772006 - Part 5: Simplify and move the string searching APIs from ns[T]StringObsolete, r=xpcom-reviewers,necko-reviewers,eeejay,dragana,barret 2022-07-30 00:12:48 +00:00
GfxInfo.h Bug 1767172 - Remove custom screen info handling from GfxInfo, use ScreenManager for that. r=jrmuizel,handyman,stransky 2022-05-06 23:37:25 +00:00
ImageDecoderSupport.cpp Bug 1763392 - Generate SDK bindings for nested Java classes as nested C++ classes. r=agi,media-playback-reviewers,bryce 2022-04-07 11:12:20 +00:00
ImageDecoderSupport.h
InProcessAndroidCompositorWidget.cpp Bug 1767128 - Rework and re-enable SurfaceControl rendering path on Android. r=agi,gfx-reviewers,aosmond 2022-05-31 18:41:07 +00:00
InProcessAndroidCompositorWidget.h Bug 1766127 - Allow AndroidCompositorWidget::mClientSize to be updated from main thread. r=agi,gfx-reviewers,lsalzman 2022-04-25 18:20:55 +00:00
MediaKeysEventSourceFactory.cpp
PCompositorWidget.ipdl Bug 1766127 - Allow AndroidCompositorWidget::mClientSize to be updated from main thread. r=agi,gfx-reviewers,lsalzman 2022-04-25 18:20:55 +00:00
PlatformWidgetTypes.ipdlh Bug 1751948 - Part 1: Fix IPDL unified build issues, r=ipc-reviewers,mccr8 2022-02-28 21:01:47 +00:00
ScreenHelperAndroid.cpp Bug 1767172 - Remove custom screen info handling from GfxInfo, use ScreenManager for that. r=jrmuizel,handyman,stransky 2022-05-06 23:37:25 +00:00
ScreenHelperAndroid.h Bug 1755783 - Simplify a bit android screen code. r=agi 2022-02-17 11:38:39 +00:00
SurfaceViewWrapperSupport.h Bug 1772839 - Work around compositor being resumed with abandoned Surfaces. r=geckoview-reviewers,owlish 2022-07-13 15:38:51 +00:00
Telemetry.h
WebExecutorSupport.cpp Bug 1770498: Populate the RFP member of CookieJar Settings r=timhuang,geckoview-reviewers,owlish 2022-07-15 20:39:19 +00:00
WebExecutorSupport.h
WindowEvent.h
components.conf Bug 1773770: Part 9 - Migrate widget component content proxies to static registration. r=mccr8 2022-06-30 09:12:18 +00:00
moz.build Bug 1772839 - Work around compositor being resumed with abandoned Surfaces. r=geckoview-reviewers,owlish 2022-07-13 15:38:51 +00:00
nsAppShell.cpp Bug 1772839 - Work around compositor being resumed with abandoned Surfaces. r=geckoview-reviewers,owlish 2022-07-13 15:38:51 +00:00
nsAppShell.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
nsClipboard.cpp Backed out changeset 00f6bd7aa727 (bug 1755481) for causing multiple clipboard related failures CLOSED TREE 2022-02-16 12:14:58 +02:00
nsClipboard.h
nsDeviceContextAndroid.cpp Bug 370035 - Remove the aWidget parameter from nsIDeviceContextSpec::Init.r=spohl 2022-05-23 19:34:40 +00:00
nsDeviceContextAndroid.h Bug 370035 - Remove the aWidget parameter from nsIDeviceContextSpec::Init.r=spohl 2022-05-23 19:34:40 +00:00
nsIAndroidBridge.idl
nsLookAndFeel.cpp Bug 1776556 - Restore Windows' accent-color / system-color behavior for now. r=mstange 2022-06-28 18:55:27 +00:00
nsLookAndFeel.h Bug 1753139 - Clean up AndroidBridge.h. r=geckoview-reviewers,emilio,agi 2022-02-03 01:42:51 +00:00
nsPrintSettingsServiceAndroid.cpp
nsPrintSettingsServiceAndroid.h
nsUserIdleServiceAndroid.cpp
nsUserIdleServiceAndroid.h
nsWidgetFactory.cpp
nsWidgetFactory.h Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika 2022-05-17 20:24:19 +00:00
nsWindow.cpp Bug 1780093 - Disable SurfaceControl compositing path when selection is active. r=geckoview-reviewers,calu 2022-08-02 20:55:20 +00:00
nsWindow.h Bug 1734394 - Make Geckoview use the session store collector r=geckoview-reviewers,agi,farre,peterv 2022-07-15 20:44:55 +00:00