Avoid round trip to display for every surface creation. 07/7907/3
authorKondapally Kalyan <kalyan.kondapally@intel.com>
Mon, 12 Aug 2013 05:43:13 +0000 (08:43 +0300)
committerJoone Hur <joone.hur@intel.com>
Wed, 14 Aug 2013 14:58:13 +0000 (07:58 -0700)
commite27d5f1ce644875be61f67e072faca8aafd92848
treec4b963ce196b7a5993a1b6547d0ec3b59455fff0
parent421738c622cf20e411c28120fe30e01e134ef75d
Avoid round trip to display for every surface creation.

We currently do a round trip every time a surface is created.
This patch changes it so that instead of doing to for every surface,
we handle the synchronization once all the current tile updates are
done in WebProcess side.

Change-Id: I444d8bfa35e3bbf82bf11b78512eb03d1325b897
Source/WebCore/platform/graphics/surfaces/egl/EGLWaylandSurface.cpp
Source/WebCore/platform/graphics/surfaces/egl/EGLWaylandSurface.h
Source/WebCore/platform/graphics/surfaces/wayland/WaylandDisplay.cpp
Source/WebCore/platform/graphics/surfaces/wayland/WaylandDisplay.h
Source/WebCore/platform/graphics/surfaces/wayland/WaylandSurface.cpp
Source/WebCore/platform/graphics/surfaces/wayland/WaylandSurface.h
Source/WebKit2/WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp