summaryrefslogtreecommitdiff
path: root/include/mbgl/renderer/mode.hpp
blob: 6ff42d8058cec2da78d80d74ac3e348fea6ce9ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <cstdint>

namespace mbgl {

using EnumType = uint32_t;

// We can avoid redundant GL calls when it is known that the GL context is not
// being shared. In a shared GL context case, we need to make sure that the
// correct GL configurations are in use - they might have changed between render
// calls.
enum class GLContextMode : EnumType {
    Unique,
    Shared,
};

} // namespace mbgl