JoshMarler / react-juce

Write cross-platform native apps with React.js and JUCE
https://docs.react-juce.dev
MIT License
764 stars 79 forks source link

Fix a bug with canvas resize performance in the standard non-stateful #251

Closed JoshMarler closed 3 years ago

JoshMarler commented 3 years ago

case.

We should probably investigate our "stateful" canvas component after
this to ensure we don't have any giant performance holes. Worth
noting that juce::Image::rescaled is a pretty slow thing should we
rely on it again.
JoshMarler commented 3 years ago

@nick-thompson, rebased and pushed up your suggestions. Think this should be good to go

JoshMarler commented 3 years ago

FYI performance in our test case under a debug build is still pretty rough. I'll add an issue for this.

nick-thompson commented 3 years ago

Thanks @JoshMarler! Yea, still plenty of work to do ;) But this is a huge win already