ryujinx/Ryujinx.HLE/HOS/Services/SurfaceFlinger
Mary 73881fad19
Surface Flinger: Fix an oversight when closing a layer (#2192)
* Surface Flinger: Fix an oversight when closing a layer

As the title say.
I also took the liberty of changing the logic on how we select the
current layer being rendered to make it more explicit when opening and
creating layers.

NOTE: Found by Ac_k.

* check for RenderLayerId and not the dictionary size

This fix a possible race condition between the time you create a layer and set the one currently used for rendering
2021-04-13 02:56:16 +02:00
..
Types android-fence: call callback when fence is invalid (#1881) 2021-01-13 10:53:13 +01:00
BufferItemConsumer.cs
BufferQueue.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
BufferQueueConsumer.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
BufferQueueCore.cs Interrupt GPU command processing when a frame's fence is reached. (#1741) 2020-12-17 19:39:52 +01:00
BufferQueueProducer.cs Interrupt GPU command processing when a frame's fence is reached. (#1741) 2020-12-17 19:39:52 +01:00
BufferSlot.cs SurfaceFlinger: fix some bugs (#1262) 2020-06-02 17:58:19 +02:00
BufferSlotArray.cs
ConsumerBase.cs
HOSBinderDriverServer.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
IBinder.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
IConsumerListener.cs
IFlattenable.cs
IGraphicBufferProducer.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
IHOSBinderDriver.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
IProducerListener.cs
NativeWindowApi.cs
NativeWindowAttribute.cs
NativeWindowScalingMode.cs
NativeWindowTransform.cs SurfaceFlinger: fix some bugs (#1262) 2020-06-02 17:58:19 +02:00
Parcel.cs
ParcelHeader.cs
PixelFormat.cs
Status.cs
SurfaceFlinger.cs Surface Flinger: Fix an oversight when closing a layer (#2192) 2021-04-13 02:56:16 +02:00