va-android: same as X11, also always create a new VA display on android 11/811/1
authorAustin Yuan <shengquan.yuan@gmail.com>
Thu, 16 Jun 2011 05:58:11 +0000 (13:58 +0800)
committerAustin Yuan <shengquan.yuan@gmail.com>
Thu, 16 Jun 2011 06:03:27 +0000 (14:03 +0800)
commit5fb326b44e81fd919de2010dfe4b4b15dc3b2375
treed468a8f495018359882d69e20133413c623c48d4
parent3c1b6875b589f3a40709a889da85b979e34db625
va-android: same as X11, also always create a new VA display on android

Previously a VA display will be shared if a native display is shared by multiple threads,
it will casue some thread safety issue in a multi-threaded program.

Remove the global VADisplayContextP pDisplayContexts which is not thread safe

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
va/android/va_android.cpp