Commit Graph

1489 Commits

Author SHA1 Message Date
Georg Hagen
f58064d724 Shrink GlyphInfo struct 2025-01-10 18:09:38 +01:00
Georg Hagen
ce57ed2091 Disable LZMA 2025-01-10 01:18:50 +01:00
Georg Hagen
97d05804ee Improve precision handling 2025-01-10 00:11:51 +01:00
Georg Hagen
1b0d59940b Update unit switch points 2025-01-09 23:54:00 +01:00
Georg Hagen
5d7ef49142 Add support for front facing ar experience 2025-01-08 23:56:10 +01:00
Georg Hagen
f0cab05512 Fix not set handle 2025-01-08 22:47:06 +01:00
Georg Hagen
7d69fd3ca9 Improve error handling 2025-01-08 15:50:10 +01:00
Georg Hagen
2a1157ef71 Add handling for padded buffers 2025-01-08 15:49:19 +01:00
Georg Hagen
8d14c40826 Fix wrong include path 2025-01-07 14:51:19 +01:00
Oleksii_Hyzha
c2511c1851 Merge pull request 'Tight atlas packing' (#183) from misc into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/183
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2025-01-07 14:38:29 +01:00
Georg Hagen
ad5d2ca8dd Merge pull request 'Label Update' (#184) from LabelUpdate into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/184
2025-01-07 13:43:31 +01:00
Georg Hagen
8cb2dea4f7 Merge branch 'master' into LabelUpdate 2025-01-06 18:04:18 +01:00
Georg Hagen
129d83374f Relayout file to reduce memory footprint 2025-01-06 17:09:18 +01:00
Georg Hagen
89d732d570 Update MetalTextureCache close handling 2025-01-06 16:52:36 +01:00
Georg Hagen
ac0a0e84b4 Remove ICloseable 2025-01-06 16:28:27 +01:00
Georg Hagen
46c1d1f18f Bugfix 2025-01-06 15:27:42 +01:00
Georg Hagen
8caf546cad Remove closeable handler from renderer 2025-01-06 14:07:16 +01:00
Vladyslav_Baranovskyi_EXT
eddb291bde Merge pull request 'PFM + PNM Image Loaders' (#181) from pfm_pnm into master
Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/181
Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com>
2025-01-06 10:48:15 +01:00
Georg Hagen
91cf59648d Formatting 2025-01-06 00:57:41 +01:00
Georg Hagen
6407f40f94 Deduplicate code 2025-01-06 00:52:13 +01:00
Georg Hagen
7ef6503a78 Add 2d variant of bounding box 2025-01-06 00:28:10 +01:00
Georg Hagen
ceee3ef12e Add Constructor for UniformBuffer 2025-01-05 23:54:42 +01:00
Georg Hagen
6cfd760034 Move billboard state into LabelDrawableSettings 2025-01-05 23:44:01 +01:00
Georg Hagen
92b9fb597f Remove unnecessary buffer 2025-01-05 23:34:20 +01:00
ohyzha
d446b9695d move logic into separate function 2025-01-05 19:04:48 +02:00
Georg Hagen
4f1d730e30 Add depth bias config to shader 2025-01-05 17:36:19 +01:00
Georg Hagen
56cb508002 Fix text position 2025-01-05 17:15:18 +01:00
ohyzha
58a56560d9 rework FontPixelSizeConfig struct 2025-01-05 18:14:29 +02:00
Georg Hagen
aca64c57b7 Optimize label size calculation 2025-01-05 16:31:04 +01:00
Georg Hagen
e9a1c629d9 Switch to more compact TextGlyph vertex format 2025-01-05 02:05:10 +01:00
Georg Hagen
47a904f572 Move GetDefaultShader logic into function 2025-01-04 21:16:08 +01:00
Georg Hagen
c0e85d4fba Add vertex buffer step mode config 2025-01-04 20:58:49 +01:00
Georg Hagen
6ccef62ad3 Add VertexBuffer class 2025-01-04 20:58:22 +01:00
Georg Hagen
8250b2a396 Add app id as first cli parameter 2025-01-04 20:33:38 +01:00
Georg Hagen
53555b6788 Merge branch 'master' into pfm_pnm 2025-01-04 16:54:16 +01:00
Vladyslav Baranovskyi
295468358f Moved header structs and some methods to cpp files, reading pnm images upside-down 2025-01-04 14:27:28 +02:00
Georg Hagen
fad309d96d Move FreetypeHelper and cleanup glyph creation 2025-01-04 11:59:13 +01:00
Georg Hagen
994ae12b80 Remove branching 2025-01-04 11:42:09 +01:00
Georg Hagen
450f1170b4 Remove redundancies 2025-01-04 03:21:55 +01:00
Georg Hagen
ca93036f31 Change TextDrawable base class 2025-01-04 03:08:06 +01:00
Georg Hagen
94025c79c6 Unify text shader handling 2025-01-04 02:46:24 +01:00
Georg Hagen
bc78af70e8 Fix bugs introduced by refactoring 2025-01-04 02:45:46 +01:00
Georg Hagen
884949f92f Deduplicate Atlas validity checking 2025-01-04 02:02:14 +01:00
Georg Hagen
f156ff5892 Update fallback glyph handling 2025-01-04 01:52:41 +01:00
Georg Hagen
f124a22910 Cleanup duplicated text shader 2025-01-04 01:52:11 +01:00
Georg Hagen
519be60c8c Fix String::Trim 2025-01-04 01:31:13 +01:00
Georg Hagen
207d02aab4 Remove redundant lambda, use initializer, add nodiscard 2025-01-04 01:25:04 +01:00
Georg Hagen
d96ced96c0 Deduplicate shader creation function for text drawable 2025-01-04 01:15:25 +01:00
Georg Hagen
c288f3ccba Remove redundant namespaces 2025-01-04 01:05:31 +01:00
Georg Hagen
54441024b3 Delete duplicated variable 2025-01-04 01:02:37 +01:00