summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/texture.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-06 18:26:32 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-12 11:03:54 +0100
commita7f151ab487d656340d4ace415abacf9e8cecbf9 (patch)
tree49d4ed12f2cbb8a256f4acbd6603d955f22907a2 /src/mbgl/gl/texture.hpp
parent2a25270298f358f815b22c87ece74fd3f37a42b5 (diff)
downloadqtlocation-mapboxgl-a7f151ab487d656340d4ace415abacf9e8cecbf9.tar.gz
[core] move Texture to the gfx namespace
Diffstat (limited to 'src/mbgl/gl/texture.hpp')
-rw-r--r--src/mbgl/gl/texture.hpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/mbgl/gl/texture.hpp b/src/mbgl/gl/texture.hpp
deleted file mode 100644
index 1b85ac6ebc..0000000000
--- a/src/mbgl/gl/texture.hpp
+++ /dev/null
@@ -1,33 +0,0 @@
-#pragma once
-
-#include <mbgl/gfx/types.hpp>
-#include <mbgl/gl/object.hpp>
-#include <mbgl/util/size.hpp>
-
-namespace mbgl {
-namespace gl {
-
-class Texture {
-public:
- Texture(Size size_, UniqueTexture texture_,
- gfx::TextureFilterType filter_ = gfx::TextureFilterType::Nearest,
- gfx::TextureMipMapType mipmap_ = gfx::TextureMipMapType::No,
- gfx::TextureWrapType wrapX_ = gfx::TextureWrapType::Clamp,
- gfx::TextureWrapType wrapY_ = gfx::TextureWrapType::Clamp)
- : size(std::move(size_)),
- texture(std::move(texture_)),
- filter(filter_),
- mipmap(mipmap_),
- wrapX(wrapX_),
- wrapY(wrapY_) {}
-
- Size size;
- UniqueTexture texture;
- gfx::TextureFilterType filter;
- gfx::TextureMipMapType mipmap;
- gfx::TextureWrapType wrapX;
- gfx::TextureWrapType wrapY;
-};
-
-} // namespace gl
-} // namespace mbgl