• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
High CPU during automatic scrolling
#4
Once a chord pro file is rendered, there is just a cached image per page. The images are not re-rendered unless you change the font size or some other property that requires a re-render (pinch zooming changes the font size). So this cost of redrawing the page should be no higher than using a PDF or image file, as the pages of the chord pro file are still just cached in memory as images. One thing I should mention is that, with text/chord pro files, if I processed every small delta with a pinch zoom and re-rendered the file each time, that would overwhelm the cpu, so I instead only process deltas that cross a certain threshold, so that's why there isn't a smooth zoom effect with chord pro files. Also, due to the dynamic nature of chord pro files where the entire layout of every page changes if you change the font size or other text display settings, I can't cache much that would speed up the rendering. PDFs are faster to process in this regard, as all of the page sizes are fixed and they usually just have images stored in the pages, or vector graphics.

Mike
Reply


Messages In This Thread
High CPU during automatic scrolling - by JoBo - 08-12-2024, 11:03 PM
RE: High CPU during automatic scrolling - by JoBo - 08-13-2024, 04:01 AM
RE: High CPU during automatic scrolling - by Zubersoft - 08-13-2024, 04:36 AM
RE: High CPU during automatic scrolling - by JoBo - 08-13-2024, 05:02 AM



Users browsing this thread:
3 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.