1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 04:07:35 +00:00
serenity/Userland/Libraries
MacDue c8c065b6b0 LibWeb+LibGfx: Migrate (most of) the CSS gradient painting to LibGfx
This moves the CSS gradient painting to the painter creating:

 - Painter::fill_rect_with_linear_gradient()
 - Painter::fill_rect_with_conic_gradient()
 - Painter::fill_rect_with_radial_gradient()

This has a few benefits:
 - The gradients can now easily respect the painter scale
 - The Painter::fill_pixels() escape hatch can be removed
 - We can remove the old fixed color stop gradient code
    - The old functions are  now just a shim
 - Anywhere can now easily use this gradient painting code!

This only leaves the color stop resolution in LibWeb (which is fine).
Just means in LibGfx you have to actually specify color stop positions.

(Also while here add a small optimization to avoid generating
excessively long gradient lines)
2023-01-10 10:25:58 +01:00
..
LibArchive LibArchive: Use read_entire_buffer for reading extended headers 2023-01-08 09:54:08 +00:00
LibAudio AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
LibC Everywhere: Remove "LibC/" includes, add lint-rule against it 2023-01-07 10:01:37 -07:00
LibCards LibCards+Games: Make CardGame::add_stack() fallible 2023-01-06 16:03:50 +01:00
LibChess Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibCodeComprehension Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibCompress LibCompress: Port ZlibCompressor to Core::Stream 2023-01-03 10:01:09 +00:00
LibConfig LibConfig+LibCore+ConfigServer: Support u32 configuration entries 2022-12-23 23:26:21 +01:00
LibCore LibCore: Teach MimeData about ICC file extension and contents 2023-01-08 13:25:15 +01:00
LibCoredump LibCoredump: Remove i686 support 2022-12-28 11:53:41 +01:00
LibCpp AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
LibCrypt AK: Stop using DeprecatedString in Base64 encoding 2022-12-20 10:34:19 +01:00
LibCrypto LibCrypto: Use default Crypto::Hash::Digest comparison operators 2023-01-06 23:57:46 +01:00
LibDebug AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
LibDesktop LibDesktop+Taskbar: Add an option to exclude apps from the system menu 2023-01-03 17:56:55 +01:00
LibDeviceTree AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibDiff LibDiff: Make Diff::generate_only_additions take text as StringView 2022-12-20 10:58:54 +01:00
LibDNS LibIPC+Everywhere: Change IPC::encode's return type to ErrorOr 2023-01-04 11:49:15 +01:00
LibDSP Everywhere: Use C++ concepts instead of requires clauses 2022-12-09 11:25:30 +00:00
LibEDID LibEDID: Propagate errors using TRY 2023-01-02 11:04:38 -05:00
LibELF Everywhere: Remove unused includes of AK/Memory.h 2023-01-02 20:27:20 -05:00
LibFileSystemAccessClient LibFileSystemAccessClient: Add functions returning FSAC::File 2023-01-07 10:53:43 +00:00
LibGemini LibCore: Propagate errors from Stream::*_entire_buffer 2022-12-12 14:16:42 +01:00
LibGfx LibWeb+LibGfx: Migrate (most of) the CSS gradient painting to LibGfx 2023-01-10 10:25:58 +01:00
LibGL LibGL: Implement GL_BLEND_DST and GL_BLEND_SRC 2023-01-03 19:49:31 -05:00
LibGLSL LibGLSL: Fill LinkedShaders with dummy IR code 2022-12-17 22:39:09 -07:00
LibGPU Everywhere: Remove unused includes of AK/Array.h 2023-01-02 20:08:35 +00:00
LibGUI LibGUI: Register "jump_to_cursor" as a GML property 2023-01-09 17:32:03 +00:00
LibHTTP LibCompress: Rename Compress::Zlib to Compress::ZlibDecompressor 2023-01-03 10:01:09 +00:00
LibIDL LibIDL: Use Core::Stream to read imports 2022-12-14 15:19:35 +00:00
LibImageDecoderClient Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
LibIMAP Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
LibIPC LibIPC: Add File(Core::Stream::File& file, ...) 2023-01-06 14:52:29 +00:00
LibJS LibJS: Verify that objects are only initialized once 2023-01-09 22:14:35 -05:00
LibKeyboard Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibLine Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
LibLocale Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibMain Everywhere: Explicitly link all binaries against the LibC target 2022-11-01 14:49:09 +00:00
LibManual Help+LibManual: Open sibling page for subsections 2023-01-02 06:15:13 -07:00
LibMarkdown Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
LibPartition Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
LibPCIDB AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibPDF AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
LibProtocol AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibRegex AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
LibSanitizer LibC: Properly implement stack protectors 2022-11-01 14:49:09 +00:00
LibSoftGPU LibSoftGPU: Remove workaround for i686 depth comparison 2023-01-09 12:55:41 +01:00
LibSQL LibIPC+Everywhere: Change IPC::encode's return type to ErrorOr 2023-01-04 11:49:15 +01:00
LibSymbolication LibELF+LibSymbolication: Remove i686 support 2022-12-28 11:53:41 +01:00
LibSyntax LibSyntax: Add common_language_extension() function 2022-12-19 14:13:50 -05:00
LibSystem Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00
LibTest Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
LibTextCodec Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
LibThreading Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
LibTimeZone AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibTLS LibCore: Propagate errors from Stream::*_entire_buffer 2022-12-12 14:16:42 +01:00
LibUnicode AK+LibUnicode: Provide Unicode-aware String case transformations 2023-01-09 19:23:46 -07:00
LibUSBDB AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LibVideo AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
LibVirtGPU LibVirtGPU: Adopt rendering code from VirGLDemo 2022-12-26 09:39:20 +01:00
LibVT Everywhere: Use ElapsedTimer::elapsed_time() for comparisons 2023-01-07 14:51:04 +01:00
LibWasm Everywhere: Move AK/Debug.h include to using files or remove 2023-01-02 20:27:20 -05:00
LibWeb LibWeb+LibGfx: Migrate (most of) the CSS gradient painting to LibGfx 2023-01-10 10:25:58 +01:00
LibWebSocket AK: Stop using DeprecatedString in Base64 encoding 2022-12-20 10:34:19 +01:00
LibWebView LibWebView: Port to Core::Stream 2023-01-09 22:50:53 +00:00
LibX86 LibX86: Remove i686 support 2022-12-28 11:53:41 +01:00
LibXML LibXML+LibWeb: Avoid implicit cast from StringView{}->DeprecatedString 2023-01-08 12:15:46 +01:00
CMakeLists.txt LibVirtGPU: Add a new GPU device that talks to our VirtIO-GPU driver 2022-12-26 09:39:20 +01:00