summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOpenGLStyleLayer_Private.h
blob: cce062b53ded189554f38888c6a07c0d45adc81b (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::CustomLayerFactory {
    // LayerPeerFactory overrides.
    LayerFactory* getCoreLayerFactory() final { return this; }
    virtual MGLStyleLayer* createPeer(style::Layer*) final;
};
    
}  // namespace mbgl