BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
09f8e25f
Commit
09f8e25f
authored
Aug 08, 2017
by
Gabor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LV_VDB_DOUBLE: tested on STM32F429 Discovery
parent
d9147ae2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
lv_app_benchmark.c
lv_appx/lv_app_benchmark.c
+8
-0
lv_conf_templ.h
lv_conf_templ.h
+1
-1
lv_draw_vbasic.c
lv_draw/lv_draw_vbasic.c
+1
-3
No files found.
lv_appx/lv_app_benchmark.c
View file @
09f8e25f
...
...
@@ -146,6 +146,14 @@ const lv_app_dsc_t * lv_app_benchmark_init(void)
static
void
my_app_run
(
lv_app_inst_t
*
app
,
void
*
conf
)
{
/*Initialize the application*/
my_app_data_t
*
ad
=
app
->
app_data
;
ad
->
opa
=
0
;
ad
->
recolor
=
0
;
ad
->
shdw
=
0
;
ad
->
upscalse
=
0
;
ad
->
wp
=
0
;
}
/**
...
...
lv_conf_templ.h
View file @
09f8e25f
...
...
@@ -28,7 +28,7 @@
#if LV_VDB_SIZE
/* Double virtual buffering
* One for rendering another to transfer former rendered image to frame buffer in the background*/
#define LV_VDB_DOUBLE
1
#define LV_VDB_DOUBLE
0
#endif
#define LV_REFR_PERIOD 40 /*Screen refresh period in milliseconds*/
...
...
lv_draw/lv_draw_vbasic.c
View file @
09f8e25f
...
...
@@ -123,8 +123,7 @@ void lv_vfill(const area_t * cords_p, const area_t * mask_p,
cord_t
map_width
=
area_get_width
(
&
vdb_rel_a
);
if
(
color_map
[
0
].
full
!=
color
.
full
||
last_width
!=
map_width
)
{
uint16_t
i
;
for
(
i
=
0
;
i
<
map_width
;
i
++
)
{
for
(
i
=
0
;
i
<
map_width
;
i
++
)
{
color_map
[
i
].
full
=
color
.
full
;
}
...
...
@@ -133,7 +132,6 @@ void lv_vfill(const area_t * cords_p, const area_t * mask_p,
cord_t
row
;
for
(
row
=
vdb_rel_a
.
y1
;
row
<=
vdb_rel_a
.
y2
;
row
++
)
{
disp_color_cpy
(
&
vdb_buf_tmp
[
vdb_rel_a
.
x1
],
color_map
,
map_width
,
opa
);
vdb_buf_tmp
+=
vdb_width
;
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment