aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrBatch.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-08-07 08:11:19 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-07 08:11:19 -0700
commitca1f07eb5f976a39845721b434b780c5a705f3d9 (patch)
tree363aaeb3e04ba3d1fca11a8597cc2d9daaf3b41a /src/gpu/GrBatch.cpp
parentf1595185e3855580b881c3d9c05344695d019030 (diff)
Add Batch logging
Diffstat (limited to 'src/gpu/GrBatch.cpp')
-rw-r--r--src/gpu/GrBatch.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/GrBatch.cpp b/src/gpu/GrBatch.cpp
index e69819e2d3..7fee5f25c3 100644
--- a/src/gpu/GrBatch.cpp
+++ b/src/gpu/GrBatch.cpp
@@ -36,7 +36,9 @@ public:
};
}
-int32_t GrBatch::gCurrBatchClassID = GrBatch::kIllegalBatchClassID;
+int32_t GrBatch::gCurrBatchClassID = GrBatch::kIllegalBatchID;
+
+GrBATCH_SPEW(int32_t GrBatch::gCurrBatchUniqueID = GrBatch::kIllegalBatchID;)
void* GrBatch::operator new(size_t size) {
return MemoryPoolAccessor().pool()->allocate(size);