From 27b8796f9826568b0b55a06cd0a7e3dc5fb378b9 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 9 Feb 2018 10:07:24 -0500 Subject: [PATCH] Re-enable explicit GPU resource allocation This relies on https://skia-review.googlesource.com/c/skia/+/106000 (Make atlases instantiate themselves at flush time) landing first Change-Id: I28be311c80e112d038594cb4fa9679ea7f9fea9a Reviewed-on: https://skia-review.googlesource.com/106060 Reviewed-by: Brian Salomon Commit-Queue: Robert Phillips --- src/gpu/GrResourceProvider.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gpu/GrResourceProvider.cpp b/src/gpu/GrResourceProvider.cpp index 17da9a7e8c..13c326a96a 100644 --- a/src/gpu/GrResourceProvider.cpp +++ b/src/gpu/GrResourceProvider.cpp @@ -30,11 +30,6 @@ GR_DECLARE_STATIC_UNIQUE_KEY(gQuadIndexBufferKey); const uint32_t GrResourceProvider::kMinScratchTextureSize = 16; -// Turn on/off the explicit distribution of GPU resources at flush time -#ifndef SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION - #define SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION -#endif - #ifdef SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION static const bool kDefaultExplicitlyAllocateGPUResources = false; #else