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

99 Commits

Author SHA1 Message Date
Dany LE
79e42786e8
Update Jenkinsfile
Some checks failed
gitea-sync/Diya-API/pipeline/head There was a failure building this commit
2022-09-26 10:52:20 +02:00
Dany LE
cf89a8ca59
Update Jenkinsfile
Some checks failed
gitea-sync/Diya-API/pipeline/head There was a failure building this commit
2022-09-26 10:44:52 +02:00
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
681d8951b7 remove unused selectors 2022-08-14 22:38:06 +02:00
Dany LE
0e78e6769d Meta node should not visible 2022-08-14 22:22:39 +02:00
Dany LE
8978c06efa Initialize global vars 2022-08-14 18:33:19 +02:00
Dany LE
74ce2b0f37 Supporting read system settings from file 2022-08-14 18:13:23 +02:00
Dany LE
2d09a8501a Refactory code 2022-08-14 16:52:22 +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
677145f1a1 Add missing code of the previous commit 2022-08-14 01:39:09 +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
c7af75550f code refactory on rendering context 2022-08-13 23:48:23 +02:00
Dany LE
c1f2de2896 refactory code 2022-08-13 15:55:51 +02:00
Dany LE
766ae23f8e fix: incorrect line rendering 2022-08-13 01:47:15 +02:00
Dany LE
f3ef0c1aa0 fix: tf global to local problem on 2D node, add LoadingBar widget, and refactor code 2022-08-13 01:37:42 +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
a3d00d52ef Allow to fallback to VM plugins for image handling if SDL_image lib doesnt exist 2022-08-12 12:02:49 +02:00
Dany LE
133ddb0380 Fix: incorrect index in buffer converting 2022-08-10 23:05:25 +02:00
Dany LE
598e252b9e fix: add missing extension 2022-08-10 23:00:30 +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
141bf2e226 use SDL2_image for texture loading 2022-08-09 00:22:18 +02:00
Dany LE
676113a697 Add global display object that refers to current SDL display 2022-08-08 16:35:04 +02:00
Dany LE
4a95c7d6df remove dependecy on OSSDL2Driver 2022-08-08 13:11:25 +02:00
Dany LE
7a7665430d Remove dependencies on OSSDLDriver 2022-08-08 13:03:46 +02:00
Dany LE
8b6a7927f4 Correct openGL transparent color display problem, stylesheet now allows style inheritance 2022-08-08 00:12:54 +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
6d7ab2dcd6 Merge b8257f7011 2022-08-07 18:17:07 +02:00
Dany LE
b8257f7011 refactory code 2022-08-07 18:15:57 +02:00
Dany LE
fcaadbc185 Update example 2022-08-07 11:37:08 +02:00
Dany LE
4467f61f32 update example 2022-08-07 11:35:34 +02:00
Dany LE
396fd9909d
Create Jenkinsfile 2022-08-06 23:48:46 +02:00
Dany LE
5915d86219 Change coordinate to top down, improvement on label rendering 2022-08-06 03:11:36 +02:00
Dany LE
a8b89f19c5 allow to set system resolution using the DIYA_RES environment variable 2022-05-23 12:26:46 +02:00
Dany LE
5058d62876 wip: rework on text rendering (performance is still degraded) 2022-03-24 22:48:41 +01:00
Dany LE
d70df41681 wip: styling support to graphic node 2022-03-23 00:52:15 +01:00
Dany LE
e2adc4f733 Clean up 2022-03-22 21:29:36 +01:00
Dany LE
e99500acca WIP: widgets implementation 2022-03-21 22:39:52 +01:00
DanyLE
91cfa95ef7 minor changes 2022-03-21 19:13:11 +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
e2a8bc046c improve font rendering in OpenGL, optimise memory usage 2022-03-17 00:32:19 +01:00
Dany LE
f215eb054f
Merge pull request #1 from lxsang/conflict
fix conflict
2022-03-16 21:36:26 +01:00
Dany LE
64c0cc9b79
Merge branch 'master' into conflict 2022-03-16 21:36:18 +01:00