diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-02-10 07:08:08 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-02-10 10:42:53 +0200 |
commit | 16ed78a1725d4c69dd5ff090f050673fb910a4d8 (patch) | |
tree | b69a283229d56819a730b2bd1ac96f336323b5dd /kms++/src | |
parent | 03a6821950bc85d5ae36dbd5fcc8d22b7e0c1d72 (diff) |
ExtFb: remove legacy constructor
Diffstat (limited to 'kms++/src')
-rw-r--r-- | kms++/src/extframebuffer.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/kms++/src/extframebuffer.cpp b/kms++/src/extframebuffer.cpp index 0ade454..1af2f62 100644 --- a/kms++/src/extframebuffer.cpp +++ b/kms++/src/extframebuffer.cpp @@ -12,17 +12,6 @@ using namespace std; namespace kms { -ExtFramebuffer::ExtFramebuffer(Card& card, uint32_t width, uint32_t height, uint8_t depth, uint8_t bpp, uint32_t stride, uint32_t handle) - :Framebuffer(card, width, height) -{ - uint32_t id; - int r = drmModeAddFB(card.fd(), width, height, depth, bpp, stride, handle, &id); - if (r) - throw invalid_argument("fob"); - - set_id(id); -} - ExtFramebuffer::ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format, uint32_t handles[], uint32_t pitches[], uint32_t offsets[]) : Framebuffer(card, width, height) |