commit | bee45a14cd5d20bddc6c591acd6856ea259e79f5 | [log] [tgz] |
---|---|---|
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | Tue Aug 06 20:05:54 2013 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Aug 06 16:49:27 2013 -0700 |
tree | 0831c9a467fa3158969b0fd0efe7d5deccfb9a94 | |
parent | 0ff790876700d91adf0c323134d5424b3ba49f17 [diff] |
window: Allow hinting of a preference for RGB565 when creating a window And check if the renderer supports the RGB565 format for wl_shm buffers before creating the cairo surface and requesting the buffer. It can save quite some memory with big surfaces such as desktop backgrounds.