Removed separate SurfaceControl for Blast
If Blast was enabled, WindowStateAnimator would create a container layer and then a blast layer as a child. This caused some issues with reparentChildren and relative Z, so instead of trying to continously fix those issues, just use one layer. If blast is enabled, it will create a single SurfaceControl with type blast. Otherwise, it will create a BufferQueueLayer. This means that we have to be careful with setting any properties on the layer since the blast adapter could also be modifying the layer. This is in the right direction since we will move all transactions for the layer to the client, eventually. Test: YT and Chrome with and without Blast Change-Id: I43efc37663696ba8e54d341a03531f0048ee6a14
Loading
Please register or sign in to comment