View Single Post
Old 11-17-2017, 07:47 PM   #4
Human being with feelings
Youlean's Avatar
Join Date: May 2015
Location: Serbia
Posts: 652

Loading bitmaps from common folder is possible if you want to load it from constructor. If you load bitmaps elsewhere it will break GUI scaling in my branch.

Since we are there I would like to ask you guys that are using the bitmaps, is it acceptable bitmaps not to be shared in memory for every plugin instance? If it is, we might make working with bitmaps a whole lot better using cairo!

BTW, if you want to test memory usage just remove static keyword from these 2 lines of code in my branch in IGraphics.cpp
static GUIResizeBitmapStorage storeLoadedBitmap;
static BitmapStorage s_bitmapCache;
Website | Facebook Page | IPlug-Youlean
Youlean is offline   Reply With Quote