Implement EGL Lock Surface extension runtime check 75/3575/1
authorKalyan Kondapally <kalyan.kondapally@intel.com>
Sat, 18 May 2013 22:12:54 +0000 (15:12 -0700)
committerRusty Lynch <rusty.lynch@intel.com>
Sun, 19 May 2013 01:22:49 +0000 (18:22 -0700)
commitc5374086e6b7c47b9b685c0d53bf0ac92b662545
treeb2997f5e817534258888eee706b2034fe3f56d1d
parentbad3a8af64622b463fb955049e5c107b3a5934dc
Implement EGL Lock Surface extension runtime check

mesa does not support EGL Lock Surface extension which causes webpage rendering
to fail if ENABLE_TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE is enabled.

ENABLE_TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE is still needed for
HW accelerated video and WebGL. With this patch,
ENABLE_TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE can be enabled and
web pages still render correctly.

Change-Id: I7e0db439896f35ad50f4d3443a229b285f11a737
Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Source/WTF/wtf/Platform.h [changed mode: 0755->0644]
Source/WebCore/platform/graphics/efl/tizen/SharedPlatformSurfaceTizen.cpp
Source/WebCore/platform/graphics/efl/tizen/SharedPlatformSurfaceTizen.h
Source/WebKit2/UIProcess/LayerTreeCoordinatorProxy.cpp
Source/WebKit2/UIProcess/WebLayerTreeRenderer.h
Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp