summaryrefslogtreecommitdiff
path: root/src/mbgl/shaders/line_gradient.cpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2018-08-08 15:09:27 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2018-08-23 19:01:40 +0300
commitfb5afd34b9b25e993a4b109385215eba0b83923f (patch)
tree61474b72e7d099808eb85ea60275e58da11bdd39 /src/mbgl/shaders/line_gradient.cpp
parent52275f835a38897ebf1aeb2158ccfca2272e4770 (diff)
downloadqtlocation-mapboxgl-fb5afd34b9b25e993a4b109385215eba0b83923f.tar.gz
[core] Add `line-gradient` property
Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303 See the link above for the description of the feature and its limitations). Based on patch from @lbud (Lauren Budorick).
Diffstat (limited to 'src/mbgl/shaders/line_gradient.cpp')
-rw-r--r--src/mbgl/shaders/line_gradient.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mbgl/shaders/line_gradient.cpp b/src/mbgl/shaders/line_gradient.cpp
new file mode 100644
index 0000000000..9409086add
--- /dev/null
+++ b/src/mbgl/shaders/line_gradient.cpp
@@ -0,0 +1,14 @@
+// NOTE: DO NOT CHANGE THIS FILE. IT IS AUTOMATICALLY GENERATED.
+
+#include <mbgl/shaders/line_gradient.hpp>
+#include <mbgl/shaders/source.hpp>
+
+namespace mbgl {
+namespace shaders {
+
+const char* line_gradient::name = "line_gradient";
+const char* line_gradient::vertexSource = source() + 43378;
+const char* line_gradient::fragmentSource = source() + 47687;
+
+} // namespace shaders
+} // namespace mbgl