Skip to content

fix(sim): use QImage for color LCD rendering to fix 100% CPU (#7233)#7249

Draft
raphaelcoeffic wants to merge 1 commit into2.12from
fix-7233
Draft

fix(sim): use QImage for color LCD rendering to fix 100% CPU (#7233)#7249
raphaelcoeffic wants to merge 1 commit into2.12from
fix-7233

Conversation

@raphaelcoeffic
Copy link
Copy Markdown
Member

Replace pixel-by-pixel QPainter calls (384K iterations for 800x480) with a single QImage::Format_RGB16 drawImage() call. The LCD buffer is already native RGB565 so no conversion is needed.

Fixes #7233

Replace pixel-by-pixel QPainter calls (384K iterations for 800x480) with
a single QImage::Format_RGB16 drawImage() call. The LCD buffer is already
native RGB565 so no conversion is needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant