1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:17:44 +00:00

WindowServer: Rename fb_data and friends to flush_rect etc

This was very badly named. All that the "FBData" struct contains is the
currently to-be-flushed rectangles plus a fullness flag, so it should
better be called FlushRectData. This rename is similarly applied to all
variable names.
This commit is contained in:
kleines Filmröllchen 2022-03-31 15:20:01 +02:00 committed by Linus Groh
parent a7bb3fe7a8
commit 1fce201d15
2 changed files with 27 additions and 27 deletions

View file

@ -59,7 +59,7 @@ private:
};
struct CompositorScreenData;
struct ScreenFBData;
struct FlushRectData;
class Screen : public RefCounted<Screen> {
public:
@ -211,7 +211,7 @@ private:
int m_pitch { 0 };
Gfx::IntRect m_virtual_rect;
int m_framebuffer_fd { -1 };
NonnullOwnPtr<ScreenFBData> m_framebuffer_data;
NonnullOwnPtr<FlushRectData> m_flush_rects;
NonnullOwnPtr<CompositorScreenData> m_compositor_screen_data;
};