From 2188e09490d09c54e604bf9a3c2b6fe7912520f3 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Thu, 9 Nov 2017 13:57:06 -0500 Subject: Update MDB flags to match switches in Chrome & Android Change-Id: Ifea5879ab83499c9b1a3572747088f9233b20074 Reviewed-on: https://skia-review.googlesource.com/69540 Reviewed-by: Brian Salomon Commit-Queue: Robert Phillips --- src/gpu/GrRenderTargetContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/GrRenderTargetContext.cpp') 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. -- cgit v1.2.3