Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

[Animation] Optimize Image Loading and Rendering #19

Open
dd86k opened this issue Mar 2, 2018 · 0 comments
Open

[Animation] Optimize Image Loading and Rendering #19

dd86k opened this issue Mar 2, 2018 · 0 comments
Assignees

Comments

@dd86k
Copy link
Owner

dd86k commented Mar 2, 2018

At the moment, FuckingClippy uses a simple system of loading an image and sliding it into a PictureBox.Image, which is the worst-case memory usage. The PictureBox.Image field was never meant for animation.

FuckingClippy needs an upgrade, which includes:

  • A static FastImage (to be soon programmed) object in memory
    • Avoids making new Image objects every time an Image is loaded
  • A custom rendering Control (Draw method) which paints the FastImage
  • Call GC once at the end of the animation
@dd86k dd86k self-assigned this Mar 2, 2018
@dd86k dd86k changed the title Optimize Image Loading and Rendering [Animation] Optimize Image Loading and Rendering Mar 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant