From c6a607aa7ab96f6b1bac487cffd1899e1f1cdcf5 Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Fri, 8 Apr 2016 14:35:12 -0700 Subject: Death to synchronous transactions (1/2) Bug: 28068298 Change-Id: I0a9a212a4b19793cf2830193152c53c03b651970 --- libs/gui/SurfaceComposerClient.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libs/gui/SurfaceComposerClient.cpp') 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& 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& 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& token, uint32_t width, uint32_t height) { -- cgit v1.2.3-59-g8ed1b