- Add API for retrieving and modifying global settings
- Utilize this API in the codebase
- Add event for when global settings are changed
- Add event handler for updating the frame rate cap
- Add event handler to notify paint flashing changes
- Add unit tests
Fixes#192
Co-authored-by: James Duong <jduong@dremio.com>
feat: add settings api (#191) (#211) (#212)
Restore and re-implement LCUIDisplay_EnablePaintFlashing.
Fixes#191
* 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>
* Fix typo in the "building" section
* include LCUI_Build.h in LCUI/LCUI.h to avoid lots of errors I had when not having the correct include order
* changed: include headers to integrate the changes by lc-soft
* added: newline at end of "include/LCUI.h"