1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:38:10 +00:00
serenity/Userland/Applications/PixelPaint
Andreas Kling 3e4b48f68e PixelPaint: Avoid unnecessary temporary layer bitmaps during PP load
When opening a PP file, we were creating a layer first with an empty
bitmap, and then replacing it with the loaded bitmap from the file.

This patch reorders things so we never create the empty bitmap in
between, saving time and avoiding a memory spike.
2021-06-15 10:05:50 +02:00
..
BrushTool.cpp PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
BrushTool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
BucketTool.cpp PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
BucketTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt PixelPaint: Add a Selection class (ImageEditor has a Selection) 2021-06-14 18:25:17 +02:00
CreateNewImageDialog.cpp PixelPaint: Increase default size of new images from 1x1 to 480x360 2021-06-15 10:05:16 +02:00
CreateNewImageDialog.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
CreateNewLayerDialog.cpp PixelPaint: Don't allow creating empty layers or images 2021-06-15 10:05:16 +02:00
CreateNewLayerDialog.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
EllipseTool.cpp PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
EllipseTool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
EraseTool.cpp PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
EraseTool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
FilterParams.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
Image.cpp PixelPaint: Avoid unnecessary temporary layer bitmaps during PP load 2021-06-15 10:05:50 +02:00
Image.h PixelPaint: Display an error message if opening a file fails 2021-06-15 10:05:16 +02:00
ImageEditor.cpp PixelPaint: No need to pass ImageEditor& to Selection::paint() 2021-06-15 01:16:34 +02:00
ImageEditor.h PixelPaint: Add a Selection class (ImageEditor has a Selection) 2021-06-14 18:25:17 +02:00
Layer.cpp PixelPaint: Add copy action (copies the selection from active layer) 2021-06-14 18:25:17 +02:00
Layer.h PixelPaint: Add copy action (copies the selection from active layer) 2021-06-14 18:25:17 +02:00
LayerListWidget.cpp PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
LayerListWidget.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
LayerPropertiesWidget.cpp PixelPaint: Convert main UI to GML :^) 2021-05-16 01:11:56 +02:00
LayerPropertiesWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LineTool.cpp PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
LineTool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
main.cpp PixelPaint: Display an error message if opening a file fails 2021-06-15 10:05:16 +02:00
MoveTool.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
MoveTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PaletteWidget.cpp PixelPaint: Tweak height of palette widget 2021-05-16 01:11:56 +02:00
PaletteWidget.h PixelPaint: Convert main UI to GML :^) 2021-05-16 01:11:56 +02:00
PenTool.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PenTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PickerTool.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PickerTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PixelPaintWindow.gml PixelPaint: Wrap the layer list in a GUI::GroupBox and tweak width 2021-05-16 01:11:56 +02:00
RectangleSelectTool.cpp PixelPaint: Always animate marching ants during interactive selection 2021-06-14 18:25:17 +02:00
RectangleSelectTool.h PixelPaint: Draw the current editor selection as marching ants 2021-06-14 18:25:17 +02:00
RectangleTool.cpp PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
RectangleTool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
Selection.cpp PixelPaint: No need to pass ImageEditor& to Selection::paint() 2021-06-15 01:16:34 +02:00
Selection.h PixelPaint: No need to pass ImageEditor& to Selection::paint() 2021-06-15 01:16:34 +02:00
SprayTool.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SprayTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Tool.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Tool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
ToolboxWidget.cpp PixelPaint: Add a new "Rectangle Select" tool :^) 2021-06-14 18:25:17 +02:00
ToolboxWidget.h PixelPaint: Use GUI::Toolbar inside the toolbox widget 2021-05-16 01:11:56 +02:00
ToolPropertiesWidget.cpp PixelPaint: Convert main UI to GML :^) 2021-05-16 01:11:56 +02:00
ToolPropertiesWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ZoomTool.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ZoomTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00