Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 061466c843bb851a8a51aeb44c3674fe852fdfdc
      
https://github.com/WebKit/WebKit/commit/061466c843bb851a8a51aeb44c3674fe852fdfdc
  Author: Carlos Garcia Campos <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to