Commit graph

27 commits

Author SHA1 Message Date
Dan Paulat
41a2b989ae Add const to address clang-tidy findings 2025-06-17 22:08:25 -05:00
Dan Paulat
9d13023a51 Format texture_atlas.cpp 2025-06-17 20:17:58 -05:00
Dan Paulat
e86fec8d99 Some parallel loops cannot be vectorized 2025-06-15 00:03:07 -05:00
AdenKoperczak
1ff686629b
Add setting for cursor icon scale 2025-04-06 17:43:44 -04:00
AdenKoperczak
5afefeb673 change to using toString 2024-06-29 12:51:01 -04:00
AdenKoperczak
9c41ce7841 Fix for local placefiles on linux 2024-06-29 10:31:45 -04:00
Dan Paulat
1ad188546a Support SVG image loading 2024-03-04 00:51:14 -06:00
Dan Paulat
2c0991cebc Add texture atlas build timing 2023-09-17 00:45:34 -05:00
Dan Paulat
bbaae5d1ba Hold a reference to current images in the placefile manager, removing old, unused images 2023-09-17 00:28:54 -05:00
Dan Paulat
da267c4c22 Load texture atlas images into shared pointers 2023-09-16 23:18:19 -05:00
Dan Paulat
555fbf479a Don't call glGenTextures every time the texture atlas updates 2023-09-10 21:44:45 -05:00
Dan Paulat
e013b9a77f If no images are able to be packed into a texture atlas layer, don't create more 2023-09-04 21:09:49 -05:00
Dan Paulat
94a5898755 Remove debug writing of texture atlas images 2023-09-03 18:59:34 -05:00
Dan Paulat
9766e02f32 Generate multiple texture atlases when first atlas is full 2023-09-02 23:37:45 -05:00
Dan Paulat
7198d1c7af Use GL_TEXTURE_2D_ARRAY to enable multiple texture atlases 2023-09-02 13:44:56 -05:00
Dan Paulat
4fcfb54890 Textures may change between loads, don't skip reloading 2023-08-07 22:57:26 -05:00
Dan Paulat
0be94c4de3 Buffer texture atlas on more than the first context after change
- Icons now work on all maps
2023-08-02 20:49:48 -05:00
Dan Paulat
f0bdeb09b1 Replace black with transparent, increase atlas size 2023-08-02 00:04:00 -05:00
Dan Paulat
bc1bf8cef6 Fix rendering of placefile icons, now works on one map 2023-08-02 00:02:33 -05:00
Dan Paulat
4c093d65f6 Populate cached images into the texture atlas 2023-07-30 22:31:05 -05:00
Dan Paulat
0f9fbdbf63 Load placefile icons into texture atlas cache 2023-07-30 00:40:05 -05:00
Dan Paulat
68a6d5f97f Ignoring additional warnings required for MSVC 14.36 2023-06-16 23:34:43 -05:00
Dan Paulat
509fc76653 Guard pragma warning statements with ifdef msvc 2023-04-16 01:02:56 -05:00
Dan Paulat
976617d342 Don't use std::move when returning a local variable, allow NRVO 2022-10-08 00:03:47 -05:00
Dan Paulat
d3f7347be0 Texture atlas should fill unused pixels with magenta 2022-10-06 00:32:51 -05:00
Dan Paulat
e4629eb9ef Expose texture attributes in interface 2022-10-05 23:10:23 -05:00
Dan Paulat
17192470ec Initial texture atlas creation implementation 2022-10-05 22:41:39 -05:00