diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-09 14:29:32 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-09 14:29:32 +0000 |
commit | 95c2003740c4cd01fd1b02ed93b9de7227b1d0f5 (patch) | |
tree | 2d7b57d758cdd573433e236c0797d3614f92d40c /bench/benchmain.cpp | |
parent | 063e6b40a367ba2cb30120e574f1b9f323be3a6e (diff) |
cleanup GrContext resource cache api
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/275563005
git-svn-id: http://skia.googlecode.com/svn/trunk@14669 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/benchmain.cpp')
-rw-r--r-- | bench/benchmain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp index 3080a0f022..e2cc9c160f 100644 --- a/bench/benchmain.cpp +++ b/bench/benchmain.cpp @@ -433,14 +433,14 @@ int tool_main(int argc, char** argv) { size_t bytes; int count; - context->getTextureCacheLimits(&count, &bytes); + context->getResourceCacheLimits(&count, &bytes); if (-1 != FLAGS_gpuCacheBytes) { bytes = static_cast<size_t>(FLAGS_gpuCacheBytes); } if (-1 != FLAGS_gpuCacheCount) { count = FLAGS_gpuCacheCount; } - context->setTextureCacheLimits(count, bytes); + context->setResourceCacheLimits(count, bytes); #endif } |