summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-02-10 07:33:55 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-02-10 10:55:12 +0200
commit38b625b629a48e8cf070a749111a641d45394634 (patch)
treec9a42185d1e89caabacf39ff853bc0c04346e965 /kms++/inc
parentd47d70dcf4bdb2ae34ec27ba65db5bfdcb64b480 (diff)
ExtFb: pass params in vectors
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/extframebuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kms++/inc/kms++/extframebuffer.h b/kms++/inc/kms++/extframebuffer.h
index 89551c3..cee82d3 100644
--- a/kms++/inc/kms++/extframebuffer.h
+++ b/kms++/inc/kms++/extframebuffer.h
@@ -10,9 +10,9 @@ class ExtFramebuffer : public MappedFramebuffer
{
public:
ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
- uint32_t handles[4], uint32_t pitches[4], uint32_t offsets[4]);
+ std::vector<uint32_t> handles, std::vector<uint32_t> pitches, std::vector<uint32_t> offsets);
ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
- int fds[4], uint32_t pitches[4], uint32_t offsets[4]);
+ std::vector<int> fds, std::vector<uint32_t> pitches, std::vector<uint32_t> offsets);
virtual ~ExtFramebuffer();
uint32_t width() const { return Framebuffer::width(); }