diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-03-06 17:27:00 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-12 11:03:54 +0100 |
commit | 2a25270298f358f815b22c87ece74fd3f37a42b5 (patch) | |
tree | 37e8e3c08f2531c98c962aba6fdb227ed6212e2c /src/mbgl/gl/types.hpp | |
parent | 60ceac5efc3d77199f773f08400fe1d53d5a1b90 (diff) | |
download | qtlocation-mapboxgl-2a25270298f358f815b22c87ece74fd3f37a42b5.tar.gz |
[core] move Texture related enums to gfx namespace
Diffstat (limited to 'src/mbgl/gl/types.hpp')
-rw-r--r-- | src/mbgl/gl/types.hpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mbgl/gl/types.hpp b/src/mbgl/gl/types.hpp index 310960b970..ab6b72656b 100644 --- a/src/mbgl/gl/types.hpp +++ b/src/mbgl/gl/types.hpp @@ -42,27 +42,6 @@ enum class RenderbufferType : uint32_t { #endif // MBGL_USE_GLES2 }; -enum class TextureMipMap : bool { No = false, Yes = true }; -enum class TextureFilter : bool { Nearest = false, Linear = true }; -enum class TextureWrap : bool { Clamp, Repeat }; -enum class TextureFormat : uint32_t { - RGBA = 0x1908, - Alpha = 0x1906, -#if not MBGL_USE_GLES2 - Stencil = 0x1901, - Depth = 0x1902, -#endif // MBGL_USE_GLES2 -}; - -enum class TextureType : uint32_t { - UnsignedByte = 0x1401, -#if MBGL_USE_GLES2 - HalfFloat = 0x8D61, -#else - HalfFloat = 0x140B, -#endif // MBGL_USE_GLES2 -}; - struct PixelStorageType { int32_t alignment; }; |