desktop-shell: Set 1x1 buffers for solid-color backgrounds
authorHarish Krupo <harish.krupo.kps@intel.com>
Tue, 11 Dec 2018 08:29:07 +0000 (13:59 +0530)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 25 Nov 2019 21:54:40 +0000 (21:54 +0000)
commit3623e46dc555ea9df34ff259530af64f0d9f0645
treeff16a2493649e80509eb95194e8b93441b3150dc
parent7bcbab1f2fd53987809a98d212b90fc6b99d71cc
desktop-shell: Set 1x1 buffers for solid-color backgrounds

When we are going to set a solid color for the background, use
a 1x1 buffer and set the viewport to the full size. This avoids
un-necessary allocation of buffer memory.

Signed-off-by: Harish Krupo <harish.krupo.kps@intel.com>
clients/desktop-shell.c