commit | 292a6b2cf02e2335188a7fcd380703318b77016d | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Thu Feb 14 14:49:02 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Feb 14 21:47:28 2019 +0000 |
tree | 8fe525ec16038477145b79d99ed9dd78d0df1474 | |
parent | 83597ce58102c0a071a09683e76327bd48560abd [diff] [blame] |
Allow GrRecordingContext to create surfaceContexts This is pulled out of https://skia-review.googlesource.com/c/skia/+/191287 (Move DrawingManager to RecordingContext) Change-Id: Iba16acd9295ef7ca9d8cc96d439a907050228b6b Reviewed-on: https://skia-review.googlesource.com/c/192684 Reviewed-by: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrResourceProvider.h b/src/gpu/GrResourceProvider.h index af3db69..1a9924b 100644 --- a/src/gpu/GrResourceProvider.h +++ b/src/gpu/GrResourceProvider.h
@@ -54,7 +54,7 @@ }; GrResourceProvider(GrGpu*, GrResourceCache*, GrSingleOwner*, - GrContextOptions::Enable explicitlyAllocateGPUResources); + bool explicitlyAllocateGPUResources); /** * Finds a resource in the cache, based on the specified key. Prior to calling this, the caller