diff options
author | Molly Lloyd <molly@mapbox.com> | 2017-11-07 17:04:39 -0800 |
---|---|---|
committer | Molly Lloyd <molly@mapbox.com> | 2018-01-22 16:00:07 -0800 |
commit | a6a33c7bbe711e03ad9f0ed4ff331ea95579ab7b (patch) | |
tree | 2ae9da36fc53c42539d5f2edaef885c1fad8ae51 /src/mbgl/style/sources/raster_source_impl.hpp | |
parent | d0987e97a4ca1f48a1a5d9e301ac7e81b3faad0c (diff) | |
download | qtlocation-mapboxgl-upstream/raster-hillshade.tar.gz |
[core] add raster-dem source type and hillshade layer typeupstream/raster-hillshade
add DEMPyramid class
add raster-dem source and hillshade layer types
update with layer-specific lighting properties
fix build errors
use 3dpass for hillshade prepare step
fix DEM population, change border to int32
update shaders and fix rendering
update gl-js sha and un-ignore hillshade render tests
start backfill border logic
remove unused dem pyramid code
implement backfill border
use bitmask to keep track of backfilled neighbors
fix tests
TileCache::get -> TileCache::pop, add new getter
fix node build
remove unnecessary std::move
override/final onTileChanged
update hillshade shaders
android style code
update hillshade shaders
appease clang-tidy
address review comments
use enum for neighboring tiles
enforce+update DEMTileNeighbors type
add RasterDEMTile test
clean up DEMPyramid
define constructor for DEMPyramid
test DEMPyramid
DEMPyramid->DEMData
return reference to DEMData instead of pointer
refactor backfillBorder owner
fix texture filter and wrap settings
remove hardcoded tilesizes and allow for @2x tile requests
address review comments
make RasterDEMSource inherit from RasterSource (#10952)
comment DEMData::backfillBorder
guard against redoing backfill work for the borderTile
add RasterDEMSource tests
reenable all builds
ios codegen
remove Level class (#10964)
cleanup and add hillshade to android style layer exceptions
dim as uint32
guard against nullptr borderBucket
Diffstat (limited to 'src/mbgl/style/sources/raster_source_impl.hpp')
-rw-r--r-- | src/mbgl/style/sources/raster_source_impl.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/sources/raster_source_impl.hpp b/src/mbgl/style/sources/raster_source_impl.hpp index c41d5485b2..96f59a2159 100644 --- a/src/mbgl/style/sources/raster_source_impl.hpp +++ b/src/mbgl/style/sources/raster_source_impl.hpp @@ -8,7 +8,7 @@ namespace style { class RasterSource::Impl : public Source::Impl { public: - Impl(std::string id, uint16_t tileSize); + Impl(SourceType sourceType, std::string id, uint16_t tileSize); Impl(const Impl&, Tileset); optional<Tileset> getTileset() const; |