Commit graph

102 commits

Author SHA1 Message Date
themancalledjakob
0b5f9bdebc fix (partially) linux compilation 2024-03-29 09:19:06 +01:00
themancalledjakob
8df9884624 explicit std namespace 2024-03-16 13:18:09 +01:00
1910815c2a do not use celines fonts 2023-09-19 13:14:54 +02:00
f25225182e clean some comments and anchor -> textAlignment 2023-09-06 18:54:22 +02:00
d97ed744d9 clean some comments 2023-09-06 18:20:58 +02:00
20ad951c46 fix text alignment 2023-09-06 18:17:53 +02:00
8952672e84 fix wrapping
text alignment still broken
2023-09-06 17:12:34 +02:00
1f5b02e947 setUniform1fv/i for GPUFont and slight optimization for setting uniforms 2023-08-22 16:18:49 +02:00
927a12e51e add getNextFreeLayerID() 2023-08-17 14:55:53 +02:00
c1d6d052be set uniforms of msdf-combo 2023-07-16 19:09:25 +02:00
161b59ee17 globalTransform in VBO 2023-06-27 20:05:56 +02:00
6946f49b34 receive vector of colors 2023-06-27 17:16:15 +02:00
106db1462c multiple nodes for collect/drawing 2023-06-26 08:43:45 +02:00
01740f7635 fade via uniform 2023-06-25 15:34:45 +02:00
8b3604ec9a return boolean if character collected 2023-06-20 17:39:56 +02:00
619c07853f profiler & misc cleanup 2023-06-18 17:34:34 +02:00
6a61dc60f1 fix node 2023-06-17 21:11:18 +02:00
cde337580d singleVbo 2023-06-17 09:00:53 +02:00
172711cad3 fix wrapping, and textAlignment 2023-06-13 16:43:13 +02:00
73d17b2a03 only use individual letterDelays 2023-06-09 17:52:05 +02:00
e66e5ae502 use uniform buffer 2023-06-09 06:57:31 +02:00
1ab9d7b2cc atlas resolution independent scale 2023-06-03 17:16:02 +02:00
3016879e22 pass GPUFont/MsdfAtlasLayerComboSettings as reference 2023-06-03 14:51:55 +02:00
5453e3da0d switch back to GL_TEXTURE_2D_ARRAY 2023-05-29 17:50:45 +02:00
8f1e73eb6a pass shader to font 2023-05-29 17:50:19 +02:00
f26de38913 shuffle shaders 2023-05-29 10:10:48 +02:00
610ce89bfa make shaderCatalog shared_ptr 2023-05-29 09:56:03 +02:00
49b32d3f39 introduce buffer target type 2023-05-29 09:51:24 +02:00
8a1497fb4f remove unnecessary gpuTextureOffset 2023-05-29 09:42:06 +02:00
922566f597 use and save to cache 2023-05-28 22:03:15 +02:00
95527561d0 fix bounding box 2023-05-17 22:34:05 +02:00
840dbce493 individual letterDelays on cpp side 2023-05-16 18:48:34 +02:00
012987c11b introduce layerOrder 2023-05-14 08:33:23 +02:00
976e309a54 wrapping with slight error on side 2023-05-06 22:12:40 +02:00
24273912cb attempt wrap text [debug] 2023-05-05 22:03:51 +02:00
29d9b44140 boundingbox for the complete layer 2023-05-05 15:03:16 +02:00
28d6a59ef2 decrease layer count when removing layer 2023-05-05 15:01:52 +02:00
52086dbcd9 do not round variation axes
we introduced this to possibly decrease memory footprint,
but some fonts are more granular than others
2023-05-05 14:58:15 +02:00
e1746e5ab6 add lineHeight 2023-05-03 14:58:16 +02:00
dfe0f4872b add letterSpacing 2023-05-02 17:38:23 +02:00
30c1d7f5a2 allow setting width/height for layerComposition 2023-04-30 17:40:45 +02:00
6d24ca935f comment/remove debug drawings 2023-04-26 16:11:59 +02:00
20c00d064e comment debug bitmapstrings 2023-04-22 16:36:38 +02:00
af6a1a580d no mouse influenced antialias window size 2023-04-22 16:20:37 +02:00
2117df65c4 remove grey antialias border 2023-04-22 16:01:40 +02:00
7a39530cfe profile update funtion, add todo for fixing propsbuffer update when no props are sent 2023-04-22 14:24:25 +02:00
cfe9d56e65 getLayers() from a layerComposition 2023-04-22 13:48:02 +02:00
9a7b3edc9e fix propsBuffer & introduce lastProps 2023-04-22 11:59:21 +02:00
1e4588357d glyph appearance and color 2023-04-19 16:51:02 +02:00
01f2960f5d remove unnecessary file 2023-04-19 16:47:21 +02:00