Add context option to reduce opList splitting

This is split out of: https://skia-review.googlesource.com/c/skia/+/143113 (Reduce arbitrary opList splitting when sorting (take 3)).
It needs to be behind a context option because, without mini-flushes, it can cause OOM on smaller devices (e.g., Nexus7 and AndroidOne).

Change-Id: Icde3302bd033a9c4634bb0ca97c950456e73db7c
Reviewed-on: https://skia-review.googlesource.com/c/160763
Reviewed-by: Greg Daniel <egdaniel@google.com>
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 79f6503..6337f77 100644
--- a/include/gpu/GrContextOptions.h
+++ b/include/gpu/GrContextOptions.h
@@ -172,6 +172,13 @@
     Enable fSortRenderTargets = Enable::kDefault;
 
     /**
+     * Allow Ganesh to more aggressively reorder operations. This is an optional
+     * behavior that is only relevant when 'fSortRenderTargets' is enabled.
+     * Eventually this will just be what is done and will not be optional.
+     */
+    Enable fReduceOpListSplitting = Enable::kDefault;
+
+    /**
      * Some ES3 contexts report the ES2 external image extension, but not the ES3 version.
      * If support for external images is critical, enabling this option will cause Ganesh to limit
      * shaders to the ES2 shading language in that situation.