aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTexturePriv.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-03-22 10:04:27 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-22 14:42:11 +0000
commitfbb56ce83fc717b7c6722324bbccd1ae73c350a4 (patch)
tree0025d8cca6e55eb2fd25b370f7c1bded5e5e910c /src/gpu/GrTexturePriv.h
parentb667fe2f67a072da74d7a7da32cae4f06a2f0ee4 (diff)
Add a new GrResourceCache purging mechanism for purging unused resources.
The client may call GrContext::purgeResourceNotUsedSince() with a stead_clock::time_point and all resources that have been purgeable since before that time point are purged. This is intended to replace the "max unused flushes" purging mechanism once Chrome adopts it. Change-Id: I28881dd2959cc01c0acca81b2d6001ee5626439d Reviewed-on: https://skia-review.googlesource.com/8920 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Eric Karl <ericrk@google.com>
Diffstat (limited to 'src/gpu/GrTexturePriv.h')
0 files changed, 0 insertions, 0 deletions