Andreas Kling
|
f18d89b36d
|
LibGfx: Make sure Bitmap::create_with_anon_fd() always closes if needed
If this is called with ShouldCloseAnonymousFile::Yes, it's entrusted
with closing the anon_fd and nobody else will take care of it.
|
2021-01-16 11:26:53 +01:00 |
|
Andreas Kling
|
6536a9c79a
|
LibGfx: Fix fuzzer build (put anon_create() behind __serenity__)
|
2021-01-16 09:02:17 +01:00 |
|
Andreas Kling
|
633915e792
|
LibGfx: Make Gfx::ShareableBitmap use anonymous files instead of shbufs
|
2021-01-15 23:24:07 +01:00 |
|
Andreas Kling
|
4d97b955e6
|
LibGfx: Allow creating a Gfx::Bitmap backed by an anonymous file
Gfx::Bitmap::create_with_anon_fd() creates such a Bitmap, and also
optionally takes ownership of the file, making sure to close() it
on destruction.
|
2021-01-15 13:56:54 +01:00 |
|
Andreas Kling
|
13d7c09125
|
Libraries: Move to Userland/Libraries/
|
2021-01-12 12:17:46 +01:00 |
|