diff options
author | John Reck <jreck@google.com> | 2018-04-18 16:13:31 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2018-04-18 16:18:17 -0700 |
commit | 1a4a981199860f0f9c4738dc426d8349e16b0dd5 (patch) | |
tree | 3581ca62e7f6ad57d8728332b11937869c0f88fa /libs/hwui/renderthread/CanvasContext.h | |
parent | d4e5725d457cf64efd06cfdae66c2ba68441fdac (diff) |
Revert "Add support for render-ahead"
This reverts commit ec100976e0655acaa204c8800dfb83dadae20cc8.
Reason for revert: b/77971494
Test: hwuiunit passes
Change-Id: I2e7dc719d2df1dd939b275496c0edc38e458c434
Diffstat (limited to 'libs/hwui/renderthread/CanvasContext.h')
-rw-r--r-- | libs/hwui/renderthread/CanvasContext.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.h b/libs/hwui/renderthread/CanvasContext.h index 930498af3da7..aaef85a5b1bc 100644 --- a/libs/hwui/renderthread/CanvasContext.h +++ b/libs/hwui/renderthread/CanvasContext.h @@ -78,7 +78,7 @@ public: bool createOrUpdateLayer(RenderNode* node, const DamageAccumulator& dmgAccumulator, ErrorHandler* errorHandler) { return mRenderPipeline->createOrUpdateLayer(node, dmgAccumulator, mWideColorGamut, - errorHandler); + errorHandler); } /** @@ -188,8 +188,6 @@ public: IRenderPipeline* getRenderPipeline() { return mRenderPipeline.get(); } - void setRenderAheadDepth(int renderAhead); - private: CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, IContextFactory* contextFactory, std::unique_ptr<IRenderPipeline> renderPipeline); @@ -202,7 +200,6 @@ private: void freePrefetchedLayers(); bool isSwapChainStuffed(); - void updateBufferCount(); SkRect computeDirtyRect(const Frame& frame, SkRect* dirty); @@ -228,7 +225,6 @@ private: RingBuffer<SwapHistory, 3> mSwapHistory; int64_t mFrameNumber = -1; - int mRenderAheadDepth = 0; // last vsync for a dropped frame due to stuffed queue nsecs_t mLastDropVsync = 0; |