aboutsummaryrefslogtreecommitdiff
path: root/kms++/inc/kms++/omap/omapframebuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/inc/kms++/omap/omapframebuffer.h')
-rw-r--r--kms++/inc/kms++/omap/omapframebuffer.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/kms++/inc/kms++/omap/omapframebuffer.h b/kms++/inc/kms++/omap/omapframebuffer.h
index 70bf946..b102a76 100644
--- a/kms++/inc/kms++/omap/omapframebuffer.h
+++ b/kms++/inc/kms++/omap/omapframebuffer.h
@@ -12,8 +12,7 @@ class OmapCard;
class OmapFramebuffer : public Framebuffer
{
public:
- enum Flags
- {
+ enum Flags {
None = 0,
Tiled = 1 << 0,
MemContig = 1 << 1,
@@ -51,7 +50,7 @@ private:
uint8_t* map;
};
- void Create(Flags buffer_flags);
+ void Create(uint32_t width, uint32_t height, PixelFormat format, Flags buffer_flags);
void Destroy();
unsigned m_num_planes;
@@ -59,4 +58,4 @@ private:
PixelFormat m_format;
};
-}
+} // namespace kms