OSDN Git Service

SurfaceFlinger: remove a driver bug workaround
authorJamie Gennis <jgennis@google.com>
Mon, 4 Feb 2013 22:43:07 +0000 (14:43 -0800)
committerJamie Gennis <jgennis@google.com>
Mon, 4 Feb 2013 22:43:07 +0000 (14:43 -0800)
Change-Id: I7478293e87899d6e467db8c2f9e295935c8b1d4e

services/surfaceflinger/Layer.cpp

index f94a9ba..0cc03e1 100644 (file)
@@ -539,9 +539,6 @@ void Layer::onPostComposition() {
 
         const HWComposer& hwc = mFlinger->getHwComposer();
         sp<Fence> presentFence = hwc.getDisplayFence(HWC_DISPLAY_PRIMARY);
-        // XXX: Temporarily don't use the present fence from HWC to work
-        // around a driver bug.
-        presentFence.clear();
         if (presentFence != NULL) {
             mFrameTracker.setActualPresentFence(presentFence);
         } else {