summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Jorim Jaggi <jjaggi@google.com> 2016-04-08 14:35:12 -0700
committer Jorim Jaggi <jjaggi@google.com> 2016-04-09 03:51:14 +0000
commitc6a607aa7ab96f6b1bac487cffd1899e1f1cdcf5 (patch)
treec931e388aaf1c143e49f06c444ed37a3b18a4f85 /libs/gui/SurfaceComposerClient.cpp
parent97a46df0ee9708822f190a76047c490f54c199cd (diff)
Death to synchronous transactions (1/2)
Bug: 28068298 Change-Id: I0a9a212a4b19793cf2830193152c53c03b651970
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
-rw-r--r--libs/gui/SurfaceComposerClient.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp
index 418892a1c3..f031296cec 100644
--- a/libs/gui/SurfaceComposerClient.cpp
+++ b/libs/gui/SurfaceComposerClient.cpp
@@ -291,9 +291,6 @@ status_t Composer::setSize(const sp<SurfaceComposerClient>& client,
s->w = w;
s->h = h;
- // Resizing a surface makes the transaction synchronous.
- mForceSynchronous = true;
-
return NO_ERROR;
}
@@ -454,7 +451,6 @@ void Composer::setDisplayProjection(const sp<IBinder>& token,
s.viewport = layerStackRect;
s.frame = displayRect;
s.what |= DisplayState::eDisplayProjectionChanged;
- mForceSynchronous = true; // TODO: do we actually still need this?
}
void Composer::setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height) {