Add support to disable Lock Surface during run time. 69/15769/1 accepted/tizen/generic accepted/tizen/ivi/stable accepted/tizen/generic/20140204.172039 accepted/tizen/generic/20140312.095413 accepted/tizen/ivi/20140205.035047 accepted/tizen/ivi/panda/20140312.111155 accepted/tizen/ivi/release/20140312.124159 accepted/tizen/mobile/20140227.070319 submit/tizen/20140204.162401 submit/tizen/20140312.070729 submit/tizen_ivi_release/20140312.071200
authorKondapally Kalyan <kalyan.kondapally@intel.com>
Thu, 23 Jan 2014 17:48:21 +0000 (19:48 +0200)
committerGeoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Mon, 27 Jan 2014 19:37:35 +0000 (20:37 +0100)
commit90bce41a62eba54ba7fac222d6820ca3bdc44789
tree8ed8098e23bd5f2ab16903f74f728d6434fcf5a7
parent9a3a2d4e76c5e70200900dec4a1e95827482f7a3
Add support to disable Lock Surface during run time.

With Mesa support enabled, we always assume support for LockSurface.
However, we may need to disable the support in cases like vmware.
This patch adds support to disable lock surface usage if
TIZEN_SHARED_PLATFORM_SURFACE_LOCK_DISABLE env variable is set.

Fix TIVI-1859 and TIVI-2648

Change-Id: Idc293b2931b6b42bfc0f701bbb39972a95e49d91
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Source/WebCore/platform/graphics/efl/tizen/SharedPlatformSurfaceTizen.cpp