mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
Kernel+Userland: Provide bytes count for a DisplayConnector framebuffer
This value will be used later on by WindowServer to reject resolutions that will request a mapping that will overflow the hardware framebuffer max length.
This commit is contained in:
parent
50ed50752f
commit
d5b97eb41e
4 changed files with 5 additions and 0 deletions
|
@ -43,6 +43,7 @@ public:
|
|||
|
||||
Gfx::ARGB32* m_framebuffer { nullptr };
|
||||
size_t m_size_in_bytes { 0 };
|
||||
size_t m_max_size_in_bytes { 0 };
|
||||
size_t m_back_buffer_offset { 0 };
|
||||
|
||||
int m_pitch { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue