shell: Add a black surface in the fullscreen layer 63/23763/1
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 6 Feb 2020 13:25:54 +0000 (15:25 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Fri, 7 Feb 2020 11:13:09 +0000 (13:13 +0200)
commitb43a012824af0165f3716c7986888213420885aa
tree4b5b9f8e921f7bc3c5384002b0b539cf1bb652af
parent433edac095bb142e6024314e39409afacbfaa5c2
shell: Add a black surface in the fullscreen layer

Now that we're capable of restarting the client shell without the need
to restart the compositor, create a black surface and insert in the
fullscreen layer as to denote that the client shell is no longer
running. This black surface is removed when the 'ready' request is
received and inserted back when the client shell unbinds from the
agl-shell protocol.

Also, we were missing implementation protocol specification as the
presentation delay required a black surface being displayed instead, so
this brings the implementation closer to that of the protocol
specification.

Bug-SPEC: SPEC-3161

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I40f01135583eea8af78d3077cdad97ad5ad450f5
src/ivi-compositor.h
src/main.c
src/shell.c