d4yvector and Liu
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
Liu
2e4cab4e30
style(util): add the const keyword to decorate parameter
2019-12-01 19:52:31 +08:00
Liu
20abb19ce3
fix(util): the preset dict types are not exported correctly
2019-12-01 19:44:30 +08:00
Liu
085c15083d
style: clear compiler warnings
2019-10-07 14:14:42 +08:00
Liu
68696831c4
fix(css): setting font style parser's style_handler doesn't work
2019-10-07 14:14:41 +08:00
Liu
811585bdcd
feat(gui): add Widget_CollectReferences()
2019-10-07 14:14:40 +08:00
Liu
2d7d1ee6fd
feat(gui): add Widget_Each()
2019-10-07 14:14:39 +08:00
Liu
f36d071bf3
feat: add rounded border rendering ( #174 )
2019-10-07 14:14:36 +08:00
Liu Chao
f9ecdb7fcf
refactor: make config.h private
2019-10-07 14:14:31 +08:00
Liu
de40c7c513
feat: add LCUI_GetVersion()
2019-10-07 14:14:29 +08:00
Liu Chao
621d91e33e
build: fix make distcheck failed
2019-10-07 14:14:26 +08:00
Liu Chao
6e1e029166
build: update version info
2019-10-07 14:14:25 +08:00
qiqiworld
1107f911e2
fix(ime): composition window position problem ( #36 , #175 )
2019-10-03 15:23:33 +08:00
Liu
568c915a8e
feat(css): make CSSFontStyle_* functions public
2019-10-03 15:22:50 +08:00
Liu
e246843e22
feat(gui): add canvas widget
2019-10-03 15:22:50 +08:00
Liu
173b92fc89
feat(logger): support setting logging level
2019-10-03 15:21:40 +08:00
Liu
4f6a01c29f
feat(builder): tag name can be an existing widget type name
2019-10-03 15:21:33 +08:00
toluschr
113af6a05b
feat: add include/LCUI.h file ( #173 )
...
* 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"
2019-10-03 15:21:31 +08:00
Liu
7afb810b50
refactor(types): add LCUI_BorderLine struct
2019-10-03 15:21:30 +08:00
Liu
d8075d974d
feat(graph): add LCUI_OverPixel()
2019-10-03 15:21:29 +08:00
Liu
5a5ba8cad3
fix: conflict with C++ "operator" keyword
2019-06-19 23:34:29 +08:00
Liu
512706e9b0
feat(textedit): add TextEdit_GetProperty()
2019-06-17 21:57:49 +08:00
Liu Chao
7dd08d7e43
refactor(timer): add TimerCallback
2019-06-17 21:57:48 +08:00
Liu
5163363b4f
feat(gui): add Widget_SetStyleString()
2019-06-17 21:57:48 +08:00
Liu
c9d8ded81e
feat(gui): add TextEdit_BindProperty()
2019-06-17 21:57:47 +08:00
Liu
0d3fb6803f
feat(gui): add Widget_BindProperty()
2019-06-17 21:57:47 +08:00
Liu
02714bf8fc
feat(gui): add Widget_SetText()
2019-06-17 21:57:47 +08:00
Liu
13465c7dcd
feat(util): add Object_ToString()
2019-06-17 21:57:47 +08:00
Liu
241c6522f7
feat(util): add object wrapper and operation set
2019-06-17 21:57:46 +08:00
Liu
7c0aa671c3
refactor(textlayer): remove canvas
2019-03-18 21:46:33 +08:00
Liu
e53b42c84a
chore: update version
2019-03-10 14:32:31 +08:00
Liu
8de4e71a78
fix(gui): TextEdit should reset the caret position after blur
2019-03-09 21:13:13 +08:00
Liu
51eef6837f
fix(gui): TextEdit_SetTextW() does not clear the previous content
2019-03-09 15:25:50 +08:00
Liu
84eff6d8e8
style: clear compiler warnings
2019-03-04 22:48:41 +08:00
Liu
e9dbcea70f
perf(gui): update the sort method of the widget list
2019-03-04 22:48:38 +08:00
Liu
1df08b6388
perf(renderer): improve the selection of the rendering target
2019-03-04 22:48:38 +08:00
Liu
f715a08337
feat: add LCUI_Profile for profiling performance
2019-03-04 22:48:37 +08:00
Liu
f466deea8b
feat(gui): add Widget_SetHashList()
2019-03-04 22:48:37 +08:00
Liu
f12e00b93e
fix(builder): widget should be initialized before appending
2019-03-04 22:48:36 +08:00
Liu
4cd6fdc50f
feat(gui): add rule for first update visible children
2019-03-04 22:48:35 +08:00
Liu
93049c4267
feat(gui): add rule for allow widget updates only when visible
2019-03-04 22:48:35 +08:00
Liu
ec5e0d626d
feat(gui): add rule for limit the number of children rendered
2019-03-04 22:48:34 +08:00
Liu
50cc6b22fa
feat(gui): add rule for cache children style
2019-03-04 22:48:34 +08:00
Liu
ebf843fccd
feat(util): add strhash()
2019-03-04 22:48:33 +08:00
Liu
bdd1d1c5ec
feat(gui): add support for custom widget update rules
2019-03-04 22:48:33 +08:00
Liu
3790fbd287
perf(gui): reduce memory usage for widget style sheets
2019-03-04 22:48:33 +08:00
Liu
9cc2957da7
perf(css): change the stylesheet store struct to reduce memory usage
2019-03-04 22:48:32 +08:00
Liu
f611936490
perf(gui): save classes and status with strlist
2019-03-04 22:48:31 +08:00
Liu
c60c26c307
style(util): remove unused functions
2019-03-04 22:48:30 +08:00
Liu
c843df1201
feat(util): add strpool
2019-03-04 22:48:30 +08:00