Ray Strode 625ea86672 MetaShapedTexture: save and restore textures on suspend
The proprietary nvidia driver garbles GPU memory on suspend.

In order to workaround that limitation, this commit copies all
textures to host memory on suspend and restores them on resume.

One complication comes from external textures (such as those
given to us by Xwayland for X clients).  We can't just restore
those textures, since they aren't writable.

This commit addresses that complication by keeping a local texture
around for those external textures, and using it instead for parts
of the window that haven't been redrawn since resume.
2019-01-15 11:54:58 -05:00
2015-07-06 00:52:18 -07:00
2018-04-10 17:58:12 +02:00
2014-03-18 20:37:35 -04:00
2017-05-11 13:45:44 +02:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2018-07-18 23:12:51 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%