Commit e986632
committed
Added support for new Dear ImGui 1.92 textures (with its improved font atlas)
This is the cumulative work submitted to the 'Task_NewImguiFont' branch and adding support for the new Dear ImGui managed textures support as of 1.92.
This is used by Dear ImGui to update the font atlas texture when blitting only the needed characters, but also supports user adding their own textures to it.
2 NetImgui samples have been removed (DualUI and DPI) since the first one isn't supported anymore, and the second one became mooth with improved font that now support remote and local DPI without needing user to code anything.
Need to finish adapting the NetImguiServer OpenGL and Sokol backend to work with this.
------------------------------
commit 9523152
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Tue Dec 30 20:07:56 2025 -0500
Fix for Server font resize crash
commit c8220b6
Merge: 06b1704 d29d6a0
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Tue Dec 30 17:35:16 2025 -0500
Merge branch 'Task_NewImguiFont' of https://github.com/sammyfreg/netImgui into Task_NewImguiFont
commit 06b1704
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Tue Dec 30 17:34:33 2025 -0500
Ongoing work on texture refactor
Almost no issues left (need to fix server fotn resize crash).
A lot of cleanup.
commit d29d6a0
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Tue Dec 30 17:34:33 2025 -0500
Ongoing work on texture refactor
Almost no issues left (need to fix server fotn resize crash).
A lot of cleanup.
commit 7394136
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Sat Dec 27 13:23:46 2025 -0500
Updated Sample Texture to test multiple partial updates on a texture in same frame
commit ab52994
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Fri Dec 26 20:19:58 2025 -0500
Fix for win32 sample crash
commit ad1a253
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Tue Dec 23 20:25:13 2025 -0500
Removed the FontDPI sample and fixed some compatibility errors
With the new Dear ImGui font texture handling, there's no need anymore to regenerate the texture and use callbacks, everything is now seamless, so I removed the Sample.
Also fixed some older Dear ImGui compatibilities errors.
commit 15fb869
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Tue Dec 23 13:42:19 2025 -0500
Functional support for new Dear ImGui texture
Most things now seem to work, all but one samples are fully functional.
DPI sample is currently disabled, needs to have it handle the new font scaling properly, and add a sample to test old style too.
commit 33493fc
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Fri Dec 19 17:51:49 2025 -0500
Support for texture update in
Need to fix texture deletion proper release
commit c680bdb
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Fri Jul 11 17:41:55 2025 -0400
Support Server window DPI Scale when drawing client
commit 3ee5e29
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Mon Jul 7 20:23:04 2025 -0400
Updated Dear ImGui to 1.92
Lots of changes to support dynamic font and texture update.
This is a first pass where most things compiles, but things are far from fully functional.
Still need to :
-Handle texture partial updates
-Handle Server DPI setting application on client
-Fix all samples to work properly
commit cf65167
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Mon Mar 10 19:42:19 2025 -0400
New Font Texture Update support
Initial support, with some issue (texture management, font scaling, etc...) and cleanup left to do
commit 9b9b465
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Sat Dec 28 10:30:39 2024 -0500
Font Atlas rework
1st version with remote display working with new font atlas update support.
Unreliable and messy
commit cf3de75
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Sun Dec 15 18:32:51 2024 -0500
Fixed NetImguiServer to run with new Dear ImGui branch
Temp disabling docking features
Client do not render yet
commit 697bb86
Author: Sammy Fatnassi <sammyfreg@gmail.com>
Date: Sat Dec 14 14:26:08 2024 -0500
Updated to experimental font branch
Updated Dear ImGui to experiemental font gen branch, and made sure Sample can run
NetImgui textures not functional yet.1 parent 1451235 commit e986632
71 files changed
Lines changed: 12871 additions & 8049 deletions
File tree
- Build
- Code
- Client
- Private
- Sample
- Common
- SampleBackground
- SampleBasic
- SampleCompression
- SampleDisabled
- SampleDualUI
- SampleFontDPI
- SampleIndex
- SampleNewFrame
- SampleNoBackend
- SampleSingleInclude
- SampleTextures
- ServerApp/Source
- Custom
- GlfwGL3
- Sokol
- Win32DX11
- ThirdParty/DearImgui
- backends
- debuggers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | | - | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
29 | | - | |
| 35 | + | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
33 | | - | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
| |||
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
67 | | - | |
| 74 | + | |
68 | 75 | | |
69 | 76 | | |
70 | 77 | | |
| |||
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
80 | | - | |
| 87 | + | |
81 | 88 | | |
82 | 89 | | |
83 | 90 | | |
| |||
149 | 156 | | |
150 | 157 | | |
151 | 158 | | |
152 | | - | |
153 | | - | |
154 | 159 | | |
155 | 160 | | |
156 | 161 | | |
| |||
279 | 284 | | |
280 | 285 | | |
281 | 286 | | |
282 | | - | |
283 | | - | |
284 | 287 | | |
285 | 288 | | |
286 | 289 | | |
| |||
329 | 332 | | |
330 | 333 | | |
331 | 334 | | |
332 | | - | |
| 335 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
248 | 254 | | |
249 | 255 | | |
250 | 256 | | |
| |||
263 | 269 | | |
264 | 270 | | |
265 | 271 | | |
266 | | - | |
| 272 | + | |
267 | 273 | | |
268 | 274 | | |
269 | 275 | | |
| |||
283 | 289 | | |
284 | 290 | | |
285 | 291 | | |
286 | | - | |
| 292 | + | |
287 | 293 | | |
288 | 294 | | |
289 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 11 | + | |
| 12 | + | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
56 | | - | |
| 54 | + | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
67 | 77 | | |
68 | 78 | | |
69 | 79 | | |
| |||
74 | 84 | | |
75 | 85 | | |
76 | 86 | | |
77 | | - | |
78 | 87 | | |
79 | 88 | | |
80 | 89 | | |
81 | 90 | | |
82 | | - | |
| 91 | + | |
83 | 92 | | |
84 | 93 | | |
85 | 94 | | |
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
89 | 98 | | |
90 | | - | |
| 99 | + | |
91 | 100 | | |
92 | 101 | | |
93 | 102 | | |
| |||
102 | 111 | | |
103 | 112 | | |
104 | 113 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
| |||
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| 181 | + | |
179 | 182 | | |
180 | 183 | | |
181 | 184 | | |
| |||
211 | 214 | | |
212 | 215 | | |
213 | 216 | | |
214 | | - | |
| 217 | + | |
215 | 218 | | |
| 219 | + | |
| 220 | + | |
216 | 221 | | |
217 | 222 | | |
218 | 223 | | |
| |||
251 | 256 | | |
252 | 257 | | |
253 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
254 | 262 | | |
255 | 263 | | |
256 | 264 | | |
| |||
264 | 272 | | |
265 | 273 | | |
266 | 274 | | |
267 | | - | |
| 275 | + | |
268 | 276 | | |
269 | 277 | | |
270 | 278 | | |
| |||
0 commit comments