commit | d6bbbf8a831cc982cda9b91e84c5600c631af5b2 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Sep 05 15:46:34 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Sep 05 15:46:34 2012 +0000 |
tree | a3fd3baba90992eb8cdc8a2306ce6185d721c6f4 | |
parent | 73bb3bee937ce55b5bcdb9e480e14fb4df809e5d [diff] [blame] |
Simplified stencil buffer caching https://codereview.appspot.com/6503073/ git-svn-id: http://skia.googlecode.com/svn/trunk@5400 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/gpu/GrRenderTarget.h b/include/gpu/GrRenderTarget.h index d6e8ee0..f3add50 100644 --- a/include/gpu/GrRenderTarget.h +++ b/include/gpu/GrRenderTarget.h
@@ -168,6 +168,10 @@ fTexture = NULL; } + // override of GrResource + virtual void onAbandon() SK_OVERRIDE; + virtual void onRelease() SK_OVERRIDE; + private: GrStencilBuffer* fStencilBuffer; GrTexture* fTexture; // not ref'ed