commit | 5ec26ae9bfca635ccc98283aad5deda11519d826 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Thu Feb 25 08:33:02 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Feb 25 08:33:02 2016 -0800 |
tree | a95104e6a32178a9e3fd7305ed8ed59a6d0a0102 | |
parent | f7e865a33a14007450259012a3ab7ec4ddc6f5b9 [diff] [blame] |
Move Budgeted enum out of SkSurface, use in GrTextureProvider BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1728093005 DOCS_PREVIEW= https://skia.org/?cl=1728093005 Committed: https://skia.googlesource.com/skia/+/57599fe6c0336feaeeeb9b1996e77b70219b483c CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot Review URL: https://codereview.chromium.org/1728093005
diff --git a/src/gpu/GrGpuResourceCacheAccess.h b/src/gpu/GrGpuResourceCacheAccess.h index 8c27242..70fe085 100644 --- a/src/gpu/GrGpuResourceCacheAccess.h +++ b/src/gpu/GrGpuResourceCacheAccess.h
@@ -27,7 +27,7 @@ */ bool isScratch() const { return !fResource->getUniqueKey().isValid() && fResource->fScratchKey.isValid() && - fResource->resourcePriv().isBudgeted(); + SkBudgeted::kYes == fResource->resourcePriv().isBudgeted(); } /**