forked from organicmaps/organicmaps
Replace _DEBUG by DEBUG
This commit is contained in:
parent
ba924fc21c
commit
3fe528014b
5 changed files with 12 additions and 12 deletions
|
@ -395,7 +395,7 @@ namespace graphics
|
|||
m_notProcessedElements.clear();
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
void Overlay::validateNotProcessed()
|
||||
{
|
||||
vector<OverlayElement *> v;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "../base/matrix.hpp"
|
||||
#include "../base/mutex.hpp"
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
#include "../base/thread.hpp"
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@ namespace graphics
|
|||
class Overlay
|
||||
{
|
||||
private:
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
threads::ThreadID m_threadID;
|
||||
#endif
|
||||
|
||||
|
@ -97,7 +97,7 @@ namespace graphics
|
|||
void clearNotProcessed();
|
||||
void deleteNotProcessed();
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
void validateNotProcessed();
|
||||
#endif
|
||||
|
||||
|
@ -109,7 +109,7 @@ namespace graphics
|
|||
m_tree.ForEach(fn);
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
void setThreadID(threads::ThreadID id)
|
||||
{
|
||||
m_threadID = id;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "defines.hpp"
|
||||
#include "../std/vector.hpp"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
#include "../base/object_tracker.hpp"
|
||||
#endif
|
||||
|
||||
|
@ -49,7 +49,7 @@ namespace graphics
|
|||
|
||||
math::Matrix<double, 3, 3> m_inverseMatrix;
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
dbg::ObjectTracker m_tracker;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "../graphics/opengl/gl_render_context.hpp"
|
||||
|
||||
#include "../base/logging.hpp"
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
#include "../base/thread.hpp"
|
||||
#endif
|
||||
|
||||
|
@ -84,7 +84,7 @@ ScreenCoverage * CoverageGenerator::CreateCoverage()
|
|||
|
||||
void CoverageGenerator::InitializeThreadGL()
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
m_overlay.setThreadID(threads::GetCurrentThreadID());
|
||||
#endif
|
||||
|
||||
|
@ -217,7 +217,7 @@ void CoverageGenerator::CoverScreen(core::CommandsQueue::Environment const & env
|
|||
|
||||
m_workCoverage->SetSequenceID(sequenceID);
|
||||
m_workCoverage->SetScreen(screen);
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
m_overlay.validateTread(threads::GetCurrentThreadID());
|
||||
#endif
|
||||
m_workCoverage->MergeOverlay(&m_overlay);
|
||||
|
@ -271,7 +271,7 @@ void CoverageGenerator::MergeTile(core::CommandsQueue::Environment const & env,
|
|||
//LOG(LDEBUG, ("UVRLOG : MergeTile s=", rectInfo.m_tileScale, " x=", rectInfo.m_x, " y=", rectInfo.m_y, " SequenceID=", sequenceID, " m_SequenceID=", m_sequenceID));
|
||||
m_currentCoverage->CopyInto(*m_workCoverage);
|
||||
m_workCoverage->SetSequenceID(sequenceID);
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
m_overlay.validateTread(threads::GetCurrentThreadID());
|
||||
#endif
|
||||
m_workCoverage->Merge(rectInfo, &m_overlay);
|
||||
|
|
|
@ -269,7 +269,7 @@ void TileRenderer::DrawTile(core::CommandsQueue::Environment const & env,
|
|||
if (!env.isCancelled())
|
||||
tileOverlay->clip(renderRect);
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef DEBUG
|
||||
tileOverlay->validateNotProcessed();
|
||||
#endif
|
||||
tileOverlay->deleteNotProcessed();
|
||||
|
|
Loading…
Add table
Reference in a new issue