Skip to content

Conversation

@soburi
Copy link
Member

@soburi soburi commented Feb 8, 2025

Change the arguments of cfb_invert_area, cfb_print, and cfb_draw_(point|line|rect), which used unsigned integers to specify coordinates to signed integers.

This is because coordinate calculations are usually based on real numbers, so it is difficult to use unless negative numbers are accepted.
We clip drawings outside the drawable area on the implementation side.

@soburi soburi mentioned this pull request Feb 8, 2025
9 tasks
@github-actions
Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Apr 10, 2025
@github-actions github-actions bot closed this Apr 24, 2025
Since there is no way to run this test with `harness: display` configuration, we will change it so that execution can be controlled by specifying a fixture. This method has already been proven with `tests/drivers/display/display_read_write`. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Make it allow to run the tests on `native_sim/native/64` platform. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
There are several issues to be fixed. - cfb.c: draw_char_htmono It appears that some parts of the process have been ported from `draw_char_vtmono`, but the loop is different, causing the calculations to be incorrect. - cfb.c: cfb_framebuffer_finalize The inversion condition is "XOR-ish". The original that before de9dd98 is correct. - cfb:c cfb_invert_area - utils.c display_pixel The implementation for HTILED was not. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
@soburi soburi reopened this Sep 21, 2025
Change the arguments of `cfb_invert_area`, `cfb_print`, and `cfb_draw_(point|line|rect)`, which used unsigned integers to specify coordinates to signed integers. This is because coordinate calculations are usually based on real numbers, so it is difficult to use unless negative numbers are accepted. We clip drawings outside the drawable area on the implementation side. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
@soburi soburi removed the Stale label Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant