Files
LCUI/test
d4yvectorandLiu d8583337fb perf: add OpenMP support for widget rendering (#118) (#189)
* perf: Add OpenMP support for widget rendering (#118)

- Modified src/Makefile.am and added compiler option.
- Modified src/display.c and added preprocessor directives for OpenMP.
- To check whether multithreading is possible, the string is output to standard output. However, I will remove it before merging.

* test: add rendering performance test

* build: add OpenMP configure option

* refactor: change include path of `config.h` and remove printf()

* perf: split the dirty rectangles into four parts for rendering

* fix(linux): missing surface size access method

* refactor(display): update dirty rectangle collection method

* test: update test_render.c

* build: add vs project file for test render

* fix(display): Convert `rects` list to array and follow a "Canonical Loop Form" defined in OpenMP

* refactor: Change where variable i is initialized

* fix: Widget_GenerateHash() not work

* test: improved widget update performance

Co-authored-by: Liu <lc-soft@live.cn>
2020-01-19 17:48:21 +08:00
..
2019-06-17 21:57:48 +08:00
2013-03-09 23:30:09 +08:00
2018-03-17 20:09:29 +08:00
2017-06-07 22:20:43 +08:00
2016-01-18 23:05:53 +08:00
2017-06-07 22:20:43 +08:00
2017-12-04 23:00:56 +08:00
2019-03-04 22:48:40 +08:00
2018-03-19 20:40:36 +08:00
2019-03-04 22:48:33 +08:00
2019-03-04 22:48:30 +08:00
2019-06-17 21:57:48 +08:00
2018-03-17 20:09:29 +08:00
2018-03-17 20:09:29 +08:00
2019-10-07 14:14:32 +08:00

有的测试程序使用了外部图片文件,由于使用make命令生成出来的可执行文件在 .libs 文件夹里,改变了程序的位置,可能会导致程序找不到图片文件,需要手动对它进行重新编译,将生成的可执行文件放至源码文件所在目录。