1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00
serenity/Libraries/LibHTML
Andreas Kling 54bd322881 LibHTML: Mark image bitmaps outside the visible viewport as volatile
When the visible viewport rect changes, we walk the layout tree and
check where each LayoutImage is in relation to the viewport rect.
Images outside have their bitmaps marked as volatile.

Note that the bitmaps are managed by ImageDecoder objects. If a bitmap
is purged by the kernel while volatile, we construct a new ImageDecoder
next time we need pixels for the image.
2019-12-18 21:19:04 +01:00
..
CodeGenerators LibHTML: Don't crash when stringifying an unknown CSS property 2019-11-19 18:21:12 +01:00
CSS LibHTML: Let's display <basefont> as block-level elements for now 2019-12-18 12:44:06 +01:00
DOM LibHTML: Mark image bitmaps outside the visible viewport as volatile 2019-12-18 21:19:04 +01:00
Layout LibHTML: Mark image bitmaps outside the visible viewport as volatile 2019-12-18 21:19:04 +01:00
Parser LibHTML: Support the :only-child pseudo class 2019-12-16 19:52:11 +01:00
Scripts POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
DOMTreeModel.cpp AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
DOMTreeModel.h LibHTML: Add document icon in DOMTreeModel and keep document alive 2019-11-09 11:58:20 +01:00
Dump.cpp LibHTML: Implement compound selectors 2019-11-27 20:37:36 +01:00
Dump.h LibHTML: Hide debugging output unless HTML_DEBUG is defined 2019-09-28 18:29:42 +02:00
FontCache.cpp LibHTML: Add a simple font cache 2019-10-18 23:06:03 +02:00
FontCache.h LibHTML: Add a simple font cache 2019-10-18 23:06:03 +02:00
Frame.cpp LibHTML: Mark image bitmaps outside the visible viewport as volatile 2019-12-18 21:19:04 +01:00
Frame.h LibHTML: Push the visible viewport rect from HtmlView to Frame 2019-12-18 20:54:23 +01:00
HtmlView.cpp LibHTML: Push the visible viewport rect from HtmlView to Frame 2019-12-18 20:54:23 +01:00
HtmlView.h LibHTML: Push the visible viewport rect from HtmlView to Frame 2019-12-18 20:54:23 +01:00
install.sh LibHTML: Add install.sh 2019-09-28 18:29:42 +02:00
Makefile LibHTML: Implement basic <form> and <input> element support 2019-11-25 21:21:55 +01:00
RenderingContext.h LibHTML: Add the currently visible viewport rect to RenderingContext 2019-10-15 21:52:01 +02:00
ResourceLoader.cpp LibHTML: Allow resource loads to fail 2019-11-30 11:58:47 +01:00
ResourceLoader.h LibHTML: Use LibProtocol for HTTP requests :^) 2019-11-24 14:24:59 +01:00
TreeNode.h LibHTML+Browser: Add a simple DOM inspector popup window 2019-11-09 11:31:03 +01:00