mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-25 10:43:54 +08:00
feat(benchmark): increase the weights for rotation and scaling(zoom) … (#4620)
This commit is contained in:
parent
0b66468f2f
commit
8969415220
@ -41,5 +41,8 @@ In the first section of the table, "Slow but common cases", those cases are disp
|
||||
|
||||
Below this in the "All cases section" all the results are shown. The < 10 FPS results are shown with red, the >= 10 but < 20 FPS values are displayed with orange.
|
||||
|
||||
|
||||
![LVGL benchmark result summary](screenshot2.png)
|
||||
|
||||
|
||||
|
||||
**NOTE**: Compared to the past, the use of rotation and zoom(scaling) in GUI applications has become increasingly common. Therefore, starting from LVGL9, we have assigned a higher priority to zoom(scaling) and rotation operations.
|
||||
|
@ -591,14 +591,14 @@ static scene_dsc_t scenes[] = {
|
||||
{.name = "Image ARGB recolor", .weight = 20, .create_cb = img_argb_recolor_cb},
|
||||
{.name = "Image indexed recolor", .weight = 3, .create_cb = img_index_recolor_cb},
|
||||
|
||||
{.name = "Image RGB rotate", .weight = 3, .create_cb = img_rgb_rot_cb},
|
||||
{.name = "Image RGB rotate anti aliased", .weight = 3, .create_cb = img_rgb_rot_aa_cb},
|
||||
{.name = "Image ARGB rotate", .weight = 5, .create_cb = img_argb_rot_cb},
|
||||
{.name = "Image ARGB rotate anti aliased", .weight = 5, .create_cb = img_argb_rot_aa_cb},
|
||||
{.name = "Image RGB zoom", .weight = 3, .create_cb = img_rgb_zoom_cb},
|
||||
{.name = "Image RGB zoom anti aliased", .weight = 3, .create_cb = img_rgb_zoom_aa_cb},
|
||||
{.name = "Image ARGB zoom", .weight = 5, .create_cb = img_argb_zoom_cb},
|
||||
{.name = "Image ARGB zoom anti aliased", .weight = 5, .create_cb = img_argb_zoom_aa_cb},
|
||||
{.name = "Image RGB rotate", .weight = 5, .create_cb = img_rgb_rot_cb},
|
||||
{.name = "Image RGB rotate anti aliased", .weight = 10, .create_cb = img_rgb_rot_aa_cb},
|
||||
{.name = "Image ARGB rotate", .weight = 10, .create_cb = img_argb_rot_cb},
|
||||
{.name = "Image ARGB rotate anti aliased", .weight = 15, .create_cb = img_argb_rot_aa_cb},
|
||||
{.name = "Image RGB zoom", .weight = 5, .create_cb = img_rgb_zoom_cb},
|
||||
{.name = "Image RGB zoom anti aliased", .weight = 10, .create_cb = img_rgb_zoom_aa_cb},
|
||||
{.name = "Image ARGB zoom", .weight = 10, .create_cb = img_argb_zoom_cb},
|
||||
{.name = "Image ARGB zoom anti aliased", .weight = 15, .create_cb = img_argb_zoom_aa_cb},
|
||||
|
||||
{.name = "Text small", .weight = 20, .create_cb = txt_small_cb},
|
||||
{.name = "Text medium", .weight = 30, .create_cb = txt_medium_cb},
|
||||
|
@ -43,7 +43,12 @@ typedef enum {
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
**********************/
|
||||
/** Run all test scenes in the LVGL benchmark with a given mode
|
||||
*/
|
||||
void lv_demo_benchmark(lv_demo_benchmark_mode_t mode);
|
||||
|
||||
/** Run a specific test scene in the LVGL benchmark with a given mode
|
||||
*/
|
||||
void lv_demo_benchmark_run_scene(lv_demo_benchmark_mode_t mode, uint16_t scene_no);
|
||||
|
||||
/**********************
|
||||
|
Loading…
Reference in New Issue
Block a user