diff options
Diffstat (limited to 'src/dev/arm/hdlcd.hh')
-rw-r--r-- | src/dev/arm/hdlcd.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dev/arm/hdlcd.hh b/src/dev/arm/hdlcd.hh index dd52e202c..f737710bd 100644 --- a/src/dev/arm/hdlcd.hh +++ b/src/dev/arm/hdlcd.hh @@ -79,8 +79,8 @@ #include <fstream> #include <memory> -#include "base/bmpwriter.hh" #include "base/framebuffer.hh" +#include "base/imgwriter.hh" #include "base/output.hh" #include "dev/arm/amba_device.hh" #include "dev/pixelpump.hh" @@ -350,7 +350,10 @@ class HDLcd: public AmbaDmaDevice EventFunctionWrapper virtRefreshEvent; /** Helper to write out bitmaps */ - BmpWriter bmp; + std::unique_ptr<ImgWriter> imgWriter; + + /** Image Format */ + Enums::ImageFormat imgFormat; /** Picture of what the current frame buffer looks like */ OutputStream *pic; |