Commit Graph

64 Commits

Author SHA1 Message Date
Tim Sylvester
010b8f9280 Drawable Renderer (#1570), Evaluate and apply color 2023-08-31 15:36:19 +02:00
Tim Sylvester
8a42b2fa5f Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
b8c0b1a97c Drawable Renderer (#1570), Move layer update to where more state is available.
Evaluate properties and use actual style color.
Fix problems with attribute bindings and depth modes.
2023-08-31 15:36:19 +02:00
Tim Sylvester
3122f81328 Drawable Renderer (#1570), Rebase on main.
Fix drawable ordering issue that was leading to rendering without setting up the VAO
2023-08-31 15:36:19 +02:00
Tim Sylvester
107a4ef467 Drawable Renderer (#1570), Fix duplicate drawable and vertex state bug 2023-08-31 15:36:19 +02:00
Tim Sylvester
5a9b4c3422 Drawable Renderer (#1570), Drawable per tile 2023-08-31 15:36:19 +02:00
Tim Sylvester
e7d32a613a Topic/drawable (#1052) 2023-08-31 15:36:19 +02:00
Tim Sylvester
92ce58db86 Rework attributes (#1048) 2023-08-31 15:36:19 +02:00
Tim Sylvester
f76fb98745 Drawable Renderer (#1570), Rebase on main, squash trivial commits 2023-08-31 15:36:19 +02:00
Tim Sylvester
a646cbf938 Topic/drawable 2 (#1047)
uniforms
2023-08-31 15:36:19 +02:00
Tim Sylvester
aceb0394ba Topic/drawable 2 (#1032)
More vertex attribute work
Move drawables above existing layer rendering. 
Use context for the actual draw call.
Fake the vertexes in the shader to get something actually showing up.
Simplify shader state management
2023-08-31 15:36:19 +02:00
Tim Sylvester
e2bc75289c Topic/drawable 2 (#1029) 2023-08-31 15:36:19 +02:00
Tim Sylvester
14b53e54ec First cut at Drawable fundamentals (#983)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
2023-08-31 15:36:19 +02:00
Siarhei Fedartsou
09f17c0fc4 Implement slice expression (#1133)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-08-26 18:32:45 +02:00
Bart Louwers
32d65850c9 iOS C++ Unit Tests Bazel target & running on CI (#1534) 2023-08-22 21:52:20 +02:00
tdcosta100
4360257d8c Add Windows support to MBTiles file source (#905) 2023-06-26 11:57:26 +02:00
Birk Skyum
288391cac2 Update style spec references (#1150) 2023-06-07 15:08:29 +02:00
Siarhei Fedartsou
5990efbb12 Fix issues in index-of expression (#1121)
Co-authored-by: Ovidiu Voda <ovi.voda@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-06-07 15:06:57 +02:00
Stefan Karschti
520e51a4e7 fix for issue #1170 (#1171)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-24 20:41:07 +02:00
Bart Louwers
824199f25a Linux tests + coverage report with Bazel (#1139) 2023-05-15 19:42:30 +02:00
Bart Louwers
72a1f78647 Run iOS size test on CI through Bazel (#1122) 2023-05-12 11:22:21 +02:00
Siarhei Fedartsou
379b1fc606 Implement index-of expression (#1113) 2023-05-09 00:16:58 +02:00
pre-commit-ci[bot]
958cdb8206 [pre-commit.ci] pre-commit autoupdate (#1096)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-02 10:15:53 +02:00
Bart Louwers
71f6da2722 Add clang-format (#1086)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-05-01 16:57:37 +02:00
Alex Cristici
19b84464a3 Fix render tests failing on Xcode 14.3 (#1046) 2023-04-24 17:45:09 +02:00
Bart Louwers
453af362cb Linux C++ test & render tests on CI (#1033)
Co-authored-by: rpitre-wetdog <129877142+rpitre-wetdog@users.noreply.github.com>
Co-authored-by: Tadej Novak <tadej@tano.si>
Co-authored-by: Robin <boldtrn@users.noreply.github.com>
Co-authored-by: Siarhei Fedartsou <siarhei.fedartsou@gmail.com>
2023-04-22 14:24:42 +02:00
Siarhei Fedartsou
2a7a6f01a2 Configure clang-tidy CI check (#1028) 2023-04-20 09:57:25 +02:00
rpitre-wetdog
94e15b7c21 Deleted the Pass file, replacing it with [[nodiscard]] (#1030) 2023-04-18 15:16:41 +02:00
mwilsnd
2e4e963d89 ES 3: Use sized internal formats for half float textures (#1015)
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-04-15 14:14:42 +03:00
Alex Cristici
8ff6704fc4 API links for OpenGL ES 3.0 (#1007)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-04-14 22:48:53 +02:00
mwilsnd
4828cc7a8b Upgrade OpenGL backend to ES 3.0 (#995)
Co-authored-by: Tadej Novak <tadej@tano.si>
2023-04-13 23:24:45 +02:00
mwilsnd
4d08f6a0c5 Add custom name support to shader registry (#989) 2023-04-09 18:49:44 +03:00
mwilsnd
f207aee091 Migrate shaders to the registry (#964)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2023-04-04 21:00:12 +02:00
Andrei-Florin Bencsik
522ca9ed84 Remove not used includes (#962) 2023-03-31 22:53:48 +02:00
mwilsnd
1d8c4b527f Add shader registry (#924) 2023-03-27 19:41:38 +02:00
Bart Louwers
15ad65dd3d Use std::optional instead of mbgl::optional (#911) 2023-03-17 13:51:59 +02:00
Bart Louwers
5b55f1527d Fix style code generation, remove package.json ios (#847) 2023-03-03 11:34:40 -08:00
Fabian Vogt
87025882ec Add some missing cstdint inclusions (#872) (#874) 2023-03-03 15:02:38 +01:00
Bart Louwers
52522277bc Doxygen-based documentation for C++ API (#796) 2023-02-12 14:45:06 +01:00
Bart Louwers
c61194f523 Replace #pragma - mark with comments (#736)
Co-authored-by: Ovidiu Voda <ovi.voda@gmail.com>
2023-01-28 13:27:49 +01:00
Bart Louwers
f7fa009f08 Use *_t and *_v trait helpers from C++17 STL (#731) 2023-01-26 11:10:33 +01:00
tdcosta100
d4b33fd808 Fix memory access violation exception in vector_tile_data.cpp (#632) 2022-12-31 12:01:55 -05:00
Dominik Nussbaumer
2b26632eec Add missing header guards (#543) 2022-11-09 18:41:17 +01:00
Tadej Novak
c72c468ff5 Fix typo in geo.cpp (#412) 2022-08-22 09:11:24 +02:00
Tadej Novak
1341f33ba4 Add ClientOptions to be able to pass around client name and version (#365)
* ClientOptions and Qt user agent

* Update CHANGELOG.md

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
2022-08-13 15:36:50 +02:00
Oliver Wipfli
52b5f02ed3 Fix render tests (#351)
* Fix render tests

* Update src/mbgl/util/grid_index.cpp

Co-authored-by: Tadej Novak <tadej@tano.si>

* Update src/mbgl/util/grid_index.cpp

Co-authored-by: Tadej Novak <tadej@tano.si>

* Update src/mbgl/text/collision_index.cpp

Co-authored-by: Tadej Novak <tadej@tano.si>

* Add static casts

* Remove unneeded static cast

Co-authored-by: Tadej Novak <tadej@tano.si>
2022-07-05 11:44:36 +02:00
Ruslan Myhal
7e133e3bdf fix shiftY calculation typo (#285) 2022-05-20 11:31:35 +02:00
Tadej Novak
32ed70c95d [msvc] Fix warnings, mainly casting to smaller types (#270)
If the checks by GitHub Actions checks are met, then it seems good to go.  Thanks for supporting FOSS4G!
2022-04-22 11:40:55 -07:00
Brendan Ward
539d81a3b9 Rename MaptilerFileSource to MBTilesFileSource (#198) 2022-04-07 09:56:52 +02:00
Nathan Van Fleet
87bb49250e Fix street label appearance while animating near zoom level threshhold (#267)
Co-authored-by: Jun Wu <junwu@lyft.com>
2022-04-06 23:44:25 +02:00