-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fb: cfb: Introducing a command structure for framebuffer operations
Store operations for the frame buffer as commands, Change to a method that draws at once and transfers at finalize. Commands are managed in a linked list and processed at the finalization. The behavior of drawing APIs does not change. It's just that the timing at which drawing is done to memory is internally delayed a little. Typical usage stores command in the buffer. The behavior of existing drawing APIs has been changed to store commands in this buffer. For this reason, an argument for buffer specification is added to the initialization function cfb_display_init. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
- Loading branch information
Showing
12 changed files
with
1,212 additions
and
196 deletions.
There are no files selected for viewing
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
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
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
3 changes: 3 additions & 0 deletions
3
samples/subsys/display/cfb_custom_font/boards/longan_nano.conf
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
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 |
Oops, something went wrong.