[EFL] There are many warnings with software backend
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 May 2014 12:42:32 +0000 (12:42 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 May 2014 12:42:32 +0000 (12:42 +0000)
commitd87f1980caa055c34fc0ed11c575a940f44f4771
treec0906750b01851f7495e87170e536cabb5463ba6
parent27809e179bef0553373c49c8628c8b3f15ca5fb2
[EFL] There are many warnings with software backend
https://bugs.webkit.org/show_bug.cgi?id=132422

Reviewed by Gyuyoung Kim.

Source/WebCore:
ecore_evas_gl_x11_window_get should be called when only engine is opengl_x11.

This patch refactors not to call unnecessary API by checking engine type.
In addition, removed unnecessary isUsingEcoreX().

* platform/efl/EflScreenUtilities.cpp:
(WebCore::applyFallbackCursor):
(WebCore::getEcoreXWindow):
(WebCore::isUsingEcoreX): Deleted.
* platform/efl/EflScreenUtilities.h:

Source/WebKit/efl:
* ewk/ewk_view.cpp:
(_ewk_view_priv_new):
(ewk_view_cursor_set):

Source/WebKit2:
* UIProcess/API/efl/EwkView.cpp:
(EwkView::updateCursor):
(EwkView::transformToScreen):

Source/WTF:
* wtf/efl/EflTypedefs.h: Added Ecore_X_Window typedef

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@168094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/efl/EflTypedefs.h
Source/WebCore/ChangeLog
Source/WebCore/platform/efl/EflScreenUtilities.cpp
Source/WebCore/platform/efl/EflScreenUtilities.h
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/ewk/ewk_view.cpp
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/efl/EwkView.cpp