summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOpenGLStyleLayer_Private.h
blob: 1188c50cd5e0b7d541fa7aef27e672ff2f5bf795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "MGLStyleLayer_Private.h"

#include <mbgl/style/layers/custom_layer.hpp>

namespace mbgl {
    
class OpenGLStyleLayerPeerFactory : public LayerPeerFactory, public mbgl::style::CustomLayerFactory {
    // LayerPeerFactory overrides.
    style::LayerFactory* getCoreLayerFactory() final { return this; }
    virtual MGLStyleLayer* createPeer(style::Layer*) final;
};
    
}  // namespace mbgl