OSDN Git Service

make sure we don't call into the HWC HAL when not needed
authorMathias Agopian <mathias@google.com>
Thu, 4 Oct 2012 09:34:38 +0000 (02:34 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Thu, 4 Oct 2012 22:25:32 +0000 (15:25 -0700)
commit81cd5d3b94d21253a0be925f4ae58cc7f4afeef7
treedecaf197dbbf88bf64a2547a241ec6df19a2bfe5
parent27ec5739bc05330e08b02f25b62a8f597bad897a
make sure we don't call into the HWC HAL when not needed

when enabling/disabling vsync we now make sure to
not call into the HAL if the state wouldn't change.

Bug: 7274951

Change-Id: Ie24a6d68888a51b577acf9c2a973d85437cbacaf
services/surfaceflinger/DisplayHardware/HWComposer.cpp
services/surfaceflinger/DisplayHardware/HWComposer.h
services/surfaceflinger/EventThread.cpp
services/surfaceflinger/SurfaceFlinger.cpp
services/surfaceflinger/SurfaceFlinger.h