#pragma once #include #include class Framebuffer { public: Framebuffer(const FramebufferInfo& info); void DrawPixel(uint32_t row, uint32_t col, uint32_t pixel); void DrawGlyph(uint8_t* glyph); private: // FIXME: Implement Yunq copy or move so we // don't have to store a reference here. const FramebufferInfo& fb_info_; OwnedMemoryRegion fb_memory_; uint32_t* fb_; uint32_t cursor_pos_; };