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. */ |