Revert "Always explicitly allocate except in Android Framework"
This reverts commit e157745dfc8d76fdf9afb2bb4275e55b590f1306.
Reason for revert: Too exciting
Original change's description:
> 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>
TBR=bsalomon@google.com,robertphillips@google.com
Change-Id: Icb097844de6db92e8151c81616a758837ecd9dfc
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/199929
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h
index a73be43..e12fd13 100644
--- a/include/gpu/GrContextOptions.h
+++ b/include/gpu/GrContextOptions.h
@@ -145,8 +145,15 @@
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 but, eventually, this will just be what is done and will not be optional.
+ * behavior that is only relevant when 'fExplicitlyAllocateGPUResources' is enabled.
+ * Eventually this will just be what is done and will not be optional.
*/
Enable fSortRenderTargets = Enable::kDefault;