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

#include "MGLStyleLayer_Private.h"

#include <mbgl/gl/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