9#ifndef MAXOS_VIDEO_VESA_H
10#define MAXOS_VIDEO_VESA_H
16#include <system/multiboot.h>
20namespace MaxOS::drivers::video {
29 bool internal_set_mode(uint32_t
width, uint32_t
height, uint32_t)
final;
31 void render_pixel_32_bit(uint32_t x, uint32_t y, uint32_t colour)
final;
32 uint32_t get_rendered_pixel_32_bit(uint32_t x, uint32_t y)
final;
35 size_t m_framebuffer_size;
uint32_t width() const
Gets the width of the screen.
uint32_t height() const
Gets the height of the screen.
Driver for the video controller, handles the setting of the video mode.
Driver for the VESA video controller, handles the rendering of pixels to the screen using VESA.
bool supports_mode(uint32_t width, uint32_t height, uint32_t) final
Checks if the VESA driver supports the given mode.
string device_name() final
The name of the device.
string vendor_name() final
The name of the vendor of the VESA standard.
Defines classes for memory input and output operations of various bit widths (8, 16,...
Defines a MemoryManager class for handling memory allocation and deallocation.
Defines a String class for dynamically sized strings with various operations.
A tag containing information about the framebuffer.
Defines a generic VideoDriver class for handling video modes and graphics context operations.