diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-03-15 10:02:47 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-15 11:55:30 +0100 |
commit | 2d799cc74a0f1c845d436b3bc23fce7ec70dbf49 (patch) | |
tree | 4b93f13513752632ebfd58504c8a367ae20b043c /src/mbgl/programs/background_program.hpp | |
parent | 7a6d9f537335a9f1e46f49da4ba4d79723fb1c2e (diff) | |
download | qtlocation-mapboxgl-2d799cc74a0f1c845d436b3bc23fce7ec70dbf49.tar.gz |
[core] make Program interface backend-agnosticupstream/gfx-refactor-4
Diffstat (limited to 'src/mbgl/programs/background_program.hpp')
-rw-r--r-- | src/mbgl/programs/background_program.hpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mbgl/programs/background_program.hpp b/src/mbgl/programs/background_program.hpp index a8bcd9dc3c..b1ade6dc84 100644 --- a/src/mbgl/programs/background_program.hpp +++ b/src/mbgl/programs/background_program.hpp @@ -4,14 +4,9 @@ #include <mbgl/programs/attributes.hpp> #include <mbgl/programs/uniforms.hpp> #include <mbgl/programs/textures.hpp> -#include <mbgl/shaders/background.hpp> -#include <mbgl/shaders/background_pattern.hpp> #include <mbgl/util/geometry.hpp> #include <mbgl/util/mat4.hpp> #include <mbgl/util/size.hpp> -#include <mbgl/style/layers/background_layer_properties.hpp> - -#include <string> namespace mbgl { @@ -46,7 +41,6 @@ using BackgroundPatternUniforms = TypeList< class BackgroundProgram : public Program< BackgroundProgram, - shaders::background, gfx::PrimitiveType::Triangle, BackgroundLayoutAttributes, BackgroundUniforms, @@ -59,7 +53,6 @@ public: class BackgroundPatternProgram : public Program< BackgroundPatternProgram, - shaders::background_pattern, gfx::PrimitiveType::Triangle, BackgroundLayoutAttributes, BackgroundPatternUniforms, @@ -85,7 +78,7 @@ using BackgroundAttributes = BackgroundProgram::AttributeList; class BackgroundLayerPrograms final : public LayerTypePrograms { public: - BackgroundLayerPrograms(gl::Context& context, const ProgramParameters& programParameters) + BackgroundLayerPrograms(gfx::Context& context, const ProgramParameters& programParameters) : background(context, programParameters), backgroundPattern(context, programParameters) {} BackgroundProgram background; |