From 425d6bc58416930763e9a74755ff64b6bc9771db Mon Sep 17 00:00:00 2001 From: ExMix Date: Wed, 8 Jul 2015 12:36:57 +0300 Subject: [drape] clean up drape_head code. Remove QtOGLContextFactory duplicate in qt application make rendering according qt widgets composition model --- drape_head/testing_engine.hpp | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'drape_head/testing_engine.hpp') 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 -#include - namespace df { -class TestingEngine : public QObject +class TestingEngine { public: - TestingEngine(ref_ptr 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 m_contextFactory; drape_ptr m_batcher; drape_ptr m_programManager; drape_ptr m_textures; -- cgit v1.2.3