mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
LibGfx: Make Gfx::ShareableBitmap use anonymous files instead of shbufs
This commit is contained in:
parent
adb9ade88d
commit
633915e792
7 changed files with 38 additions and 32 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
|
||||
bool is_valid() const { return m_bitmap; }
|
||||
|
||||
i32 shbuf_id() const { return m_bitmap ? m_bitmap->shbuf_id() : -1; }
|
||||
int anon_fd() const { return m_bitmap ? m_bitmap->anon_fd() : -1; }
|
||||
|
||||
const Bitmap* bitmap() const { return m_bitmap; }
|
||||
Bitmap* bitmap() { return m_bitmap; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue