diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-03-01 17:57:08 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:52:55 +0300 |
commit | 3581b92f8c732cccdfeb7c20da2a31d7e0a13189 (patch) | |
tree | e5a7fa5d804c79b3b52f7051e55655bf88f12e10 /drape/render_bucket.cpp | |
parent | 72dbdb6a1834ec618b3529a99b2130e358f83910 (diff) |
Memory feature index removed.
Diffstat (limited to 'drape/render_bucket.cpp')
-rw-r--r-- | drape/render_bucket.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/drape/render_bucket.cpp b/drape/render_bucket.cpp index c18bcd997c..8210088d04 100644 --- a/drape/render_bucket.cpp +++ b/drape/render_bucket.cpp @@ -114,36 +114,6 @@ void RenderBucket::SetFeatureMinZoom(int minZoom) m_featuresMinZoom = minZoom; } -void RenderBucket::StartFeatureRecord(FeatureGeometryId feature, const m2::RectD & limitRect) -{ - m_featureInfo = make_pair(feature, FeatureGeometryInfo(limitRect)); - m_buffer->ResetChangingTracking(); -} - -void RenderBucket::EndFeatureRecord(bool featureCompleted) -{ - ASSERT(m_featureInfo.first.IsValid(), ()); - m_featureInfo.second.m_featureCompleted = featureCompleted; - if (m_buffer->IsChanged()) - m_featuresGeometryInfo.insert(m_featureInfo); - m_featureInfo = TFeatureInfo(); -} - -void RenderBucket::AddFeaturesInfo(RenderBucket const & bucket) -{ - for (auto const & info : bucket.m_featuresGeometryInfo) - m_featuresGeometryInfo.insert(info); -} - -bool RenderBucket::IsFeaturesWaiting(TCheckFeaturesWaiting isFeaturesWaiting) -{ - ASSERT(IsShared(), ()); - for (auto const & featureRange : m_featuresGeometryInfo) - if (isFeaturesWaiting(featureRange.second.m_limitRect)) - return true; - return false; -} - void RenderBucket::RenderDebug(ScreenBase const & screen) const { #ifdef RENDER_DEBUG_RECTS |