diff options
Diffstat (limited to 'kms++/inc')
-rw-r--r-- | kms++/inc/kms++/omap/omapframebuffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kms++/inc/kms++/omap/omapframebuffer.h b/kms++/inc/kms++/omap/omapframebuffer.h index 9b628f4..d23e5ba 100644 --- a/kms++/inc/kms++/omap/omapframebuffer.h +++ b/kms++/inc/kms++/omap/omapframebuffer.h @@ -10,8 +10,8 @@ class OmapCard; class OmapFramebuffer : public MappedFramebuffer { public: - OmapFramebuffer(OmapCard& card, uint32_t width, uint32_t height, const std::string& fourcc); - OmapFramebuffer(OmapCard& card, uint32_t width, uint32_t height, PixelFormat format); + OmapFramebuffer(OmapCard& card, uint32_t width, uint32_t height, const std::string& fourcc, bool cached = false); + OmapFramebuffer(OmapCard& card, uint32_t width, uint32_t height, PixelFormat format, bool cached = false); virtual ~OmapFramebuffer(); uint32_t width() const { return Framebuffer::width(); } @@ -37,7 +37,7 @@ private: uint8_t* map; }; - void Create(); + void Create(bool cached); void Destroy(); unsigned m_num_planes; |