aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/SurfaceFlinger/LayerState.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-07-06 13:37:36 -0300
committerGitHub <noreply@github.com>2022-07-06 13:37:36 -0300
commit55e97959b9720e2efbe2451c38e0610422335603 (patch)
tree4a78a8f6c4377061d160679da789a465956d9de5 /Ryujinx.HLE/HOS/Services/SurfaceFlinger/LayerState.cs
parentf7ef6364b79ba04af5c7bf0f5ec77fbb6b4aae29 (diff)
Fix Vi managed and stray layers open/close/destroy (#3438)1.1.166
* Fix Vi managed and stray layers open/close/destroy * OpenLayer should set the state to ManagedOpened
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/SurfaceFlinger/LayerState.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/SurfaceFlinger/LayerState.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/LayerState.cs b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/LayerState.cs
new file mode 100644
index 00000000..5f014e13
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/LayerState.cs
@@ -0,0 +1,10 @@
+namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
+{
+ enum LayerState
+ {
+ NotInitialized,
+ ManagedClosed,
+ ManagedOpened,
+ Stray
+ }
+} \ No newline at end of file