aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-02-09 10:07:24 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-09 17:53:11 +0000
commit27b8796f9826568b0b55a06cd0a7e3dc5fb378b9 (patch)
tree0305f4725870e5af6a83d29ed8e7a6a825376879 /src
parent5a9df18bfbc65ba08815b1a40f080bf885a5c3dd (diff)
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 <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrResourceProvider.cpp5
1 files changed, 0 insertions, 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