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

#include "MGLStyleLayer_Private.h"

#include <mbgl/layermanager/custom_layer_factory.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