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>
This commit is contained in:
parent
5a9df18bfb
commit
27b8796f98
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user