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
..
2021-01-02 16:11:38 +01:00
2021-01-02 23:34:28 +01:00
2021-02-26 01:11:56 +01:00
2020-08-04 01:32:53 +02:00
2020-08-04 01:32:53 +02:00
2020-08-04 01:32:53 +02:00
2021-03-18 21:40:20 +01:00
2020-08-04 01:32:53 +02:00
2021-03-18 21:40:20 +01:00
2021-01-10 10:11:31 +11:00
2020-08-04 01:32:53 +02:00
2021-03-30 00:55:53 +02:00
2020-08-04 01:32:53 +02:00