awesome/lib/gears
Uli Schlachter 2d8c21af85 gears.surface: Cache files from disk
Instead of loading files from disk every time we need them, add a cache to
gears.surface as a weak table that maps strings to cairo surfaces.

If this cache should be avoided, there is a new gears.surface.load_uncached()
function which works just like gears.surface.load() worked before.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-03-29 23:01:08 +01:00
..
color.lua.in gears.color.create_opaque_pattern: Fix for SurfacePatterns (FS#1236) 2014-03-23 22:44:12 +01:00
debug.lua.in Fix debug.dump 2012-08-31 15:23:56 +02:00
init.lua.in Fix warnings from LDoc 2012-11-19 15:35:32 +01:00
object.lua.in Lots of random documentation fixes 2012-11-19 14:09:10 +01:00
sort.lua.in Ported lib/gears to lua 5.2 2012-06-16 17:37:30 +02:00
surface.lua.in gears.surface: Cache files from disk 2014-03-29 23:01:08 +01:00
wallpaper.lua.in gears.wallpaper: Create smaller image surface (FS#1087) 2013-02-12 15:15:16 +01:00