OSDN Git Service

Initialize DisplayData fences to NO_FENCE, not NULL
authorJesse Hall <jessehall@google.com>
Thu, 28 Feb 2013 00:39:25 +0000 (16:39 -0800)
committerJesse Hall <jessehall@google.com>
Thu, 28 Feb 2013 00:48:41 +0000 (16:48 -0800)
commita9a1b006e48320f5c501473e51e6c4a5f7a17b88
tree207392431f987d38f511bf5cbb08e085e63ddb12
parent3e010f3138593cc6953039ee0e3db8ee31881296
Initialize DisplayData fences to NO_FENCE, not NULL

Also fix another place that was checking for NULL fence rather than
Fence::isValid().

Bug 8283950

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