diff options
author | robertphillips <robertphillips@google.com> | 2016-10-04 05:30:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-04 05:30:20 -0700 |
commit | ee843b2ae4d75748d8bc323287f0c310fad548a7 (patch) | |
tree | d77d56b16702800f5fb489531690dd27278a8bf2 /src/gpu/GrDrawingManager.h | |
parent | 2ebd0c80a2a9d90a2c2c653f40a2a7205bd2d31b (diff) |
Revert of Make GrResourceCache dynamically change between LRU and random replacement strategies. (patchset #8 id:140001 of https://codereview.chromium.org/2321563006/ )
Reason for revert:
Causing problems on Mac & Windows bots.
Original issue's description:
> Make GrResourceCache dynamically change between LRU and random replacement strategies.
>
> Random performs significantly better when each frame exceeds the budget by a small margin whereas LRU has worst case behavior.
>
> The decision of which to use is made based on the history from a few frames of the ratio of total unique key cache misses to unique key cache misses of resources purged in the last 2 frames.
> GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2321563006
>
> Committed: https://skia.googlesource.com/skia/+/0f147ac2ae575bbad3515a526f13700bc5c8e9d7
TBR=bsalomon@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review-Url: https://codereview.chromium.org/2386993004
Diffstat (limited to 'src/gpu/GrDrawingManager.h')
-rw-r--r-- | src/gpu/GrDrawingManager.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gpu/GrDrawingManager.h b/src/gpu/GrDrawingManager.h index 3e90d3bd17..9fced38163 100644 --- a/src/gpu/GrDrawingManager.h +++ b/src/gpu/GrDrawingManager.h @@ -76,7 +76,6 @@ private: , fSoftwarePathRenderer(nullptr) , fFlushState(context->getGpu(), context->resourceProvider()) , fFlushing(false) - , fLastFlushType(GrResourceCache::FlushType::kExternal) , fIsImmediateMode(isImmediateMode) { } @@ -108,7 +107,6 @@ private: GrBatchFlushState fFlushState; bool fFlushing; - GrResourceCache::FlushType fLastFlushType; bool fIsImmediateMode; }; |