1 #pragma once
3 #include "framebuffer.h"
4 #include "pixelformats.h"
6 namespace kms
7 {
9 class ExtFramebuffer : public Framebuffer
10 {
11 public:
12 ExtFramebuffer(Card& card, uint32_t width, uint32_t height, uint8_t depth, uint8_t bpp, uint32_t stride, uint32_t handle);
13 ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
14 uint32_t handles[4], uint32_t pitches[4], uint32_t offsets[4]);
15 ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
16 int fds[4], uint32_t pitches[4], uint32_t offsets[4]);
17 virtual ~ExtFramebuffer();
19 private:
20 };
21 }