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
path: root/map
diff options
context:
space:
mode:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2018-08-01 15:34:06 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2018-08-01 16:21:56 +0300
commit0b7f3017fe6eeb25d14e22bac45271de4c53be01 (patch)
tree42f797cf352b2ab450979ea0bafc563be6e73a7a /map
parentbc461840fe7462cb6d55cd3f577824de07583e0c (diff)
Graphics context. Review fixes.
Diffstat (limited to 'map')
-rw-r--r--map/framework.cpp4
-rw-r--r--map/framework.hpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/map/framework.cpp b/map/framework.cpp
index de93263fe8..a6df297552 100644
--- a/map/framework.cpp
+++ b/map/framework.cpp
@@ -1698,7 +1698,7 @@ bool Framework::GetDistanceAndAzimut(m2::PointD const & point,
return (d < 25000.0);
}
-void Framework::CreateDrapeEngine(ref_ptr<dp::GraphicContextFactory> contextFactory, DrapeCreationParams && params)
+void Framework::CreateDrapeEngine(ref_ptr<dp::GraphicsContextFactory> contextFactory, DrapeCreationParams && params)
{
auto idReadFn = [this](df::MapDataProvider::TReadCallback<FeatureID const> const & fn,
m2::RectD const & r,
@@ -1862,7 +1862,7 @@ void Framework::DestroyDrapeEngine()
}
}
-void Framework::SetRenderingEnabled(ref_ptr<dp::GraphicContextFactory> contextFactory)
+void Framework::SetRenderingEnabled(ref_ptr<dp::GraphicsContextFactory> contextFactory)
{
m_isRenderingEnabled = true;
if (m_drapeEngine)
diff --git a/map/framework.hpp b/map/framework.hpp
index d0e1b3b6ef..d2f916309b 100644
--- a/map/framework.hpp
+++ b/map/framework.hpp
@@ -25,7 +25,7 @@
#include "drape_frontend/drape_engine.hpp"
#include "drape_frontend/user_event_stream.hpp"
-#include "drape/graphic_context_factory.hpp"
+#include "drape/graphics_context_factory.hpp"
#include "kml/type_utils.hpp"
@@ -471,12 +471,12 @@ public:
df::Hints m_hints;
};
- void CreateDrapeEngine(ref_ptr<dp::GraphicContextFactory> contextFactory, DrapeCreationParams && params);
+ void CreateDrapeEngine(ref_ptr<dp::GraphicsContextFactory> contextFactory, DrapeCreationParams && params);
ref_ptr<df::DrapeEngine> GetDrapeEngine();
bool IsDrapeEngineCreated() const { return m_drapeEngine != nullptr; }
void DestroyDrapeEngine();
/// Called when graphics engine should be temporarily paused and then resumed.
- void SetRenderingEnabled(ref_ptr<dp::GraphicContextFactory> contextFactory = nullptr);
+ void SetRenderingEnabled(ref_ptr<dp::GraphicsContextFactory> contextFactory = nullptr);
void SetRenderingDisabled(bool destroyContext);
void OnRecoverGLContext(int width, int height);