1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#pragma once #include "framebuffer.h" namespace kms { class ExtFramebuffer : public Framebuffer { public: ExtFramebuffer(Card& card, uint32_t width, uint32_t height, uint32_t depth, uint32_t bpp, uint32_t stride, uint32_t handle); virtual ~ExtFramebuffer(); void print_short() const; private: uint32_t m_pitch; uint32_t m_bpp; uint32_t m_depth; }; }