diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-13 18:54:08 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-13 18:54:08 +0000 |
commit | 5402c06820a293e8293e052266d9fbdb8ab42033 (patch) | |
tree | e1d3d8c5525b92b08ba3bba414274cda8b5b2ca0 /gpu/GrRenderTarget.cpp | |
parent | cc54d8c4dad693a523ad29b12ee4a4630f575953 (diff) | |
download | src-5402c06820a293e8293e052266d9fbdb8ab42033.tar.gz |
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/src@4255 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/GrRenderTarget.cpp')
-rw-r--r-- | gpu/GrRenderTarget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/GrRenderTarget.cpp b/gpu/GrRenderTarget.cpp index be084446..071c885c 100644 --- a/gpu/GrRenderTarget.cpp +++ b/gpu/GrRenderTarget.cpp @@ -13,6 +13,8 @@ #include "GrGpu.h" #include "GrStencilBuffer.h" +SK_DEFINE_INST_COUNT(GrRenderTarget) + bool GrRenderTarget::readPixels(int left, int top, int width, int height, GrPixelConfig config, void* buffer, size_t rowBytes) { |