[webkit-changes] [WebKit/WebKit] 061466: [WPE] WPE Platform: add API to set user data to WP...

Carlos Garcia Campos noreply at github.com
Wed Dec 20 06:25:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 061466c843bb851a8a51aeb44c3674fe852fdfdc
      https://github.com/WebKit/WebKit/commit/061466c843bb851a8a51aeb44c3674fe852fdfdc
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M Source/WebKit/WPEPlatform/wpe/WPEBuffer.cpp
    M Source/WebKit/WPEPlatform/wpe/WPEBuffer.h
    M Source/WebKit/WPEPlatform/wpe/drm/WPEViewDRM.cpp
    M Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp

  Log Message:
  -----------
  [WPE] WPE Platform: add API to set user data to WPEBuffer
https://bugs.webkit.org/show_bug.cgi?id=266701

Reviewed by Michael Catanzaro.

It's common to associate a platform buffer to a WPEBuffer. We currently
use g_object_set_data_full for that, but it's more covenient with the
API provides a specific API for it.

* Source/WebKit/WPEPlatform/wpe/WPEBuffer.cpp:
(wpeBufferDispose):
(wpe_buffer_class_init):
(wpe_buffer_set_user_data):
(wpe_buffer_get_user_data):
* Source/WebKit/WPEPlatform/wpe/WPEBuffer.h:
* Source/WebKit/WPEPlatform/wpe/drm/WPEViewDRM.cpp:
(drmBufferCreateDMABuf):
(wpeViewDRMRequestUpdate):
(wpeViewDRMRenderBuffer):
* Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp:
(createWaylandBufferFromDMABuf):
(createWaylandBufferSHM):

Canonical link: https://commits.webkit.org/272344@main




More information about the webkit-changes mailing list