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:
Diffstat (limited to 'drape_head/qtoglcontextfactory.cpp')
-rw-r--r--drape_head/qtoglcontextfactory.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/drape_head/qtoglcontextfactory.cpp b/drape_head/qtoglcontextfactory.cpp
deleted file mode 100644
index 28ce15cdae..0000000000
--- a/drape_head/qtoglcontextfactory.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-#include "drape_head/qtoglcontextfactory.hpp"
-
-#include "base/assert.hpp"
-
-QtOGLContextFactory::QtOGLContextFactory(QWindow * surface)
- : m_surface(surface)
- , m_drawContext(NULL)
- , m_uploadContext(NULL)
-{}
-
-QtOGLContextFactory::~QtOGLContextFactory()
-{
- delete m_drawContext;
- delete m_uploadContext;
-}
-
-dp::OGLContext * QtOGLContextFactory::getDrawContext()
-{
- if (m_drawContext == NULL)
- m_drawContext = new QtOGLContext(m_surface, m_uploadContext);
-
- return m_drawContext;
-}
-
-dp::OGLContext * QtOGLContextFactory::getResourcesUploadContext()
-{
- if (m_uploadContext == NULL)
- m_uploadContext = new QtOGLContext(m_surface, m_drawContext);
-
- return m_uploadContext;
-}