OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5ae33c
)
Delete surfacefinger Layer::latchBuffer code
author
Fabien Sanglard
<sanglardf@google.com>
Thu, 13 Oct 2016 20:01:25 +0000
(13:01 -0700)
committer
Fabien Sanglard
<sanglardf@google.com>
Tue, 8 Nov 2016 18:19:36 +0000
(10:19 -0800)
Delete unreachable code.
Change-Id: I6d895838cc4e0b84642f2c67d44306ba23696329
services/surfaceflinger/Layer.cpp
patch
|
blob
|
history
diff --git
a/services/surfaceflinger/Layer.cpp
b/services/surfaceflinger/Layer.cpp
index
f9e93d3
..
2c02c27
100644
(file)
--- a/
services/surfaceflinger/Layer.cpp
+++ b/
services/surfaceflinger/Layer.cpp
@@
-2056,12
+2056,6
@@
Region Layer::latchBuffer(bool& recomputeVisibleRegions)
mFlinger->signalLayerUpdate();
}
- if (updateResult != NO_ERROR) {
- // something happened!
- recomputeVisibleRegions = true;
- return outDirtyRegion;
- }
-
// update the active buffer
mActiveBuffer = mSurfaceFlingerConsumer->getCurrentBuffer();
if (mActiveBuffer == NULL) {