Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Unified Diff: src/gpu/GrAtlas.cpp

Issue 23137022: Replace uses of GR_DEBUG by SK_DEBUG. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: not GR_RELEASE Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrAllocPool.cpp ('k') | src/gpu/GrBinHashKey.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrAtlas.cpp
diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp
index 9776326f953c71fa03e8b0486ac7d6ea694c3ee7..865478bf0687136fab695d70972bacc77eb28338 100644
--- a/src/gpu/GrAtlas.cpp
+++ b/src/gpu/GrAtlas.cpp
@@ -40,7 +40,7 @@
#define BORDER 1
-#if GR_DEBUG
+#ifdef SK_DEBUG
static int gCounter;
#endif
@@ -63,7 +63,7 @@ GrAtlas::GrAtlas(GrAtlasMgr* mgr, int plotX, int plotY, GrMaskFormat format) :
fMaskFormat = format;
-#if GR_DEBUG
+#ifdef SK_DEBUG
// GrPrintf(" GrAtlas %p [%d %d] %d\n", this, plotX, plotY, gCounter);
gCounter += 1;
#endif
@@ -74,7 +74,7 @@ GrAtlas::~GrAtlas() {
delete fRects;
-#if GR_DEBUG
+#ifdef SK_DEBUG
--gCounter;
// GrPrintf("~GrAtlas %p [%d %d] %d\n", this, fPlot.fX, fPlot.fY, gCounter);
#endif
« no previous file with comments | « src/gpu/GrAllocPool.cpp ('k') | src/gpu/GrBinHashKey.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698