summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/BufferQueueLayer.cpp
diff options
context:
space:
mode:
authorAlec Mouri <alecmouri@google.com>2019-02-04 19:33:44 +0000
committerAlec Mouri <alecmouri@google.com>2019-02-04 12:02:41 -0800
commit79108df863d454369ee61cdb70f6d14c8414e30e (patch)
tree60737575ca009d1c0f4b93c5d1c7d8a7728a1821 /services/surfaceflinger/BufferQueueLayer.cpp
parent0e87539913e3fe631730b40c1f2c0be2fcee66d8 (diff)
downloadandroid_frameworks_native-79108df863d454369ee61cdb70f6d14c8414e30e.tar.gz
android_frameworks_native-79108df863d454369ee61cdb70f6d14c8414e30e.tar.bz2
android_frameworks_native-79108df863d454369ee61cdb70f6d14c8414e30e.zip
Revert "Use renderengine::drawLayers api everywhere."
This reverts commit 0f7148365cfa405e8ed802b33c0e2a7b790fcf42. Reason for revert: b/123878751, preparing while i investigate Bug: 123878751 Test: bug no longer repros Change-Id: I6c77427f0c113f96b68aec479ccec52b0bbb2c6b
Diffstat (limited to 'services/surfaceflinger/BufferQueueLayer.cpp')
-rw-r--r--services/surfaceflinger/BufferQueueLayer.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/services/surfaceflinger/BufferQueueLayer.cpp b/services/surfaceflinger/BufferQueueLayer.cpp
index edfeb0bcf..42021d118 100644
--- a/services/surfaceflinger/BufferQueueLayer.cpp
+++ b/services/surfaceflinger/BufferQueueLayer.cpp
@@ -306,7 +306,7 @@ status_t BufferQueueLayer::updateTexImage(bool& recomputeVisibleRegions, nsecs_t
status_t BufferQueueLayer::updateActiveBuffer() {
// update the active buffer
- mActiveBuffer = mConsumer->getCurrentBuffer(&mActiveBufferSlot, &mActiveBufferFence);
+ mActiveBuffer = mConsumer->getCurrentBuffer(&mActiveBufferSlot);
getBE().compositionInfo.mBuffer = mActiveBuffer;
getBE().compositionInfo.mBufferSlot = mActiveBufferSlot;
@@ -317,10 +317,6 @@ status_t BufferQueueLayer::updateActiveBuffer() {
return NO_ERROR;
}
-bool BufferQueueLayer::useCachedBufferForClientComposition() const {
- return mConsumer->getAndSetCurrentBufferCacheHint();
-}
-
status_t BufferQueueLayer::updateFrameNumber(nsecs_t latchTime) {
mPreviousFrameNumber = mCurrentFrameNumber;
mCurrentFrameNumber = mConsumer->getFrameNumber();