diff options
author | 2013-08-16 15:53:46 +0000 | |
---|---|---|
committer | 2013-08-16 15:53:46 +0000 | |
commit | a8916ffd90c04dc6cc1fb9ba94af2ff950284fad (patch) | |
tree | 1103abb2a3409cadf8e3c7aacc84c5ecfd8dcf38 /include | |
parent | 2276c01920ab48b589941b4e930a087cc163a77e (diff) |
Change Atlas recycling to track current flush count and recycle if Atlas not used in current flush.
BUG=
R=bsalomon@google.com, robertphillips@google.com
Author: jvanverth@google.com
Review URL: https://chromiumcodereview.appspot.com/23120004
git-svn-id: http://skia.googlecode.com/svn/trunk@10777 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index ced251b204..13df5ce3ed 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -840,6 +840,7 @@ public: GrPathRendererChain::DrawType drawType = GrPathRendererChain::kColor_DrawType, GrPathRendererChain::StencilSupport* stencilSupport = NULL); + #if GR_CACHE_STATS void printCacheStats() const; #endif |