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

77 Commits

Author SHA1 Message Date
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
DanyLE
a751a6a6d3 WIP improving text rendering 2022-03-06 12:12:31 +01:00
Dany LE
26f37860e3 WIP imporving text rendering 2022-03-06 12:07:20 +01:00
Dany LE
4bfcf5a09a add GLinit 2022-03-06 01:00:01 +01:00
Dany LE
240add5399 add GLinit 2022-03-06 00:59:14 +01:00
Dany LE
b8897a6351 FreeType face now is cached as bitmap font 2022-03-06 00:58:28 +01:00
Dany LE
7fa21d524b let openGL do the final transformation 2022-03-05 11:55:20 +01:00
Dany LE
8cb2cb543a Text rendering iss working now 2022-03-04 20:28:38 +01:00
Dany LE
ce08ac49e2 WIP: font rendering... 2022-03-03 23:23:43 +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
Dany LE
a2af81994c Add freetype font manager 2022-03-01 19:22:26 +01:00