1 | #pragma once |
---|---|
2 | |
3 | #include <cstdint> |
4 | |
5 | namespace mbgl { |
6 | |
7 | using 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. |
13 | enum class GLContextMode : EnumType { |
14 | Unique, |
15 | Shared, |
16 | }; |
17 | |
18 | } // namespace mbgl |
19 |