summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/default/headless_display.hpp
blob: 433df952fd267962ab8f5144fd8091791f9854ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <mbgl/gl/implementation.hpp>

#include <memory>

namespace mbgl {

class HeadlessDisplay {
public:
    HeadlessDisplay();
    ~HeadlessDisplay();

    template <typename DisplayAttribute>
    DisplayAttribute attribute() const;

private:
    class Impl;
    std::unique_ptr<Impl>  impl;
};

} // namespace mbgl