diff options
author | 2016-03-07 11:50:44 -0800 | |
---|---|---|
committer | 2016-03-07 11:50:44 -0800 | |
commit | aecc018f86d911198b7c7775cee04f61bd10b430 (patch) | |
tree | e952d99ee53a5437878203018a2e955152457eac /src/gpu/GrContext.cpp | |
parent | 673748a3201a1611bc1c484e18ba558661d2839c (diff) |
Attempt to combine batches in forward direction before flush
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1763883005
Review URL: https://codereview.chromium.org/1763883005
Diffstat (limited to 'src/gpu/GrContext.cpp')
-rw-r--r-- | src/gpu/GrContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 8844f1ac83..a16d5c009a 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -95,6 +95,7 @@ void GrContext::initCommon(const GrContextOptions& options) { dtOptions.fClipBatchToBounds = options.fClipBatchToBounds; dtOptions.fDrawBatchBounds = options.fDrawBatchBounds; dtOptions.fMaxBatchLookback = options.fMaxBatchLookback; + dtOptions.fMaxBatchLookahead = options.fMaxBatchLookahead; fDrawingManager.reset(new GrDrawingManager(this, dtOptions, &fSingleOwner)); // GrBatchFontCache will eventually replace GrFontCache |