1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-15 11:21:00 +00:00
serenity/Libraries/LibGfx
Andreas Kling 80ae407d73 LibGfx: Always compute the DIB mask shifts and sizes if needed
The pixel decoding logic later on assumes that if we have DIB masks,
we also have shifts and sizes, so we should make sure they are
always computed.

Found by oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28237
2020-12-23 20:16:53 +01:00
..
Filters LibGfx+PixelPaint: Fix distortions in convolutions with size != 4 or 5 2020-10-12 20:04:48 +02:00
AffineTransform.cpp LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
AffineTransform.h LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
Bitmap.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
Bitmap.h LibGfx: Mark static method as static 2020-12-02 10:46:40 +01:00
BMPLoader.cpp LibGfx: Always compute the DIB mask shifts and sizes if needed 2020-12-23 20:16:53 +01:00
BMPLoader.h Lagom: Make BMP fuzzer look like the other image loader fuzzers 2020-11-26 09:59:46 +01:00
BMPWriter.cpp LibGfx: Add BMPWriter 2020-11-22 16:07:00 +01:00
BMPWriter.h LibGfx: Add BMPWriter 2020-11-22 16:07:00 +01:00
CharacterBitmap.cpp LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
CharacterBitmap.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ClassicStylePainter.cpp LibGfx: Draw checked buttons with a dithered base background 2020-12-14 21:47:07 +01:00
ClassicStylePainter.h LibGfx: Add painting transparency grids to StylePainter 2020-09-26 00:00:08 +02:00
ClassicWindowTheme.cpp LibGfx+WindowServer: Handle taller window title fonts better 2020-10-24 00:26:13 +02:00
ClassicWindowTheme.h LibGfx+WindowServer: Handle taller window title fonts better 2020-10-24 00:26:13 +02:00
CMakeLists.txt Loader: Stabilize loader & Use shared libraries everywhere :^) 2020-12-14 23:05:53 +01:00
Color.cpp LibGfx: Make Color formattable 2020-10-26 18:55:36 +01:00
Color.h LibGfx: Commonize functions in P*MLoader class implementations 2020-12-22 09:24:12 +01:00
DisjointRectSet.cpp LibGfx: Small improvement for DisjointRectSet::shatter 2020-08-19 11:20:27 +02:00
DisjointRectSet.h LibGfx: Add a few convenience methods to DisjointRectSet 2020-08-18 12:12:27 +02:00
Emoji.cpp Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Emoji.h Unicode: Try s/codepoint/code_point/g again 2020-08-05 22:33:42 +02:00
Font.cpp LibGfx: Don't leak malloc memory in cloned fonts 2020-11-15 11:35:07 +01:00
Font.h LibGfx: Fix font x-height computation 2020-12-06 01:01:15 +01:00
FontDatabase.cpp LibGfx: Remove debug spam about successful font lookups 2020-11-07 14:23:31 +01:00
FontDatabase.h LibGfx: Move FontDatabase from LibGUI to LibGfx 2020-10-31 13:56:21 +01:00
Forward.h LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
Gamma.h LibGfx: Simplify and refactor Gamma.h 2020-12-08 09:39:43 +01:00
GIFLoader.cpp LibGfx: Fix OOB access in GIF deinterlacing 2020-12-22 10:09:41 +01:00
GIFLoader.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ICOLoader.cpp LibGfx: Teach all image decoders to fail on bitmap allocation failure 2020-12-20 16:04:29 +01:00
ICOLoader.h LibGfx: Initial support for ICO image files. 2020-06-21 17:41:52 +02:00
ImageDecoder.cpp LibGfx: Add PGM image file type support 2020-06-27 13:01:27 +02:00
ImageDecoder.h LibGfx: Don't keep an unused GIF decoder plugin in failed ImageDecoders 2020-06-13 15:29:29 +02:00
JPGLoader.cpp LibGfx: Fail JPEG decode instead of asserting on bogus start-of-scan 2020-12-23 19:22:15 +01:00
JPGLoader.h JPGLoader: Move JPGLoader internal structs and #defines to JPGLoader.cpp 2020-06-23 13:51:19 +02:00
Matrix.h LibGfx: Add a generic Matrix variant 2020-07-25 02:13:43 +02:00
Matrix4x4.h LibGfx: Add a generic Matrix variant 2020-07-25 02:13:43 +02:00
Orientation.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
Painter.cpp LibGfx: Make fill_path() less bad at filling paths 2020-12-12 20:10:04 +01:00
Painter.h LibGUI+LibGfx+WindowServer: Auto-generate disabled action icons :^) 2020-10-27 21:25:40 +01:00
Palette.cpp AK: Add trivial structure validation to SharedBuffer 2020-10-02 15:38:07 +02:00
Palette.h LibGfx: Add colors for highlight-searching to palette and themes 2020-10-22 15:23:45 +02:00
Path.cpp LibGfx: Add ability to get a bounding box from a Path 2020-10-10 23:28:41 +02:00
Path.h LibGfx: Add ability to get a bounding box from a Path 2020-10-10 23:28:41 +02:00
PBMLoader.cpp LibGfx: Commonize functions in P*MLoader class implementations 2020-12-22 09:24:12 +01:00
PBMLoader.h LibGfx: Add PBM image file type support 2020-06-21 16:42:46 +02:00
PGMLoader.cpp LibGfx: Commonize functions in P*MLoader class implementations 2020-12-22 09:24:12 +01:00
PGMLoader.h LibGfx: Add PGM image file type support 2020-06-27 13:01:27 +02:00
PNGLoader.cpp LibGfx: Catch integer overflows in PNG decoder and fail the decode 2020-12-23 19:04:12 +01:00
PNGLoader.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Point.cpp LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
Point.h LibGfx: Fix type of scale factor in Point scale operators 2020-12-18 17:35:30 +01:00
PortableImageLoaderCommon.h LibGfx: Commonize functions in P*MLoader class implementations 2020-12-22 09:24:12 +01:00
PPMLoader.cpp LibGfx: Commonize functions in P*MLoader class implementations 2020-12-22 09:24:12 +01:00
PPMLoader.h LibGfx: Add PPM image file type support 2020-06-22 18:11:22 +02:00
Rect.cpp LibGfx: Add TextAlignment::BottomRight 2020-08-23 01:05:22 +02:00
Rect.h LibGfx: Give Size and Rect * and *= operators 2020-12-18 17:35:30 +01:00
ShareableBitmap.cpp LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
ShareableBitmap.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Size.cpp LibGfx: Templatize Point, Size, and Rect 2020-07-27 01:06:26 +02:00
Size.h LibGfx: Give Size and Rect * and *= operators 2020-12-18 17:35:30 +01:00
StandardCursor.h WindowServer+LibGfx: Add Gfx::StandardCursor::Hidden cursor 2020-11-02 20:58:07 +01:00
Streamer.h LibGfx: Extraction of Streamer from P*MLoader 2020-12-21 09:58:27 +01:00
StylePainter.cpp LibGfx: Add painting transparency grids to StylePainter 2020-09-26 00:00:08 +02:00
StylePainter.h LibGfx: Add painting transparency grids to StylePainter 2020-09-26 00:00:08 +02:00
SystemTheme.cpp AK: Add trivial structure validation to SharedBuffer 2020-10-02 15:38:07 +02:00
SystemTheme.h LibGUI+LibGfx+Base: Make tooltips color theme aware :^) 2020-10-23 12:01:14 +02:00
TextAlignment.h LibGfx: Add a helper to check if a TextAlignment is vertically centered 2020-09-19 19:16:22 +02:00
TextElision.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
Triangle.cpp LibGfx: Move a bunch of LogStream::operator<< to cpp files 2020-02-15 00:58:54 +01:00
Triangle.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Vector3.h LibGfx+PixelPaint: Fix distortions in convolutions with size != 4 or 5 2020-10-12 20:04:48 +02:00
WindowTheme.cpp LibGfx: Correct copyright years for {Classic,}WindowTheme.{cpp,h} 2020-08-10 21:20:28 +02:00
WindowTheme.h LibGfx+WindowServer: Handle taller window title fonts better 2020-10-24 00:26:13 +02:00