[core] remove gl.hpp from all headers that don't need it

This commit is contained in:
Konstantin Käfer
2016-11-04 18:03:29 +01:00
parent 7b772611d5
commit afd43eea3a
9 changed files with 1 additions and 12 deletions

View File

@@ -2,8 +2,6 @@
#import "MGLMapView_Private.h"
#import <mbgl/gl/gl.hpp>
@implementation MGLOpenGLLayer
- (MGLMapView *)mapView {

View File

@@ -5,7 +5,6 @@
#include "qt_geojson.hpp"
#include <mbgl/annotation/annotation.hpp>
#include <mbgl/gl/gl.hpp>
#include <mbgl/gl/context.hpp>
#include <mbgl/map/camera.hpp>
#include <mbgl/map/map.hpp>

View File

@@ -1,5 +1,4 @@
#include <mbgl/geometry/line_atlas.hpp>
#include <mbgl/gl/gl.hpp>
#include <mbgl/gl/context.hpp>
#include <mbgl/platform/log.hpp>
#include <mbgl/platform/platform.hpp>

View File

@@ -5,8 +5,6 @@
#include <mbgl/geometry/debug_font_data.hpp>
#include <mbgl/util/string.hpp>
#include <mbgl/gl/gl.hpp>
#include <cmath>
#include <string>
#include <vector>

View File

@@ -5,7 +5,6 @@
#include <mbgl/shader/fill_pattern_shader.hpp>
#include <mbgl/shader/fill_outline_shader.hpp>
#include <mbgl/shader/fill_outline_pattern_shader.hpp>
#include <mbgl/gl/gl.hpp>
#include <mbgl/platform/log.hpp>
#include <mapbox/earcut.hpp>

View File

@@ -1,7 +1,6 @@
#include <mbgl/renderer/frame_history.hpp>
#include <mbgl/math/minmax.hpp>
#include <mbgl/gl/context.hpp>
#include <mbgl/gl/gl.hpp>
#include <cassert>

View File

@@ -8,7 +8,6 @@
#include <mbgl/map/view.hpp>
#include <mbgl/platform/log.hpp>
#include <mbgl/gl/gl.hpp>
#include <mbgl/gl/debugging.hpp>
#include <mbgl/style/style.hpp>
@@ -197,7 +196,7 @@ void Painter::render(const Style& style, const FrameData& frame_, View& view, Sp
renderPass(parameters,
RenderPass::Translucent,
order.begin(), order.end(),
static_cast<GLsizei>(order.size()) - 1, -1);
static_cast<uint32_t>(order.size()) - 1, -1);
if (debug::renderTree) { Log::Info(Event::Render, "}"); indent--; }

View File

@@ -1,6 +1,5 @@
#include <mbgl/shader/symbol_vertex.hpp>
#include <mbgl/gl/shader.hpp>
#include <mbgl/gl/gl.hpp>
namespace mbgl {

View File

@@ -3,7 +3,6 @@
#include <mbgl/platform/default/headless_backend.hpp>
#include <mbgl/platform/default/offscreen_view.hpp>
#include <mbgl/gl/gl.hpp>
#include <mbgl/gl/context.hpp>
#include <memory>