mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:08:11 +00:00
Stop recomposing the window hierarchy after every dang widget paint.
This commit is contained in:
parent
f3ec96a1b9
commit
cfd76ade73
8 changed files with 34 additions and 41 deletions
|
@ -8,7 +8,8 @@
|
|||
|
||||
RootWidget::RootWidget()
|
||||
{
|
||||
m_backing = GraphicsBitmap::create_wrapper(FrameBufferSDL::the().size(), (byte*)FrameBufferSDL::the().scanline(0));
|
||||
setWindowRelativeRect(FrameBufferSDL::the().rect());
|
||||
m_backing = GraphicsBitmap::create_wrapper(size(), (byte*)FrameBufferSDL::the().scanline(0));
|
||||
}
|
||||
|
||||
RootWidget::~RootWidget()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue