-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
fb: cfb: Support memory constrainted system by partial frame transferring #72204
Closed
soburi
wants to merge
19
commits into
zephyrproject-rtos:main
from
soburi:cfb_partial_frame_transfer
Closed
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
48e3d0e
fb: cfb: Remove the restriction for non-x8 heights fonts
soburi 426c794
tests: subsys: display: cfb: Added test for font heights non-x8
soburi aa159e4
fb: cfb: Use signed-integer for API that specifies coordinations
soburi dd90916
fb: cfb: Remove unused argument from font API
soburi cd5e728
fb: cfb: Supporting multiple display
soburi b5954be
fb: cfb_shell: Support display selecting
soburi dc2c64a
doc: releases: migration-guide: 3.7: list CFB API change
soburi adbe949
fb: cfb: Delete ppt field of cfb_framebuffer struct
soburi 4f73129
fb: cfb: Improved behavior when a character not in the font
soburi 2bf0e7a
fb: cfb: Support color display
soburi 674da20
samples: subsys: display: Update CFB samples for supporting color
soburi 5206a39
test: subsys: display: cfb: Add test for color display
soburi 6d9d6d1
fb: cfb_shell: Add command for color display supporting
soburi d3b64e9
fb: cfb: Remove unused config
soburi 1fd9a94
fb: cfb: Changed library name to Compact framebuffer
soburi ca6abc6
fb: cfb_shell: Update README.rst
soburi f149062
update comments
soburi b6b88bf
fb: cfb: Support partial drawing
soburi d37422c
fb: cfb: Introducing a command structure for framebuffer operations
soburi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (c) 2024 TOKITA Hiroshi | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
mainmenu "CFB Sample Application" | ||
|
||
config CFB_SAMPLE_TRANSFER_BUFFER_SIZE | ||
int "Buffer size for image transfer" | ||
default 0 | ||
help | ||
Dynamically allocate display object if set 0 to this option, | ||
|
||
config CFB_SAMPLE_COMMAND_BUFFER_SIZE | ||
int "Buffer size for store commands" | ||
default 0 | ||
|
||
source "Kconfig.zephyr" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CONFIG_HEAP_MEM_POOL_SIZE=4096 | ||
CONFIG_CFB_SAMPLE_TRANSFER_BUFFER_SIZE=6400 | ||
CONFIG_CFB_SAMPLE_COMMAND_BUFFER_SIZE=128 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CONFIG_STDOUT_CONSOLE=n | ||
CONFIG_HEAP_MEM_POOL_SIZE=1244160 | ||
CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO01=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CONFIG_STDOUT_CONSOLE=n | ||
CONFIG_HEAP_MEM_POOL_SIZE=1244160 | ||
CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO01=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ CONFIG_DISPLAY=y | |
CONFIG_LOG=y | ||
|
||
CONFIG_CFB_LOG_LEVEL_DBG=y | ||
CONFIG_CHARACTER_FRAMEBUFFER=y | ||
CONFIG_CFB=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds a bit random, maybe pick some more recognizable number?