1#pragma once
2
3#include <cstdint>
4
5namespace mbgl {
6
7using EnumType = uint32_t;
8
9// We can avoid redundant GL calls when it is known that the GL context is not
10// being shared. In a shared GL context case, we need to make sure that the
11// correct GL configurations are in use - they might have changed between render
12// calls.
13enum class GLContextMode : EnumType {
14 Unique,
15 Shared,
16};
17
18} // namespace mbgl
19

source code of qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/renderer/mode.hpp