diff options
author | 2015-08-07 08:11:19 -0700 | |
---|---|---|
committer | 2015-08-07 08:11:19 -0700 | |
commit | ca1f07eb5f976a39845721b434b780c5a705f3d9 (patch) | |
tree | 363aaeb3e04ba3d1fca11a8597cc2d9daaf3b41a /src/gpu/GrBatch.cpp | |
parent | f1595185e3855580b881c3d9c05344695d019030 (diff) |
Add Batch logging
BUG=skia:
Review URL: https://codereview.chromium.org/1276913002
Diffstat (limited to 'src/gpu/GrBatch.cpp')
-rw-r--r-- | src/gpu/GrBatch.cpp | 4 |
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); |