Files
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
..