mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Make sure all GraphicsBitmap scanlines are 16-byte aligned.
This is a prerequisite for some optimizations.
This commit is contained in:
@@ -35,6 +35,8 @@ public:
|
||||
|
||||
void set_mmap_name(const String&);
|
||||
|
||||
size_t size_in_bytes() const { return m_pitch * m_size.height() * sizeof(RGBA32); }
|
||||
|
||||
private:
|
||||
GraphicsBitmap(Format, const Size&);
|
||||
GraphicsBitmap(Format, const Size&, RGBA32*);
|
||||
|
||||
Reference in New Issue
Block a user