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

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: common.gypi 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
Index: src/gpu/GrAtlas.cpp
diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp
index 9184929efc9e1bc034b3f7028989d766b57cd96c..775534443ec5483e9dcd5202a7e87bae270a2afc 100644
--- a/src/gpu/GrAtlas.cpp
+++ b/src/gpu/GrAtlas.cpp
@@ -40,7 +40,7 @@
#define BORDER 1
-#if GR_DEBUG
+#if 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
+#if 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
+#if SK_DEBUG
--gCounter;
// GrPrintf("~GrAtlas %p [%d %d] %d\n", this, fPlot.fX, fPlot.fY, gCounter);
#endif
« include/gpu/GrConfig.h ('K') | « src/gpu/GrAllocPool.cpp ('k') | src/gpu/GrBinHashKey.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698