Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/gpu/GrContextOptions.h

Issue 1763883005: Attempt to combine batches in forward direction before flush (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix extra space Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DMSrcSink.cpp ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContextOptions.h
diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h
index 8e6368a38960574dcede2bd88c084ff421c2025f..d7070db555a567c2f93b31b51044f4a4af074ebb 100644
--- a/include/gpu/GrContextOptions.h
+++ b/include/gpu/GrContextOptions.h
@@ -23,6 +23,7 @@ struct GrContextOptions {
, fClipBatchToBounds(false)
, fDrawBatchBounds(false)
, fMaxBatchLookback(-1)
+ , fMaxBatchLookahead(-1)
, fUseShaderSwizzling(false) {}
// EXPERIMENTAL
@@ -64,8 +65,10 @@ struct GrContextOptions {
of their dev bounds. */
bool fDrawBatchBounds;
- /** For debugging, override the default maximum look-back window for GrBatch combining. */
+ /** For debugging, override the default maximum look-back or look-ahead window for GrBatch
+ combining. */
int fMaxBatchLookback;
+ int fMaxBatchLookahead;
/** Force us to do all swizzling manually in the shader and don't rely on extensions to do
swizzling. */
« no previous file with comments | « dm/DMSrcSink.cpp ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698