Squash commits for public release
This commit is contained in:
13
test/bench/pngloader.cpp
Normal file
13
test/bench/pngloader.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "common.h"
|
||||
#include <libg/ImageLoaders/PNGLoader.h>
|
||||
|
||||
LG::PixelBitmap bitmap;
|
||||
|
||||
void bench_pngloader()
|
||||
{
|
||||
RUN_BENCH("PNG LOADER", 5)
|
||||
{
|
||||
LG::PNG::PNGLoader loader;
|
||||
bitmap = loader.load_from_file("/res/wallpapers/island.png");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user