aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRenderTargetContext.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-11-09 13:57:06 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-10 12:39:17 +0000
commit2188e09490d09c54e604bf9a3c2b6fe7912520f3 (patch)
tree2017a10a9030791c3598a09931afc6f5d0be80fa /src/gpu/GrRenderTargetContext.cpp
parent832536627766185a3fa3baf2bbf145a545d001a1 (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.cpp2
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.