summaryrefslogtreecommitdiff
path: root/kms++
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-02-10 07:08:08 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-02-10 10:42:53 +0200
commit16ed78a1725d4c69dd5ff090f050673fb910a4d8 (patch)
treeb69a283229d56819a730b2bd1ac96f336323b5dd /kms++
parent03a6821950bc85d5ae36dbd5fcc8d22b7e0c1d72 (diff)
ExtFb: remove legacy constructor
Diffstat (limited to 'kms++')
-rw-r--r--kms++/inc/kms++/extframebuffer.h1
-rw-r--r--kms++/src/extframebuffer.cpp11
2 files changed, 0 insertions, 12 deletions
diff --git a/kms++/inc/kms++/extframebuffer.h b/kms++/inc/kms++/extframebuffer.h
index eab7e3c..227a576 100644
--- a/kms++/inc/kms++/extframebuffer.h
+++ b/kms++/inc/kms++/extframebuffer.h
@@ -9,7 +9,6 @@ namespace kms
class ExtFramebuffer : public Framebuffer
{
public:
- ExtFramebuffer(Card& card, uint32_t width, uint32_t height, uint8_t depth, uint8_t bpp, uint32_t stride, uint32_t handle);
ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
uint32_t handles[4], uint32_t pitches[4], uint32_t offsets[4]);
ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
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)