summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandar Stojiljkovic <aleksandar.stojiljkovic@mapbox.com>2019-04-23 16:10:08 +0300
committerAleksandar Stojiljkovic <aleksandar.stojiljkovic@mapbox.com>2019-04-23 16:10:08 +0300
commitc1e12c80d57c6e56438a23df533db969c893df77 (patch)
treea2e93fed30163eb8e4b670f1433e0d18257ac9ca
parent125e3138ef240099df922a39f4b3d8bfebf54b48 (diff)
downloadqtlocation-mapboxgl-c1e12c80d57c6e56438a23df533db969c893df77.tar.gz
Remove unused includes and forward declarationsupstream/astojilj-remove-re-linking
-rw-r--r--src/mbgl/gl/attribute.cpp1
-rw-r--r--src/mbgl/gl/attribute.hpp9
2 files changed, 0 insertions, 10 deletions
diff --git a/src/mbgl/gl/attribute.cpp b/src/mbgl/gl/attribute.cpp
index 5e6269b6ac..d5240b5b7a 100644
--- a/src/mbgl/gl/attribute.cpp
+++ b/src/mbgl/gl/attribute.cpp
@@ -1,6 +1,5 @@
#include <mbgl/gl/attribute.hpp>
#include <mbgl/gl/context.hpp>
-#include <mbgl/gl/defines.hpp>
namespace mbgl {
namespace gl {
diff --git a/src/mbgl/gl/attribute.hpp b/src/mbgl/gl/attribute.hpp
index 34b923d3c6..41fce3d96a 100644
--- a/src/mbgl/gl/attribute.hpp
+++ b/src/mbgl/gl/attribute.hpp
@@ -2,18 +2,12 @@
#include <mbgl/gfx/attribute.hpp>
#include <mbgl/gl/types.hpp>
-#include <mbgl/util/ignore.hpp>
#include <mbgl/util/literal.hpp>
-#include <mbgl/util/indexed_tuple.hpp>
#include <mbgl/util/optional.hpp>
-#include <cstddef>
#include <vector>
-#include <set>
-#include <functional>
#include <string>
#include <array>
-#include <limits>
namespace mbgl {
namespace gl {
@@ -21,9 +15,6 @@ namespace gl {
using AttributeBindingArray = std::vector<optional<gfx::AttributeBinding>>;
using NamedAttributeLocations = std::vector<std::pair<const std::string, AttributeLocation>>;
-class Context;
-void bindAttributeLocation(Context&, ProgramID, AttributeLocation, const char * name);
-std::set<std::string> getActiveAttributes(ProgramID);
optional<AttributeLocation> queryLocation(ProgramID id, const char* name);
template <class>