Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add basic support for efficient frame buffer graphics #3292

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

TychoVrahe
Copy link
Contributor

@TychoVrahe TychoVrahe commented Sep 20, 2023

Adjusts the dma2d operations to work with internal framebufffer, some basic rendering functions are modified to be more efficient with FB: bar/rect, rect_rounded, icon, text.

Bar/Rect rendering including the rounded variants are rewritten to rust. (bar implementation in C stays too, as its used by prodtest which does not use Rust yet)

@TychoVrahe TychoVrahe self-assigned this Sep 20, 2023
@TychoVrahe TychoVrahe force-pushed the tychovrahe/frambuffer/graphics branch 2 times, most recently from 648e1b5 to b13ebdf Compare September 25, 2023 20:21
@TychoVrahe TychoVrahe marked this pull request as ready for review September 26, 2023 06:24
@TychoVrahe TychoVrahe requested a review from prusnak as a code owner September 26, 2023 06:24
@Hannsek
Copy link
Contributor

Hannsek commented Oct 2, 2023

@TychoVrahe Who can review that?

@TychoVrahe
Copy link
Contributor Author

@mmilata perhaps?

@mmilata mmilata self-requested a review October 2, 2023 15:09
core/embed/lib/colors.c Show resolved Hide resolved
core/embed/rust/src/ui/display/mod.rs Outdated Show resolved Hide resolved
core/embed/rust/src/ui/display/mod.rs Outdated Show resolved Hide resolved
core/embed/trezorhal/stm32f4/displays/ltdc.c Outdated Show resolved Hide resolved
core/embed/lib/display_interface.h Outdated Show resolved Hide resolved
core/embed/rust/src/trezorhal/display.rs Outdated Show resolved Hide resolved
core/embed/rust/src/trezorhal/display.rs Outdated Show resolved Hide resolved
core/embed/rust/src/trezorhal/display.rs Outdated Show resolved Hide resolved
@TychoVrahe TychoVrahe force-pushed the tychovrahe/frambuffer/graphics branch from c37f89d to cab0be8 Compare October 5, 2023 06:04
@TychoVrahe TychoVrahe force-pushed the tychovrahe/frambuffer/graphics branch from cab0be8 to 3594b0a Compare October 5, 2023 06:16
@TychoVrahe TychoVrahe merged commit df42c99 into master Oct 10, 2023
8 checks passed
@TychoVrahe TychoVrahe deleted the tychovrahe/frambuffer/graphics branch October 10, 2023 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants