ladybird/Libraries/LibGfx
Peter Nelson ddc4eb7be0 LibGfx: Optimise LZWDecoder
Various optimisations to speed up LZWDecoder
- Take advantage of the fact that we add new codes in the order they are
  discovered so no need to store the code as part of a separate
  CodeTableEntry structure. Instead we store directly store vectors of
  colors and the code is the index into the vector.
- Cache current table capacity to avoid calling pow2 every time.
- Prevent some unnecessary vector copies by returning by reference from
  get_output.
2020-05-09 12:01:59 +02:00
..
AffineTransform.cpp LibGfx: Add a basic AffineTransform class 2020-04-12 19:23:39 +02:00
AffineTransform.h LibGfx: Add a basic AffineTransform class 2020-04-12 19:23:39 +02:00
Bitmap.cpp Misc: Replace "String(string_view)" with "string_view.to_string()" 2020-05-06 19:28:59 +02:00
Bitmap.h LibGfx: Don't allow creating bitmaps whose sizes would overflow 2020-04-15 12:28:49 +02:00
CharacterBitmap.cpp LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
CharacterBitmap.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
Color.cpp Misc: Replace "String(string_view)" with "string_view.to_string()" 2020-05-06 19:28:59 +02:00
Color.h LibGfx: Add Color::to_string_without_alpha() 2020-04-29 15:31:45 +02:00
DisjointRectSet.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
DisjointRectSet.h AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
Emoji.cpp LibGfx: Rename GraphicsBitmap.{cpp,h} => Bitmap.{cpp,h} 2020-02-06 12:07:05 +01:00
Emoji.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
FloatPoint.h LibGfx: Implement filling paths 2020-05-06 14:50:29 +02:00
FloatRect.cpp LibGfx: Add missing FloatRect function implementations 2020-05-05 18:53:34 +02:00
FloatRect.h LibGfx: Allow constructing Float{Rect,Point,Size} from integer buddies 2020-04-12 19:23:39 +02:00
FloatSize.h LibGfx: Allow constructing Float{Rect,Point,Size} from integer buddies 2020-04-12 19:23:39 +02:00
Font.cpp LibGfx: Do not assert on failed font file loads 2020-03-11 21:27:03 +01:00
Font.h LibGfx: Add new methods to Font to avoid embedded values in FontEditor 2020-05-09 10:00:13 +02:00
Forward.h LibGfx: Add Gfx::Path, a basic 2D path with <canvas> semantics 2020-04-16 21:04:46 +02:00
GIFLoader.cpp LibGfx: Optimise LZWDecoder 2020-05-09 12:01:59 +02:00
GIFLoader.h LibGfx: Add support for animated images to ImageDecoder{Plugin} 2020-05-09 12:01:59 +02:00
ImageDecoder.cpp LibGfx: Remove debug output 2020-04-25 16:49:09 +02:00
ImageDecoder.h LibGfx: Add support for animated images to ImageDecoder{Plugin} 2020-05-09 12:01:59 +02:00
Makefile LibGfx: Add missing FloatRect function implementations 2020-05-05 18:53:34 +02:00
Matrix4x4.h LibGfx: Add Vector3 and Matrix4x4 classes 2020-04-18 12:28:54 +02:00
Orientation.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
Painter.cpp LibGfx: Revert #2154 and properly handle simple polygons 2020-05-08 19:39:38 +02:00
Painter.h LibGfx: Implement filling paths 2020-05-06 14:50:29 +02:00
Palette.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
Palette.h LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
Path.cpp LibGfx: Revert #2154 and properly handle simple polygons 2020-05-08 19:39:38 +02:00
Path.h LibGfx: Revert #2154 and properly handle simple polygons 2020-05-08 19:39:38 +02:00
PNGLoader.cpp LibGfx: Add support for animated images to ImageDecoder{Plugin} 2020-05-09 12:01:59 +02:00
PNGLoader.h LibGfx: Add support for animated images to ImageDecoder{Plugin} 2020-05-09 12:01:59 +02:00
Point.cpp LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
Point.h LibGfx: Add Painter::draw_quadratic_bezier_curve() 2020-05-05 09:21:07 +02:00
Rect.cpp LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
Rect.h LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
ShareableBitmap.cpp Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
ShareableBitmap.h Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
Size.cpp LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
Size.h LibIPC+LibGfx: Pass the IPC::Decoder to decoding helpers 2020-03-29 19:37:23 +02:00
StylePainter.cpp WindowServer+LibGfx: Make window borders 1px thicker 2020-04-23 14:37:13 +02:00
StylePainter.h LibGfx: Reduce header dependencies of StylePainter 2020-02-16 09:41:56 +01:00
SystemTheme.cpp LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
SystemTheme.h LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
TextAlignment.h LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01: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: Move a bunch of LogStream::operator<< to cpp files 2020-02-15 00:58:54 +01:00
Vector3.h LibGfx: Add Vector3 and Matrix4x4 classes 2020-04-18 12:28:54 +02:00