Changeset 172856 in webkit


Ignore:
Timestamp:
Aug 22, 2014 1:19:52 AM (10 years ago)
Author:
zandobersek@gmail.com
Message:

[GTK] Add the Wayland protocol extension
https://bugs.webkit.org/show_bug.cgi?id=136102

Reviewed by Martin Robinson.

Add the Wayland protocol extension that allows mapping GtkWidget
objects (via an ID that's unique to that GtkWidget) to the
corresponding Wayland surface objects. This way the nested
compositor has the proper information about what GtkWidget has
to be updated when surfaces are committed by the LayerTreeHost.

  • PlatformGTK.cmake:
  • platform/graphics/wayland: Added.
  • platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml: Added.
Location:
trunk/Source/WebCore
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r172854 r172856  
     12014-08-22  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [GTK] Add the Wayland protocol extension
     4        https://bugs.webkit.org/show_bug.cgi?id=136102
     5
     6        Reviewed by Martin Robinson.
     7
     8        Add the Wayland protocol extension that allows mapping GtkWidget
     9        objects (via an ID that's unique to that GtkWidget) to the
     10        corresponding Wayland surface objects. This way the nested
     11        compositor has the proper information about what GtkWidget has
     12        to be updated when surfaces are committed by the LayerTreeHost.
     13
     14        * PlatformGTK.cmake:
     15        * platform/graphics/wayland: Added.
     16        * platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml: Added.
     17
    1182014-08-21  Antti Koivisto  <antti@apple.com>
    219
  • trunk/Source/WebCore/PlatformGTK.cmake

    r172540 r172856  
    423423         ${GTK2_LIBRARIES}
    424424         ${GDK2_LIBRARIES}
     425    )
     426endif ()
     427
     428# Wayland protocol extension.
     429add_custom_command(
     430    OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandClientProtocol.c
     431    DEPENDS ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml
     432    COMMAND wayland-scanner server-header < ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml > ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandServerProtocol.h
     433    COMMAND wayland-scanner client-header < ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml > ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandClientProtocol.h
     434    COMMAND wayland-scanner code < ${WEBCORE_DIR}/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml > ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandClientProtocol.c
     435)
     436
     437if (ENABLE_WAYLAND_TARGET)
     438    list(APPEND WebCorePlatformGTK_SOURCES
     439        ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitGtkWaylandClientProtocol.c
    425440    )
    426441endif ()
Note: See TracChangeset for help on using the changeset viewer.