diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-05-05 12:50:47 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-05-14 10:58:00 +0300 |
commit | d18aec9b8bda58817cdfa672b03b613a50f0d239 (patch) | |
tree | 20e25cae759f10dbf9b29918b33c6695e188581b /drape/texture.hpp | |
parent | 42efb105af25eccdc3e8739e931cd540872b1fd3 (diff) |
Added OpenGL ES3 support
Diffstat (limited to 'drape/texture.hpp')
-rw-r--r-- | drape/texture.hpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drape/texture.hpp b/drape/texture.hpp index 12237e9622..b795855793 100644 --- a/drape/texture.hpp +++ b/drape/texture.hpp @@ -1,9 +1,9 @@ #pragma once -#include "drape/pointers.hpp" -#include "drape/glconstants.hpp" #include "drape/drape_global.hpp" +#include "drape/glconstants.hpp" #include "drape/hw_texture.hpp" +#include "drape/pointers.hpp" #include "geometry/rect2d.hpp" @@ -12,7 +12,6 @@ namespace dp { - class Texture { public: @@ -37,7 +36,6 @@ public: public: ResourceInfo(m2::RectF const & texRect); virtual ~ResourceInfo() {} - virtual ResourceType GetType() const = 0; m2::RectF const & GetTexRect() const; @@ -52,7 +50,6 @@ public: virtual void UpdateState() {} virtual bool HasAsyncRoutines() const { return false; } virtual bool HasEnoughSpace(uint32_t /*newKeysCount*/) const { return true; } - using Params = HWTexture::Params; void Create(Params const & params); @@ -81,5 +78,4 @@ protected: private: drape_ptr<HWTexture> m_hwTexture; }; - -} // namespace dp +} // namespace dp |