Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Jari Pennanen
Jari Pennanen
@Ciantic@twit.social  ·  activity timestamp 2 months ago

If I had to guess, a lot of memory usage for GPU based renderers is fonts, and retaining the glyphs as bitmaps and vectors in memory for multiple sizes.

  • Copy link
  • Flag this post
  • Block
Jari Pennanen
Jari Pennanen
@Ciantic@twit.social replied  ·  activity timestamp 2 months ago

If I had to guess, a lot of memory usage for GPU based renderers is fonts, and retaining the glyphs as bitmaps and vectors in memory for multiple sizes.

  • Copy link
  • Flag this comment
  • Block
Jari Pennanen
Jari Pennanen
@Ciantic@twit.social replied  ·  activity timestamp 2 months ago

Winner is... QT! 50MB of memory with two textboxes and labels.

I bet this is because QT uses shared libraries and can share a lot of things with #KDE I'm running.

I used this: https://github.com/KDAB/cxx-qt not sure how ergonimic it is with Rust yet, but it runs.

sudo dnf install qt6-qtbase qt6-qtbase-gui qt6-qtbase-devel qt6-qtdeclarative-devel

cargo build --release

#QT

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct