ladybird/Userland/Libraries/LibGfx
Andreas Kling 1db1ef9ea9 LibGfx: Make non-shared Bitmap used malloc() instead of mmap()
This drastically reduces the cost (in time AND space) of allocating
a Gfx::Bitmap.

Anything that needs to be shared is already using Core::AnonymousBuffer
anyway, so this shouldn't break anything important.

Do note that this makes it an error to create an empty (0x0) Bitmap,
which was previously allowed for some reason. Some small tweaks are
included to bail gracefully in such scenarios.
2024-04-29 09:49:28 +02:00
..
Filters AK: Add to_radians and to_degrees math functions 2023-09-10 08:38:29 +01:00
Font Everywhere: Run clang-format 2024-04-24 16:50:01 -04:00
ICC Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
ImageFormats LibGfx/JPEG2000: Remove an incorrect VERIFY in TagTree construction 2024-04-28 01:12:20 +02:00
AffineTransform.cpp LibGfx: Add fast path for multiply() with identity transforms 2024-03-02 13:00:09 +01:00
AffineTransform.h LibGfx: Inline some AffineTransform functions 2024-03-02 13:00:09 +01:00
AntiAliasingPainter.cpp LibGfx: Only attempt to paint strokes with a width > 0 2023-07-16 18:52:38 +02:00
AntiAliasingPainter.h LibGfx+LibWeb: Do not ignore corner radius if it is defined in one axis 2024-01-15 15:21:17 +01:00
Bitmap.cpp LibGfx: Make non-shared Bitmap used malloc() instead of mmap() 2024-04-29 09:49:28 +02:00
Bitmap.h LibGfx: Make non-shared Bitmap used malloc() instead of mmap() 2024-04-29 09:49:28 +02:00
BitmapMixer.cpp
BitmapMixer.h
BoundingBox.h LibGfx: Add BoundingBox helper class 2023-11-14 10:13:10 +01:00
CharacterBitmap.h
CIELAB.h LibGfx: Move CIELAB to its own file 2023-04-30 05:57:20 +02:00
ClassicStylePainter.cpp LibGfx+Userland: Remove dependency on GUI::TabWidget from StylePainter 2023-10-27 16:51:03 -06:00
ClassicStylePainter.h LibGfx+Userland: Remove dependency on GUI::TabWidget from StylePainter 2023-10-27 16:51:03 -06:00
ClassicWindowTheme.cpp LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
ClassicWindowTheme.h
CMakeLists.txt LibGfx: Move QMArithmeticDecoder to its own file 2024-04-19 10:59:11 +02:00
CMYKBitmap.cpp LibGfx: Prevent overflow when creating CMYKBitmaps 2024-03-07 11:32:57 -05:00
CMYKBitmap.h LibGfx: Add comparison operators to CMYK 2024-01-26 07:36:53 +01:00
Color.cpp LibGfx: Add formatters for Gfx::Color's different representations 2024-03-03 19:50:25 +01:00
Color.h LibGfx: Add formatters for Gfx::Color's different representations 2024-03-03 19:50:25 +01:00
CursorParams.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
CursorParams.h
DeltaE.cpp AK: Add to_radians and to_degrees math functions 2023-09-10 08:38:29 +01:00
DeltaE.h LibGfx: Add DeltaE() function 2023-04-30 05:57:20 +02:00
DisjointRectSet.h
EdgeFlagPathRasterizer.cpp LibGfx: Simplify path storage and tidy up APIs 2024-03-18 07:09:37 +01:00
EdgeFlagPathRasterizer.h LibGfx: Sprinkle some FLATTEN/hot attributes in the path rasterizer 2024-01-08 09:26:43 +01:00
FontCascadeList.cpp LibGfx: Don't clone fonts in FontCascadeList::extend() 2023-12-27 11:42:05 +01:00
FontCascadeList.h LibGfx+LibWeb: Produce font cascade list in CSS font matching algorithm 2023-12-10 17:32:04 +01:00
Forward.h LibGfx: Add CMYKBitmap 2024-01-10 09:39:00 +01:00
FourCC.h LibGfx: Add FourCC::from_u32() 2024-02-28 16:00:07 -05:00
GradientPainting.cpp AK: Add to_radians and to_degrees math functions 2023-09-10 08:38:29 +01:00
Gradients.h AK: Add to_radians and to_degrees math functions 2023-09-10 08:38:29 +01:00
GrayscaleBitmap.h LibGfx: Add a simple GrayscaleBitmap class 2023-03-23 08:27:51 +00:00
ImmutableBitmap.cpp LibGfx+LibWeb: Add ImmutableBitmap for images bitmap caching in painter 2023-11-26 12:55:43 +01:00
ImmutableBitmap.h LibGfx+LibWeb: Add ImmutableBitmap for images bitmap caching in painter 2023-11-26 12:55:43 +01:00
Line.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Matrix3x3.h
Matrix4x4.h LibGfx: Add Gfx::extract_2d_affine_transform(Matrix4x4) helper 2023-11-18 19:32:31 +01:00
Matrix.h LibGfx: Add an indexing operator to Matrix 2024-03-02 12:25:53 +01:00
Orientation.h
Painter.cpp LibGfx: Clip out-of-bounds pixel accesses in Painter::draw_rect() 2024-04-14 18:05:48 +02:00
Painter.h LibGfx: Move Gfx::color_for_format() to header 2024-01-08 09:26:43 +01:00
PaintStyle.h LibGfx: Add RepeatingBitmapPaintStyle and OffsetPaintStyle 2023-12-10 16:44:24 +01:00
Palette.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Palette.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Path.cpp LibGfx: Output an SVG compatible string from Path::to_byte_string() 2024-03-19 09:55:55 -04:00
Path.h LibGfx: Output an SVG compatible string from Path::to_byte_string() 2024-03-19 09:55:55 -04:00
PathClipper.cpp LibGfx+LibWeb: Move HTML::CanvasPathClipper to Gfx::PathClipper 2024-03-17 09:30:53 +01:00
PathClipper.h LibGfx+LibWeb: Move HTML::CanvasPathClipper to Gfx::PathClipper 2024-03-17 09:30:53 +01:00
Point.cpp Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
Point.h LibGfx: Make FloatPoint compatible with IPC 2024-02-21 08:31:17 +00:00
Quad.h
Rect.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Rect.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ShareableBitmap.cpp LibIPC+Userland: Make IPC::File always own its file descriptor 2024-04-19 06:34:07 -04:00
ShareableBitmap.h
Size.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Size.h LibCrypto+LibGfx: Fix GCC 14 compile errors 2024-04-20 15:52:29 -06:00
StandardCursor.h
StylePainter.cpp LibGfx+Userland: Remove dependency on GUI::TabWidget from StylePainter 2023-10-27 16:51:03 -06:00
StylePainter.h LibGfx+Userland: Remove dependency on GUI::TabWidget from StylePainter 2023-10-27 16:51:03 -06:00
SystemTheme.cpp Taskbar: Add hotkeys for theme selector menu 2024-01-14 15:16:45 -07:00
SystemTheme.h Taskbar: Add hotkeys for theme selector menu 2024-01-14 15:16:45 -07:00
TabPosition.h LibGfx+Userland: Remove dependency on GUI::TabWidget from StylePainter 2023-10-27 16:51:03 -06:00
TextAlignment.h
TextAttributes.h LibGfx+Userland: Make TextAttributes::underline_style optional 2023-03-15 14:55:49 +01:00
TextDirection.cpp
TextDirection.h
TextElision.h
TextLayout.cpp LibGfx: Treat "\r\n" as a single line break during text layout 2024-03-08 14:43:33 -05:00
TextLayout.h LibGfx+LibWeb: Use ref-counted object to store glyph run 2024-03-02 09:09:10 +01:00
TextWrapping.h
TIFFGenerator.py LibGfx/TIFF: Add Rational::as_double() 2024-02-21 08:31:17 +00:00
Triangle.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Triangle.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Vector2.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Vector3.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Vector4.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
VectorGraphic.cpp LibGfx+Userland: Rename Size::scaled_by to Size::scaled 2023-08-17 09:57:30 -04:00
VectorGraphic.h LibGfx: Add simple VectorGraphic abstract base class 2023-07-14 06:51:05 +02:00
VectorN.h LibGfx: Add VectorN::operator== 2024-03-02 12:25:53 +01:00
WindowTheme.cpp
WindowTheme.h