1
0
mirror of https://github.com/lxsang/Diya-API.git synced 2024-12-27 20:08:22 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
Dany LE
f61e17de9c rendering improvement
Some checks reported errors
gitea-sync/Diya-API/pipeline/head Something is wrong with the build of this commit
2022-08-16 00:59:35 +02:00
Dany LE
3c00e1d181 refactory code, support inline style, improve text rendering 2022-08-15 12:28:09 +02:00
Dany LE
0b7396242a Refactor code on System clock 2022-08-14 22:49:36 +02:00
Dany LE
74ce2b0f37 Supporting read system settings from file 2022-08-14 18:13:23 +02:00
Dany LE
142f14e936 Rendering context now use multiple texture units to boost performance (on RPI zero, the performance gain is more than 10 FPS ) 2022-08-14 15:42:59 +02:00
Dany LE
26368c37ab Rendering improvement: render a limited number of nodes (based on FPS setting) on the back buffer each iterration.
The back buffer is only swapped when all nodes are rendered
2022-08-14 01:38:22 +02:00
Dany LE
2e4c73f8cf API improvements:
- fix: TF update bug on scale
- fix: Use local coordiate for Polygon points
- Add timer node for basic animation
- Dirty processing nodes are monitored by rootnode
- refactory code
2022-08-12 22:19:54 +02:00
Dany LE
2ee103191c OPENGL Rendering Performance improvement 2022-08-12 16:37:53 +02:00
Dany LE
664e2169f3 Refactor code + use primitive for 2D matrix transformation 2022-08-10 22:53:14 +02:00
Dany LE
9442050825 API improvement
- Refactor code
- Texture performance improvement
2022-08-10 19:55:49 +02:00
Dany LE
6f5c6b8551 allow get texture from screen, VM bug on device 2022-08-09 03:14:23 +02:00
Dany LE
007d99804f Cache current stylesheet object in each node to gain FPS 2022-08-07 21:08:29 +02:00
Dany LE
c249c2e381 Rework on Graphic styling 2022-08-07 20:43:16 +02:00
Dany LE
b8257f7011 refactory code 2022-08-07 18:15:57 +02:00
Dany LE
5915d86219 Change coordinate to top down, improvement on label rendering 2022-08-06 03:11:36 +02:00
Dany LE
d70df41681 wip: styling support to graphic node 2022-03-23 00:52:15 +01:00
DanyLE
42aeb49947 Add assets manager, add support for application launching 2022-03-21 18:03:15 +01:00
Dany LE
eba462b9c0 Add bootstrap font icons support 2022-03-21 01:45:21 +01:00
Dany LE
ac764da076 WIP: add support for input events 2022-03-19 02:18:29 +01:00
Dany LE
89c5e04d36 WIP: draw ellipse and circle 2022-03-16 01:32:01 +01:00
DanyLE
fcc7b13d28 Fix memory leak bug 2022-03-15 19:11:19 +01:00
DanyLE
94bfc7f6f0 OpenGL: recalculate vertices only when changed.
This allows to greatly improve rendering performance
2022-03-06 19:50:19 +01:00
DanyLE
bd9d406c85 Text rendering is greatly improved 2022-03-06 18:33:10 +01:00
Dany LE
8cb2cb543a Text rendering iss working now 2022-03-04 20:28:38 +01:00
Dany LE
d80f31bd42 WIP: display Freetype font in openGL 2022-03-03 19:19:40 +01:00
Dany LE
6808a3aa0b Add basic graph nodes and support basic transformation 2022-03-02 20:11:01 +01:00
Dany LE
8a59d8cba9 add basic primitive shapes (contd.) 2022-03-01 22:58:58 +01:00