commit | 4d73ac22a1b99402fc8cff78a4eb4b27aa8fe019 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jun 13 18:54:08 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jun 13 18:54:08 2012 +0000 |
tree | e12e9be96cdc105dfc275ee9ada6982d81d3e4fb | |
parent | 972265db219ce25b5159879c75e6c62efaf0fa79 [diff] [blame] |
Version 2 of the Instance Counting system. This one simplifies the print out of information. http://codereview.appspot.com/6296069/ git-svn-id: http://skia.googlecode.com/svn/trunk@4255 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp index 4f4c5f5..67ce629 100644 --- a/src/gpu/GrTexture.cpp +++ b/src/gpu/GrTexture.cpp
@@ -14,6 +14,8 @@ #include "GrRenderTarget.h" #include "GrResourceCache.h" +SK_DEFINE_INST_COUNT(GrTexture) + bool GrTexture::readPixels(int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes) {