[WK2][EFL] Cleanup of graphics related code in EwkView
https://bugs.webkit.org/show_bug.cgi?id=109377

Reviewed by Anders Carlsson.

* UIProcess/API/efl/EwkView.cpp:
(EwkView::EwkView):

    Initialize the evasGL dependencies here and
    set m_isAccelerated to false if this fails.

    Set the coordinated graphics scene as active
    when using fixed layout.

(EwkView::setSize):

    Add a method to set the size and user-viewport
    transform from the outside. The idea is moving
    this to our pure WK C API in the future.

(EwkView::transformFromScene):
(EwkView::transformToScene):

    Update the transform methods to use the user-
    viewport transform.

(EwkView::paintToCurrentGLContext):
(EwkView::paintToCairoSurface):

    Add methods to paint to either the current GL context
    or to a given cairo_surface_t (for software fallback
    cases).

(EwkView::displayTimerFired):

    Clean up and use the two above methods.

(EwkView::scheduleUpdateDisplay):

    Use the new size() methods instead of using the
    smart-object data directly.

(EwkView::createGLSurface):

    Make this method use size() to query the surface size
    and avoid creating the context (done in ctor now).
    Also avoid using the smart-object data directly.

(EwkView::enterAcceleratedCompositingMode):
(EwkView::exitAcceleratedCompositingMode):

    Turn on/off the use of the coord. graphics scene.

(EwkView::handleEvasObjectCalculate):

    Use the new setSize and setUserViewportTransform.

(EwkView::takeSnapshot):
* UIProcess/API/efl/EwkView.h:
(WebCore):
(EwkView):
(EwkView::size):
(EwkView::setUserViewportTransform):
(EwkView::userViewportTransform):

    Add the new method definitions and rename isHardwareAccelerated
    to isAccelerated which fits better with the naming in WebCore.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142758 268f45cc-cd09-0410-ab3c-d52691b4dbfc