awesome/lib/gears
Uli Schlachter 96c49e6c6a gears.surface: Handle the cache more intelligently
It doesn't make sense for surface.load_uncached() to load a file without
inserting into the cache. The next "cached" load will have to load it again.

So move cache insertion into surface.load_uncached() and the only thing that
surface.load() does differently is checking if we have a suitable cache entry
before calling load_uncached().

So load_uncached() does the cache insertion and load() reads from the cache.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-04-09 21:55:07 +02:00
..
color.lua.in Make sure gears.color.create_png_pattern are being repeated 2014-04-08 22:57:05 +02: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: Handle the cache more intelligently 2014-04-09 21:55:07 +02:00
wallpaper.lua.in Move 'surface_size' to gears.surface and make it public 2014-04-08 22:51:55 +02:00