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

54 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
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
677145f1a1 Add missing code of the previous commit 2022-08-14 01:39:09 +02:00
Dany LE
2ee103191c OPENGL Rendering Performance improvement 2022-08-12 16:37:53 +02:00
Dany LE
9442050825 API improvement
- Refactor code
- Texture performance improvement
2022-08-10 19:55:49 +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
a8b89f19c5 allow to set system resolution using the DIYA_RES environment variable 2022-05-23 12:26:46 +02:00
Dany LE
e2adc4f733 Clean up 2022-03-22 21:29:36 +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
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
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
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
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
a2af81994c Add freetype font manager 2022-03-01 19:22:26 +01:00
Dany LE
1ebd4a748c correct mouse position inside shader coodinate system 2022-02-15 22:01:26 +01:00
Dany LE
e047a89801 add uniform support to shader 2022-02-15 18:04:54 +01:00
Dany LE
13804205f8 update shader support 2022-02-14 00:02:14 +01:00
Dany LE
94d3a6266b update openGL 1.10 binding 2022-02-13 17:15:23 +01:00
Dany LE
00c350805d add openGLSL bingding 2021-12-20 18:32:08 +01:00
Dany LE
b6fbebc4d4 keep old code as comment for further reference 2021-12-20 01:22:29 +01:00
Dany LE
0d254c6dd4 Basic example of OpenGL binding 2021-12-20 01:14:35 +01:00
Dany LE
4f22db8688 Reset only the unique instance in SDK environment 2021-12-19 22:52:35 +01:00
Dany LE
29e4065fe1 print log using stdout instead of Transcript 2021-12-19 22:41:21 +01:00
Dany LE
1884963e4e refactory logging 2021-12-19 22:17:29 +01:00
Dany LE
ae9c884997 Add cleanup code when quitting 2021-12-19 20:12:36 +01:00
Dany LE
7a17c17ed5 Resolve image conflict 2021-12-19 20:03:54 +01:00
Dany LE
4ecbd0af73 update SDL example entry point 2021-12-19 16:15:10 +01:00
Dany LE
03d3a59560 example of working SDL window 2021-12-19 12:32:23 +01:00