Commit Graph

44 Commits

Author SHA1 Message Date
mwilsnd
f4d3cb6b69 Merge branch 'topic/metal-sep21' into main (#1695)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Alex Cristici <alex@skoon.energy>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
Co-authored-by: Wei Chen <alanchenboy@gmail.com>
Co-authored-by: Siarhei Fedartsou <siarhei.fedartsou@gmail.com>
Co-authored-by: tdcosta100 <tdcosta100@gmail.com>
2023-10-02 13:22:19 +00:00
Tim Sylvester
82ec59a2b0 Metal setup merge (#1616)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Alex Cristici <alex@skoon.energy>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
Co-authored-by: Wei Chen <alanchenboy@gmail.com>
Co-authored-by: Siarhei Fedartsou <siarhei.fedartsou@gmail.com>
Co-authored-by: tdcosta100 <tdcosta100@gmail.com>
2023-09-13 18:35:20 +00:00
mwilsnd
780053622c Drawable Renderer (#1570), Sync from PR 1 2023-08-31 15:36:19 +02:00
Tim Sylvester
4a4389ab9b Bug/fill attributes (#1359) 2023-08-31 15:36:19 +02:00
Tim Sylvester
d094b9928e Render drawables in order (#1321) 2023-08-31 15:36:19 +02:00
Alex Cristici
813ddb024a Heatmap layer (#1230)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
9ba646e962 Topic/drawable symbol (#1249) 2023-08-31 15:36:19 +02:00
mwilsnd
1963697687 Selectable renderer implementation (#1247)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
fe165c8924 Eliminate special color attribute handling (#1266) 2023-08-31 15:36:19 +02:00
Tim Sylvester
2c18d579cb Isolated drawable/builder refactoring portion of the symbol work (#1252) 2023-08-31 15:36:19 +02:00
Alex Cristici
52b9e099e5 Circle layer final (#1227) 2023-08-31 15:36:19 +02:00
Tim Sylvester
00d6bdd2ae Refactor clipping mask rendering (#1209) 2023-08-31 15:36:19 +02:00
Tim Sylvester
dc5f6c4d69 Move background tile shader selection back to the render layer (#1200)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
4cac8a8dfb Topic/atlas tex 2d (#1194)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
ee7f57fcb4 Drawable Renderer (#1570), Improve handling of multiple drawables per tile 2023-08-31 15:36:19 +02:00
Tim Sylvester
c10616aec6 Drawable Renderer (#1570), Remove layer index from drawables.
Add debug GL groups for uploads.
Enable GL debug groups only in debug builds.
2023-08-31 15:36:19 +02:00
Tim Sylvester
4527d18a67 Drawable Renderer (#1570), Refactor tile matrix handling to account for translations 2023-08-31 15:36:19 +02:00
mwilsnd
f63fa49152 Drawable LayerGroup sorting, depth buffer, split view (#1173)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Alex Cristici
2c53c138c8 Circle layer (#1153) 2023-08-31 15:36:19 +02:00
Tim Sylvester
b8bdf0643c Drawable Renderer (#1570), Setting up for fill patterns.
Handle color and cull modes better.
Rename `DrawableBuilder::ColorMode` to `ColorAttrMode` to avoid confusion with `gfx::ColorMode`.
2023-08-31 15:36:19 +02:00
Tim Sylvester
c81c665538 Drawable Renderer (#1570), Add fill-outline drawables 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
722900a0f3 Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
99af73ebaa Drawable Renderer (#1570), Tweak shader names 2023-08-31 15:36:19 +02:00
Tim Sylvester
f51c0820d3 Drawable Renderer (#1570), Move rendering into layer groups 2023-08-31 15:36:19 +02:00
mwilsnd
57c165e604 Refactor shaders for drawables (#1132) 2023-08-31 15:36:19 +02:00
Tim Sylvester
6a1b48bb45 Drawable Renderer (#1570), Reworking fill drawables into layer group 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
43a05515e9 Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
af39aca061 Drawable Renderer (#1570), first cut at layer groups 2023-08-31 15:36:19 +02:00
Alex Cristici
d8ea91de98 Uniform buffer objects (#1127)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
7e26cc9710 Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
041acbaf0e Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
b052cb904e Drawable Renderer (#1570), Apply render pass to drawables 2023-08-31 15:36:19 +02:00
Tim Sylvester
66e62e8c66 Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
af43611d2b Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
408a1e39e2 Drawable Renderer (#1570), Move drawable management back to render layers, start on fill layer 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
ef9ef1a106 Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
03598ff229 Drawable Renderer (#1570), Eliminate extra style evaluation in layer update 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
caee9cc12f Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
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
Bart Louwers
71f6da2722 Add clang-format (#1086)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-05-01 16:57:37 +02: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
Bart Louwers
15ad65dd3d Use std::optional instead of mbgl::optional (#911) 2023-03-17 13:51:59 +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
Petr Pokorny
41f0be34e7 [general] moving ios and android project under ./platform folder 2020-12-20 12:38:56 +01:00