Implement EGL Lock Surface extension runtime check 35/3335/1
authorKalyan Kondapally <kalyan.kondapally@intel.com>
Tue, 16 Apr 2013 11:05:33 +0000 (14:05 +0300)
committerMikko Ylinen <mikko.ylinen@intel.com>
Tue, 16 Apr 2013 11:05:33 +0000 (14:05 +0300)
commit18e32a8c5cf3850a20b9eec0053be1b09b8c23ab
tree9407a9b0462c424638478b471f7550d37c6d2475
parent9adca5e1af3f0dea9a5829a67ab13e236d00b238
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
Source/WebCore/platform/graphics/efl/SharedPlatformSurfaceEfl.cpp
Source/WebCore/platform/graphics/efl/SharedPlatformSurfaceEfl.h
Source/WebKit2/UIProcess/LayerTreeCoordinatorProxy.cpp
Source/WebKit2/UIProcess/WebLayerTreeRenderer.h
Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp