diff options
author | Molly Lloyd <mollymerp@users.noreply.github.com> | 2018-01-23 10:49:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-23 10:49:23 -0800 |
commit | f3294200c6c866e5ab031ad8346c59a76aa37249 (patch) | |
tree | 6d9aedb552552607641a15c415a60be99a0877d5 /cmake | |
parent | 2d15aed43c9faa875a8f625c3afc286f1175e0ce (diff) | |
download | qtlocation-mapboxgl-f3294200c6c866e5ab031ad8346c59a76aa37249.tar.gz |
[core] add raster-dem source type and hillshade layer type (#10642)
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/core-files.cmake | 28 | ||||
-rw-r--r-- | cmake/test-files.cmake | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/cmake/core-files.cmake b/cmake/core-files.cmake index 8866932fc4..8148fcdc88 100644 --- a/cmake/core-files.cmake +++ b/cmake/core-files.cmake @@ -44,6 +44,8 @@ set(MBGL_CORE_FILES # geometry src/mbgl/geometry/anchor.hpp src/mbgl/geometry/debug_font_data.hpp + src/mbgl/geometry/dem_data.cpp + src/mbgl/geometry/dem_data.hpp src/mbgl/geometry/feature_index.cpp src/mbgl/geometry/feature_index.hpp src/mbgl/geometry/line_atlas.cpp @@ -144,6 +146,10 @@ set(MBGL_CORE_FILES src/mbgl/programs/fill_extrusion_program.hpp src/mbgl/programs/fill_program.cpp src/mbgl/programs/fill_program.hpp + src/mbgl/programs/hillshade_prepare_program.cpp + src/mbgl/programs/hillshade_prepare_program.hpp + src/mbgl/programs/hillshade_program.cpp + src/mbgl/programs/hillshade_program.hpp src/mbgl/programs/line_program.cpp src/mbgl/programs/line_program.hpp src/mbgl/programs/program.hpp @@ -219,6 +225,8 @@ set(MBGL_CORE_FILES src/mbgl/renderer/buckets/fill_bucket.hpp src/mbgl/renderer/buckets/fill_extrusion_bucket.cpp src/mbgl/renderer/buckets/fill_extrusion_bucket.hpp + src/mbgl/renderer/buckets/hillshade_bucket.cpp + src/mbgl/renderer/buckets/hillshade_bucket.hpp src/mbgl/renderer/buckets/line_bucket.cpp src/mbgl/renderer/buckets/line_bucket.hpp src/mbgl/renderer/buckets/raster_bucket.cpp @@ -237,6 +245,8 @@ set(MBGL_CORE_FILES src/mbgl/renderer/layers/render_fill_extrusion_layer.hpp src/mbgl/renderer/layers/render_fill_layer.cpp src/mbgl/renderer/layers/render_fill_layer.hpp + src/mbgl/renderer/layers/render_hillshade_layer.cpp + src/mbgl/renderer/layers/render_hillshade_layer.hpp src/mbgl/renderer/layers/render_line_layer.cpp src/mbgl/renderer/layers/render_line_layer.hpp src/mbgl/renderer/layers/render_raster_layer.cpp @@ -251,6 +261,8 @@ set(MBGL_CORE_FILES src/mbgl/renderer/sources/render_geojson_source.hpp src/mbgl/renderer/sources/render_image_source.cpp src/mbgl/renderer/sources/render_image_source.hpp + src/mbgl/renderer/sources/render_raster_dem_source.cpp + src/mbgl/renderer/sources/render_raster_dem_source.hpp src/mbgl/renderer/sources/render_raster_source.cpp src/mbgl/renderer/sources/render_raster_source.hpp src/mbgl/renderer/sources/render_vector_source.cpp @@ -285,6 +297,10 @@ set(MBGL_CORE_FILES src/mbgl/shaders/fill_outline_pattern.hpp src/mbgl/shaders/fill_pattern.cpp src/mbgl/shaders/fill_pattern.hpp + src/mbgl/shaders/hillshade.cpp + src/mbgl/shaders/hillshade.hpp + src/mbgl/shaders/hillshade_prepare.cpp + src/mbgl/shaders/hillshade_prepare.hpp src/mbgl/shaders/line.cpp src/mbgl/shaders/line.hpp src/mbgl/shaders/line_pattern.cpp @@ -479,6 +495,7 @@ set(MBGL_CORE_FILES include/mbgl/style/layers/custom_layer.hpp include/mbgl/style/layers/fill_extrusion_layer.hpp include/mbgl/style/layers/fill_layer.hpp + include/mbgl/style/layers/hillshade_layer.hpp include/mbgl/style/layers/line_layer.hpp include/mbgl/style/layers/raster_layer.hpp include/mbgl/style/layers/symbol_layer.hpp @@ -505,6 +522,11 @@ set(MBGL_CORE_FILES src/mbgl/style/layers/fill_layer_impl.hpp src/mbgl/style/layers/fill_layer_properties.cpp src/mbgl/style/layers/fill_layer_properties.hpp + src/mbgl/style/layers/hillshade_layer.cpp + src/mbgl/style/layers/hillshade_layer_impl.cpp + src/mbgl/style/layers/hillshade_layer_impl.hpp + src/mbgl/style/layers/hillshade_layer_properties.cpp + src/mbgl/style/layers/hillshade_layer_properties.hpp src/mbgl/style/layers/line_layer.cpp src/mbgl/style/layers/line_layer_impl.cpp src/mbgl/style/layers/line_layer_impl.hpp @@ -525,6 +547,7 @@ set(MBGL_CORE_FILES include/mbgl/style/sources/custom_geometry_source.hpp include/mbgl/style/sources/geojson_source.hpp include/mbgl/style/sources/image_source.hpp + include/mbgl/style/sources/raster_dem_source.hpp include/mbgl/style/sources/raster_source.hpp include/mbgl/style/sources/vector_source.hpp src/mbgl/style/sources/custom_geometry_source.cpp @@ -536,6 +559,7 @@ set(MBGL_CORE_FILES src/mbgl/style/sources/image_source.cpp src/mbgl/style/sources/image_source_impl.cpp src/mbgl/style/sources/image_source_impl.hpp + src/mbgl/style/sources/raster_dem_source.cpp src/mbgl/style/sources/raster_source.cpp src/mbgl/style/sources/raster_source_impl.cpp src/mbgl/style/sources/raster_source_impl.hpp @@ -587,6 +611,10 @@ set(MBGL_CORE_FILES src/mbgl/tile/geometry_tile_data.hpp src/mbgl/tile/geometry_tile_worker.cpp src/mbgl/tile/geometry_tile_worker.hpp + src/mbgl/tile/raster_dem_tile.cpp + src/mbgl/tile/raster_dem_tile.hpp + src/mbgl/tile/raster_dem_tile_worker.cpp + src/mbgl/tile/raster_dem_tile_worker.hpp src/mbgl/tile/raster_tile.cpp src/mbgl/tile/raster_tile.hpp src/mbgl/tile/raster_tile_worker.cpp diff --git a/cmake/test-files.cmake b/cmake/test-files.cmake index 381c609719..73f1546308 100644 --- a/cmake/test-files.cmake +++ b/cmake/test-files.cmake @@ -21,6 +21,9 @@ set(MBGL_TEST_FILES test/api/recycle_map.cpp test/api/zoom_history.cpp + # geometry + test/geometry/dem_data.test.cpp + # gl test/gl/bucket.test.cpp test/gl/context.test.cpp @@ -123,6 +126,7 @@ set(MBGL_TEST_FILES test/tile/custom_geometry_tile.test.cpp test/tile/geojson_tile.test.cpp test/tile/geometry_tile_data.test.cpp + test/tile/raster_dem_tile.test.cpp test/tile/raster_tile.test.cpp test/tile/tile_coordinate.test.cpp test/tile/tile_id.test.cpp |