OSDN Git Service

SurfaceFlinger: EventThread: Fix Vsync array size.
authorSaurabh Shah <saurshah@codeaurora.org>
Fri, 12 Jul 2013 21:42:40 +0000 (14:42 -0700)
committerJesse Hall <jessehall@google.com>
Fri, 12 Jul 2013 23:29:48 +0000 (16:29 -0700)
commit5c876fa6b2a75ccfa7efe97b5f660b9c19d280e0
tree091080aac9f776041fcd2d74f1853a7c37eef8fe
parentbb7272f137ad3558bba5ee3a31dcfe4f41cc797f
SurfaceFlinger: EventThread: Fix Vsync array size.

Vsync array size is specified as HWC_DISPLAY_TYPES_SUPPORTED whose
value luckily happens to be 2. That enum is actually used for querying
hwc for the number of displays supported.

The implementation file EventThread.cpp correctly accesses the array
upto HWC_NUM_DISPLAY_TYPES

Change-Id: I36e3f0913e7d6fda7bbf4449c1fb32c7f18bb934
Signed-off-by: Amara Venkata Mastan Manoj Kumar<manojavm@codeaurora.org>
Signed-off-by: Saurabh Shah <saurshah@codeaurora.org>
services/surfaceflinger/EventThread.h