Commit Graph

318 Commits

Author SHA1 Message Date
Bart Louwers
b7823b27b6 Apply clang-tidy fixes (mostly use designated initializers) (#3328) 2025-03-21 15:42:43 +01:00
Tetiana Gubanova
52b9e3270f Add workaround for android emulator as crash on Android emulation is still presented (#3310) 2025-03-20 14:44:57 +02:00
Bart Louwers
00956faefb Revert #3035 which was causing memory growth issue (#3315) 2025-03-17 19:00:07 +01:00
Yuri Astrakhan
3e529c0995 Minor rust improvements (#3282) 2025-03-06 11:58:46 +01:00
Adrian Cojocaru
7339fb91fd Custom drawable layer v3 (#3210) 2025-02-28 21:49:20 +00:00
Bart Louwers
b09235b41e Allow configuring iOS build with CMake (#3234) 2025-02-28 14:25:36 +01:00
yousifd
53a6ca5a99 reset depth stencil state for render pass (#3230) 2025-02-17 19:54:17 +00:00
Yuri Astrakhan
a8f4f70636 Fix trailing whitespaces (#3205)
See https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#trailing-whitespace
2025-02-09 03:33:24 +00:00
Tim Sylvester
14559245d8 Eliminate copies in deferred cleanup (#3035) 2025-02-07 18:48:16 +00:00
Tetiana Gubanova
e7bca286e2 Change runtime error to the nullptr returning (#3184) 2025-02-03 10:29:07 +02:00
yousifd
d6b6f9e5b3 Bind global uniform buffers at the end of the custom layer tweaker (#3186) 2025-02-02 21:30:52 +00:00
Bart Louwers
c79b6dcf52 Add end-of-file-fixer pre-commit hook (#3176)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-24 20:43:50 +01:00
Adrian Cojocaru
4ae61fb9dc Use timestamps for image descriptor updates (#3152) 2025-01-21 19:26:07 +00:00
Alex Cristici
9f02e29f5f Replace macro with run-time string concatenation (#3124) 2025-01-10 14:41:58 +00:00
Adrian Cojocaru
c1f76cff98 Fix in-flight frame update Vulkan (#3122) 2025-01-09 22:04:41 +01:00
Christian Hansen
62b92e2038 Allow constraining camera to maximum bounds (#2475) 2025-01-09 13:38:35 +01:00
Alex Cristici
f582327191 UBO consolidation (#3089)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-08 17:41:29 +02:00
tdcosta100
cf9f41cf61 Add Initial PMTiles support (#2882)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2025-01-07 14:32:17 +01:00
Adrian Cojocaru
c548212d42 Add latency to surface updates (#3056) 2024-12-03 22:03:06 +01:00
Adrian Cojocaru
1a38075a1c Fix frame pacing issues (#3032) 2024-11-26 18:53:41 +02:00
Adrian Cojocaru
d282b3ba6b Implement Android surface pre-rotation for Vulkan (#2955) 2024-11-20 14:17:39 +01:00
Alex Cristici
0bac36d8f6 Line SDF shader fix (#3010) 2024-11-13 16:56:29 +01:00
Adrian Cojocaru
b30397005c Reuse allocated descriptor sets (#3002) 2024-11-12 21:19:20 +01:00
Alex Cristici
e95e0e1e63 Change parameters.currentLayer to index instead of layerIndex (#2956) 2024-10-29 12:31:01 +01:00
wangyingfang
1a63194078 Add support for text-variable-anchor-offset property (#2921)
Co-authored-by: Yingfang Wang <junew@microsoft.com>
Co-authored-by: Alexey Kon <48697757+random3940@users.noreply.github.com>
2024-10-28 12:15:54 +01:00
Bart Louwers
90a798bfee Apply more clang-tidy fixes (#2763) 2024-10-27 15:10:31 +00:00
Adrian Cojocaru
7ff0c71312 Fix descriptor pool fragmentation (#2949) 2024-10-22 17:45:02 +02:00
Adrian Cojocaru
b29c9967da Group descriptor sets by binding frequency (#2892) 2024-10-16 18:31:15 +03:00
Alex Cristici
e937b0d555 Revert index buffers to dirty flag instead of timestamps (#2927) 2024-10-16 16:48:46 +02:00
Adrian Cojocaru
156872f4c8 Use drawables for location indicator layer (#2836)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2024-10-08 19:20:12 +03:00
mwilsnd
bd268d2af1 Vulkan build tweaks (#2899) 2024-10-07 21:43:59 +02:00
Bart Louwers
4d7d5f50cf Make sure Scheduler::GetCurrent() cannot return a nullptr (#2887) 2024-10-04 12:47:58 +02:00
Bart Louwers
8efc30a7cc Enable using MoltenVK on macOS (#2846)
Co-authored-by: Adrian Cojocaru <adrian.cojocaru92@yahoo.com>
2024-10-04 11:37:04 +02:00
Tim Sylvester
84ca231da5 Fix updates hillshade geometry (#2842) 2024-09-23 17:36:00 +02:00
Bart Louwers
cadb8d1da0 Move WeakPtrFactory in map_renderer.hpp (#2861) 2024-09-23 17:16:18 +02:00
Alexey Kon
9d553c2843 Add array support for icon-padding (#2845) 2024-09-21 02:17:33 +02:00
mwilsnd
58dd529790 Enable crash mitigation when running OpenGL in the Android emulator (#2858) 2024-09-20 21:47:29 +02:00
qqz003
cb38119451 Add textFitWidth and textFitHeight Properties to Sprites (#2780)
Co-authored-by: Xiaolian Qin <xiaoq@microsoft.com>
2024-09-13 15:02:02 +02:00
Tim Sylvester
29319a76bf Move UBO updates from render layers to tweakers (#2703) 2024-09-10 18:37:50 +00:00
Adrian Cojocaru
ea09bdf2b6 Add Android Vulkan backend (#2711)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2024-09-06 17:40:57 +03:00
mwilsnd
bb34568af2 Add extra observer hooks for interesting internal processes (#2694)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-03 17:48:03 -04:00
alasram
b850c257a3 Correct and revise OpenGL texture pooling (#2709) 2024-08-29 23:13:26 +02:00
Alex Cristici
6a7bf2f7fb Add semicolon after Tracy preprocessor macros (#2753)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2024-08-27 13:02:13 +02:00
Tim Sylvester
dd104ded89 Add guard blocks and checks to SymbolInstance (#2744) 2024-08-27 02:06:11 +02:00
Bart Louwers
1bdc3425db Apply some clang-tidy 18 fixes (#2762) 2024-08-26 09:32:01 -05:00
bilal614
cf55873cf9 Cleanup mbgl/actor/mailbox* implementation for repetition in ensuring valid weakScheduler exists before usage (#2733) 2024-08-26 15:56:07 +02:00
Bart Louwers
d377bcc5ba Add back CMake build config for macOS (#2729)
Co-authored-by: Andrew Calcutt <acalcutt@techidiots.net>
2024-08-22 01:13:42 +02:00
Alex Cristici
a4258ccbb8 Toggle tile cache final API (#2723)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2024-08-21 00:28:00 +03:00
Tim Sylvester
fceaa18caf Use timestamps for attribute updates (#2629) 2024-08-20 07:33:29 -07:00
Bart Louwers
d19ab42d0a Replace M_PI with std::numbers:pi (#2713) 2024-08-13 01:26:49 +02:00