Kernel: VESA driver has now second buffer for fast scrolling
This allows us to not read from video memory, since it was very slow I also implemented fast path for graphics clearing and scrolling if bpp is 32
This commit is contained in:
@@ -25,10 +25,11 @@ namespace VESA
|
||||
BRIGHT_WHITE = 15,
|
||||
};
|
||||
|
||||
bool Initialize();
|
||||
bool PreInitialize();
|
||||
void Initialize();
|
||||
void PutEntryAt(uint16_t, uint32_t, uint32_t, Color, Color);
|
||||
void Clear(Color);
|
||||
void ScrollLine(uint32_t line);
|
||||
void Scroll();
|
||||
|
||||
uint32_t GetTerminalWidth();
|
||||
uint32_t GetTerminalHeight();
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
void kmalloc_initialize();
|
||||
void kmalloc_dump_nodes();
|
||||
|
||||
void* kmalloc_eternal(size_t);
|
||||
void* kmalloc(size_t);
|
||||
void kfree(void*);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user