ozone: drm: Re-set cursor when GPU process connects (reland)
When the GPU process restarts we need to re-send the cursor bitmap since all GPU process display state is lost. It looks like it may have been broken all the way back to d818104f ("[Ozone-Drm] Notify cursor of channel established last"), which fixed a different issue but also caused the message that was intended to restore the cursor (in CommitBoundsChange) to not get delivered. Reland fixing case where a GPU process connects and the cursor is not placed because there are no displays to place it on. This should only affects tests, because there's always at least one display on Chrome OS. Bug: 908682 Test: kill $(pgrep -f type=gpu-process), cursor restored Change-Id: I378d14e61c95822c2362d047123e5f7e40778a80 Reviewed-on: https://chromium-review.googlesource.com/c/1351143Reviewed-by:Daniel Nicoara <dnicoara@chromium.org> Commit-Queue: Michael Spang <spang@chromium.org> Cr-Commit-Position: refs/heads/master@{#611861}
Showing
Please register or sign in to comment