summaryrefslogtreecommitdiff
path: root/include/mbgl/style
diff options
context:
space:
mode:
authorLauren Budorick <lauren@mapbox.com>2014-08-04 17:24:22 -0700
committerLauren Budorick <lauren@mapbox.com>2014-08-11 12:12:43 -0700
commitdf925fe0e5429085f0f443f4be1326c0616f6acc (patch)
treea502590190ef6898ddbbd468cf2afb03ea55a4d3 /include/mbgl/style
parent7a98ad4cf949dd1279719bf926bd08da0133210f (diff)
downloadqtlocation-mapboxgl-df925fe0e5429085f0f443f4be1326c0616f6acc.tar.gz
nonworking prerendering attempts
Diffstat (limited to 'include/mbgl/style')
-rw-r--r--include/mbgl/style/rasterize_properties.hpp8
-rw-r--r--include/mbgl/style/style_bucket.hpp3
2 files changed, 7 insertions, 4 deletions
diff --git a/include/mbgl/style/rasterize_properties.hpp b/include/mbgl/style/rasterize_properties.hpp
index aea90dfbdd..e1e56d6ec9 100644
--- a/include/mbgl/style/rasterize_properties.hpp
+++ b/include/mbgl/style/rasterize_properties.hpp
@@ -15,14 +15,14 @@ public:
class RasterizeProperties {
public:
- Function<bool> enabled = ConstantFunction<bool>(false);
+// Function<bool> enabled = ConstantFunction<bool>(false); // going to need to delete this? or keep ?
Function<float> buffer = ConstantFunction<float>(1.0f / 32.0f);
Function<float> size = ConstantFunction<float>(256);
Function<float> blur = ConstantFunction<float>(0);
- inline bool isEnabled(const int8_t z) const {
- return util::apply_visitor(FunctionEvaluator<bool>(z), enabled);
- }
+// inline bool isEnabled(const int8_t z) const {
+// return util::apply_visitor(FunctionEvaluator<bool>(z), enabled);
+// }
inline RasterizedProperties get(const int8_t z) const {
RasterizedProperties properties;
diff --git a/include/mbgl/style/style_bucket.hpp b/include/mbgl/style/style_bucket.hpp
index 530e0c1259..25786720b1 100644
--- a/include/mbgl/style/style_bucket.hpp
+++ b/include/mbgl/style/style_bucket.hpp
@@ -82,6 +82,9 @@ public:
class StyleBucketRaster {
public:
+ uint16_t raster_size = 256;
+ float blur = 0.0f;
+ float buffer = 0.03125f;
};
typedef util::variant<StyleBucketFill, StyleBucketLine, StyleBucketSymbol,