diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-05-18 13:21:07 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-05-24 13:23:07 +0300 |
commit | 513766368980cda9adc613f690550cc42dfc85c0 (patch) | |
tree | 553c0f8d878166e0662e4a6f3c73850d5a1b4a0e /kms++/inc | |
parent | 2602a5d27444423595764556947218a8a23129ac (diff) |
omapfb: add TILER support
Add TILER rotation support for omapframebuffer.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
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 16d6cf8..dcaaa4f 100644 --- a/kms++/inc/kms++/omap/omapframebuffer.h +++ b/kms++/inc/kms++/omap/omapframebuffer.h @@ -12,8 +12,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 tiled = false); + OmapFramebuffer(OmapCard& card, uint32_t width, uint32_t height, PixelFormat format, bool tiled = false); virtual ~OmapFramebuffer(); uint32_t width() const { return Framebuffer::width(); } @@ -42,7 +42,7 @@ private: uint8_t* map; }; - void Create(); + void Create(bool tiled); void Destroy(); unsigned m_num_planes; |