mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:48:11 +00:00
Terminal: Redraw entire line if any of its characters are dirty.
This means we only have to do one fill_rect() per line and the whole process ends up being ~10% faster than before. Also added a read_tsc() syscall to give userspace access to the TSC.
This commit is contained in:
parent
11b73c38d8
commit
267a903dd0
9 changed files with 108 additions and 35 deletions
|
@ -4,6 +4,11 @@
|
|||
|
||||
typedef dword RGBA32;
|
||||
|
||||
inline constexpr dword make_rgb(byte r, byte g, byte b)
|
||||
{
|
||||
return ((r << 16) | (g << 8) | b);
|
||||
}
|
||||
|
||||
class Color {
|
||||
public:
|
||||
enum NamedColor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue