You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I actually use your XorTroll/aarch64-switch-rs demo as base for a joy homebrew and it works very well.
Today, I retried the examples/graphics/gpu-simple demo before migrate my code to this more recent version of the library and the fps is very slow.
I tried this simple loop and I have ~4 fps.
letmut index = 0;loop{
surface.start()?;
surface.clear(Black.into());
surface.draw_font_text(&font, index.to_string(),White.into(),25.0,10,10,true);
index += 1;
surface.end()?;}
I have updated my toolchain to the latest nightly to support const_fn_fn_ptr_basics feature.
With the old demo in XorTroll/aarch64-switch-rs and the same code, I have 30 fps.
I can't compile the old demo with the latest nightly so I use an old nightly (2020-08-20) and it works very well.
Have you an idea?
Furthermore, the binary size is ~550kb for the old demo and ~1.50mb now.
It's normal?
Thank you very much for your help.
The text was updated successfully, but these errors were encountered:
Hello,
I actually use your
XorTroll/aarch64-switch-rs
demo as base for a joy homebrew and it works very well.Today, I retried the
examples/graphics/gpu-simple
demo before migrate my code to this more recent version of the library and the fps is very slow.I tried this simple loop and I have ~4 fps.
I have updated my toolchain to the latest nightly to support
const_fn_fn_ptr_basics
feature.With the old demo in
XorTroll/aarch64-switch-rs
and the same code, I have 30 fps.I can't compile the old demo with the latest nightly so I use an old nightly (2020-08-20) and it works very well.
Have you an idea?
Furthermore, the binary size is ~550kb for the old demo and ~1.50mb now.
It's normal?
Thank you very much for your help.
The text was updated successfully, but these errors were encountered: