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

89 Commits

Author SHA1 Message Date
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
DanyLE
16269e40c3 fix conflict 2022-03-16 21:33:35 +01:00
DanyLE
c7b01a0e90 WIP: Add emptly classes for Base widgets 2022-03-16 18:37:51 +01:00
DanyLE
e8b724daa1 Support for basic primitive shapes 2022-03-16 17:48:18 +01:00
Dany LE
89c5e04d36 WIP: draw ellipse and circle 2022-03-16 01:32:01 +01:00
DanyLE
653fe07692 Add log messages 2022-03-15 19:29:57 +01:00
DanyLE
fcc7b13d28 Fix memory leak bug 2022-03-15 19:11:19 +01:00
DanyLE
172a62192e image texture support 2022-03-08 23:30:01 +01:00
Dany LE
9cf12f0d8c
Update README.md 2022-03-07 09:35:30 +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