1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 12:17:44 +00:00
serenity/Userland/Libraries
Andreas Kling 9b0ca75f84 LibWeb: Add Frame::ViewportClient and use it for Layout::ImageBox
Image boxes want to know whether they are inside the visible viewport.
This is used to pause/resume animations, and to update the purgeable
memory volatility state.

Previously we would traverse the entire layout tree on every resize,
calling a helper on each ImageBox. Make those boxes register with the
frame they are interested in instead, saving us all that traversal.

This also makes it easier for other parts of the code to learn about
viewport changes in the future. :^)
2021-01-30 12:29:11 +01:00
..
LibAudio Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
LibC LibC: Protect the atexit() handler list when not writing to it 2021-01-30 10:41:36 +01:00
LibChess Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
LibCompress Everywhere: Fix typos 2021-01-22 18:41:29 +01:00
LibCore Kernel+Userland: Remove unused "effective priority" from threads 2021-01-28 08:25:53 +01:00
LibCoreDump LibCoreDump: Expose arguments and environment 2021-01-15 23:26:47 +01:00
LibCpp LibCpp: Add the beginning of a C++ parser 2021-01-27 21:10:57 +01:00
LibCrypt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LibCrypto Everywhere: Debug macros instead of constexpr. 2021-01-25 09:47:36 +01:00
LibDebug Everywhere: Debug macros instead of constexpr. 2021-01-25 09:47:36 +01:00
LibDesktop Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LibDiff Everywhere: Debug macros instead of constexpr. 2021-01-25 09:47:36 +01:00
LibELF LibELF: Avoid quadratic memory usage weakness 2021-01-30 09:25:02 +01:00
LibGemini Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
LibGfx LibGfx: Fix dynamic bitmasks in BMPs 2021-01-30 09:23:18 +01:00
LibGUI Vim: Add change word and delete word functionality 2021-01-28 08:17:02 +01:00
LibHTTP Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
LibImageDecoderClient ImageDecoder+LibImageDecoder+LibWeb: Support animations in ImageDecoder 2021-01-29 22:38:22 +01:00
LibIPC LibCore+LibIPC: Add Core::AnonymousBuffer, an IPC-friendly buffer class 2021-01-16 17:20:24 +01:00
LibJS LibJS: Let RegExp.string get RegExp.prototype from the global object directly 2021-01-29 20:50:22 +01:00
LibKeyboard Everywhere: Replace a bundle of dbg with dbgln. 2021-01-16 11:54:35 +01:00
LibLine Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
LibM LibM: Add nextafter() and nexttoward() stubs 2021-01-18 22:28:56 +01:00
LibMarkdown Everywhere: Debug macros instead of constexpr. 2021-01-25 09:47:36 +01:00
LibPCIDB LibC+Everywhere: Remove open_with_path_length() in favor of open() 2021-01-12 23:34:01 +01:00
LibProtocol Everywhere: Remove a bunch of <AK/SharedBuffer.h> includes 2021-01-16 11:26:53 +01:00
LibPthread Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
LibRegex Everywhere: Debug macros instead of constexpr. 2021-01-25 09:47:36 +01:00
LibTar Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LibTextCodec Everywhere: Replace a bundle of dbg with dbgln. 2021-01-16 11:54:35 +01:00
LibThread Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
LibTLS Everywhere: Debug macros instead of constexpr. 2021-01-25 09:47:36 +01:00
LibTTF Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
LibVT Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
LibWeb LibWeb: Add Frame::ViewportClient and use it for Layout::ImageBox 2021-01-30 12:29:11 +01:00
LibX86 Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00