diff options
author | Robert Phillips <robertphillips@google.com> | 2017-11-09 13:57:06 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-10 12:39:17 +0000 |
commit | 2188e09490d09c54e604bf9a3c2b6fe7912520f3 (patch) | |
tree | 2017a10a9030791c3598a09931afc6f5d0be80fa /src/gpu/GrRenderTargetContext.cpp | |
parent | 832536627766185a3fa3baf2bbf145a545d001a1 (diff) |
Update MDB flags to match switches in Chrome & Android
Change-Id: Ifea5879ab83499c9b1a3572747088f9233b20074
Reviewed-on: https://skia-review.googlesource.com/69540
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContext.cpp')
-rw-r--r-- | src/gpu/GrRenderTargetContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrRenderTargetContext.cpp b/src/gpu/GrRenderTargetContext.cpp index fd82920d34..ecb325af27 100644 --- a/src/gpu/GrRenderTargetContext.cpp +++ b/src/gpu/GrRenderTargetContext.cpp @@ -158,7 +158,7 @@ GrRenderTargetContext::GrRenderTargetContext(GrContext* context, , fInstancedPipelineInfo(fRenderTargetProxy.get()) , fSurfaceProps(SkSurfacePropsCopyOrDefault(surfaceProps)) , fManagedOpList(managedOpList) { -#ifndef MDB_ALLOC_RESOURCES +#ifdef SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION // MDB TODO: to ensure all resources still get allocated in the correct order in the hybrid // world we need to get the correct opList here so that it, in turn, can grab and hold // its rendertarget. |