mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
WindowServer: Coordinate double-buffering with the BochsVGA card.
Use the BochsVGA card's virtual-height + virtual-y features to implement a "hardware double buffering" type scheme. This is a performance degradation since we now draw a bunch more than before. But there's also no tearing or cursor flickering. I'm gonna commit this and try to improve upon it. :^)
This commit is contained in:
parent
1f159eaab0
commit
443d1c2237
6 changed files with 52 additions and 15 deletions
|
@ -15,6 +15,7 @@ public:
|
|||
|
||||
PhysicalAddress framebuffer_address() const { return m_framebuffer_address; }
|
||||
void set_resolution(int width, int height);
|
||||
void set_y_offset(int);
|
||||
|
||||
private:
|
||||
void set_register(word index, word value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue