Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorExMix <rahuba.youri@mapswithme.com>2015-07-08 12:36:57 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:09:31 +0300
commit425d6bc58416930763e9a74755ff64b6bc9771db (patch)
tree946a9d2067390bc749fb352b5c7e6ef69b096056 /drape_head/testing_engine.hpp
parent4e8d7d40e78f1fa7ca55b7b107ecab6e19d978e0 (diff)
[drape] clean up drape_head code. Remove QtOGLContextFactory duplicate
in qt application make rendering according qt widgets composition model
Diffstat (limited to 'drape_head/testing_engine.hpp')
-rw-r--r--drape_head/testing_engine.hpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/drape_head/testing_engine.hpp b/drape_head/testing_engine.hpp
index fa06db5dd7..fb8c175dce 100644
--- a/drape_head/testing_engine.hpp
+++ b/drape_head/testing_engine.hpp
@@ -12,28 +12,18 @@
#include "std/map.hpp"
-#include <QObject>
-#include <QEvent>
-
namespace df
{
-class TestingEngine : public QObject
+class TestingEngine
{
public:
- TestingEngine(ref_ptr<dp::OGLContextFactory> oglcontextfactory,
- Viewport const & viewport,
- double vs);
+ TestingEngine(Viewport const & viewport, double vs);
~TestingEngine();
void Draw();
void Resize(int w, int h);
-protected:
- void timerEvent(QTimerEvent * e);
-
- int m_timerId;
-
private:
void DrawImpl();
void DrawRects();
@@ -43,7 +33,6 @@ private:
void ClearScene();
private:
- ref_ptr<dp::OGLContextFactory> m_contextFactory;
drape_ptr<dp::Batcher> m_batcher;
drape_ptr<dp::GpuProgramManager> m_programManager;
drape_ptr<dp::TextureManager> m_textures;