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
BufferItemConsumer.cs
BufferQueue.cs
BufferQueueConsumer.cs
BufferQueueCore.cs
BufferQueueProducer.cs
BufferSlot.cs
BufferSlotArray.cs
ConsumerBase.cs
HOSBinderDriverServer.cs
IBinder.cs
IConsumerListener.cs
IFlattenable.cs
IGraphicBufferProducer.cs
IHOSBinderDriver.cs
IProducerListener.cs
NativeWindowApi.cs
NativeWindowAttribute.cs
NativeWindowScalingMode.cs
NativeWindowTransform.cs
Parcel.cs
ParcelHeader.cs
PixelFormat.cs
Status.cs
SurfaceFlinger.cs