]> git.sesse.net Git - vlc/commit
skins2: implement a caching mechanism for graphics
authorErwan Tulou <erwan10@videolan.org>
Sat, 6 Apr 2013 12:18:26 +0000 (14:18 +0200)
committerErwan Tulou <erwan10@videolan.org>
Sat, 6 Apr 2013 12:46:51 +0000 (14:46 +0200)
commit3a3c9918c57545822440b681b3378a1d5d68b5ff
tree3647aae0560035357b91fe5203d846c237ecf044
parentb8330f3aad326401afe964d18a0cb65279181cf5
skins2: implement a caching mechanism for graphics

This patch will drastically reduce the multiple copies of the same
bitmap as graphics. It is now the GenericBitmap responsability
to create/delete one single read-only copy.
modules/gui/skins2/src/generic_bitmap.cpp
modules/gui/skins2/src/generic_bitmap.hpp