OSDN Git Service

make the warning timout of Fence::waitForever() implicit and longer
authorMathias Agopian <mathias@google.com>
Fri, 17 May 2013 01:03:22 +0000 (18:03 -0700)
committerMathias Agopian <mathias@google.com>
Fri, 17 May 2013 01:15:57 +0000 (18:15 -0700)
commitea74d3b78d607cde17790a7bb83e6f68ffd34cfd
tree5f8c6c6905868d4f92c6834ddf46d6e42981116b
parentf743e3db27dd639421913ee5e99d7a13ccc236ea
make the warning timout of Fence::waitForever() implicit and longer

- timeout is now 3 seconds instead of 1
- simplifies the API a bit
- allows us to change/tweak this timeout globaly

Bug: 8988871

Change-Id: I8d3c6ec43a372f602fb3f29856710339f86c0ec9
include/ui/Fence.h
libs/gui/BufferItemConsumer.cpp
libs/gui/CpuConsumer.cpp
libs/gui/GLConsumer.cpp
libs/gui/Surface.cpp
libs/ui/Fence.cpp
services/surfaceflinger/DisplayHardware/HWComposer.cpp