Always explicitly allocate except in Android Framework
This will turn on explicit allocation (w/o opList sorting) in Chrome. It leaves the old allocation system in place in Android Framework and some of Skia's older bots.
Change-Id: Idc02985e52f074894a251c7335ef00b009c72ccd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/199725
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h
index e12fd13..a73be43 100644
--- a/include/gpu/GrContextOptions.h
+++ b/include/gpu/GrContextOptions.h
@@ -145,15 +145,8 @@
Enable fUseDrawInsteadOfClear = Enable::kDefault;
/**
- * Allow Ganesh to explicitly allocate resources at flush time rather than incrementally while
- * drawing. This will eventually just be the way it is but, for now, it is optional.
- */
- Enable fExplicitlyAllocateGPUResources = Enable::kDefault;
-
- /**
* Allow Ganesh to sort the opLists prior to allocating resources. This is an optional
- * behavior that is only relevant when 'fExplicitlyAllocateGPUResources' is enabled.
- * Eventually this will just be what is done and will not be optional.
+ * behavior but, eventually, this will just be what is done and will not be optional.
*/
Enable fSortRenderTargets = Enable::kDefault;