diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-24 18:31:59 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-25 14:39:21 +0200 |
commit | 24b5295b3038dc0b7a49367476b5b8594268163d (patch) | |
tree | 61a774f809502fef1e54fabbae6fc066b3523745 /Userland/Libraries/LibWeb/Loader | |
parent | deec79b3c61b4444c54e0b159a517920ab841658 (diff) | |
download | serenity-24b5295b3038dc0b7a49367476b5b8594268163d.zip |
LibGfx: Remove "purgeable Gfx::Bitmap" as a separate concept
This was a really weird thing to begin with, purgeable bitmaps were
basically regular bitmaps without a physical memory reservation.
Since all the clients of this code ended up populating the bitmaps
with pixels immediately after allocating them anyway, there was no
need to avoid the reservation.
Instead, all Gfx::Bitmaps are now purgeable, in the sense that they
can be marked as volatile or non-volatile.
The only difference here is that allocation failure is surfaced when
we try to create the bitmap instead of during the handling of a
subsequent page fault.
Diffstat (limited to 'Userland/Libraries/LibWeb/Loader')
0 files changed, 0 insertions, 0 deletions