Commit Graph

60 Commits

Author SHA1 Message Date
Tim Sylvester
7dc90ae627 Drawable Renderer (#1570), warnings 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
b052cb904e Drawable Renderer (#1570), Apply render pass to drawables 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
9a4e0f14d0 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
375083b6cf Drawable Renderer (#1570), work on fill drawables 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
434d90d939 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
4af4491626 Drawable Renderer (#1570), order drawables 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
6e9a2f9389 Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
8c749d155a Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
61da26fe14 Drawable Renderer (#1570), Eliminate GL drawable/builder dependencies from generic background layer 2023-08-31 15:36:19 +02:00
Tim Sylvester
cfa58d4a4d Drawable Renderer (#1570), Missing include 2023-08-31 15:36:19 +02:00
Tim Sylvester
010b8f9280 Drawable Renderer (#1570), Evaluate and apply color 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
Birk Skyum
288391cac2 Update style spec references (#1150) 2023-06-07 15:08:29 +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
rpitre-wetdog
94e15b7c21 Deleted the Pass file, replacing it with [[nodiscard]] (#1030) 2023-04-18 15:16:41 +02: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
f7fa009f08 Use *_t and *_v trait helpers from C++17 STL (#731) 2023-01-26 11:10:33 +01:00
tdcosta100
d5acff3c74 Avoid implicit casts and make code more portable (#716) 2023-01-23 11:32:53 +01:00
tdcosta100
3bfc6c2c87 Make pointer to glGetString function const (#708) 2023-01-19 12:09:58 +01: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
Tadej Novak
9cd70bfe7f Qt build improvements and documentation (#277)
* Qt build improvements and documentation

* Update include/mbgl/actor/actor_ref.hpp

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
2022-06-16 20:52:52 +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