[webkit-changes] [WebKit/WebKit] 1f9ac8: [WPE] WPE Platform: add stride parameter to WPEBuf...

Carlos Garcia Campos noreply at github.com
Mon Dec 18 22:14:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1f9ac8dd937e4d715a84f4a6c5d6fdfec5704cd8
      https://github.com/WebKit/WebKit/commit/1f9ac8dd937e4d715a84f4a6c5d6fdfec5704cd8
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M Source/WebKit/UIProcess/API/wpe/WPEWebView.cpp
    M Source/WebKit/UIProcess/wpe/AcceleratedBackingStoreDMABuf.cpp
    M Source/WebKit/WPEPlatform/wpe/WPEBufferSHM.cpp
    M Source/WebKit/WPEPlatform/wpe/WPEBufferSHM.h
    M Source/WebKit/WPEPlatform/wpe/WPEView.cpp
    M Source/WebKit/WPEPlatform/wpe/WPEView.h
    M Source/WebKit/WPEPlatform/wpe/drm/WPEDRMCursor.cpp
    M Source/WebKit/WPEPlatform/wpe/drm/WPEDRMCursor.h
    M Source/WebKit/WPEPlatform/wpe/drm/WPEViewDRM.cpp
    M Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp

  Log Message:
  -----------
  [WPE] WPE Platform: add stride parameter to WPEBufferSHM constructor
https://bugs.webkit.org/show_bug.cgi?id=266572

Reviewed by Adrian Perez de Castro.

And use a explicit stride for the custom cursors API too.

* Source/WebKit/UIProcess/API/wpe/WPEWebView.cpp:
(WKWPE::View::setCursor):
* Source/WebKit/UIProcess/wpe/AcceleratedBackingStoreDMABuf.cpp:
(WebKit::AcceleratedBackingStoreDMABuf::didCreateBufferSHM):
* Source/WebKit/WPEPlatform/wpe/WPEBufferSHM.cpp:
(wpeBufferSHMGetProperty):
(wpe_buffer_shm_class_init):
(wpe_buffer_shm_new):
(wpe_buffer_shm_get_stride):
* Source/WebKit/WPEPlatform/wpe/WPEBufferSHM.h:
* Source/WebKit/WPEPlatform/wpe/WPEView.cpp:
(wpe_view_set_cursor_from_bytes):
* Source/WebKit/WPEPlatform/wpe/WPEView.h:
* Source/WebKit/WPEPlatform/wpe/drm/WPEDRMCursor.cpp:
(WPE::DRM::Cursor::updateBuffer):
(WPE::DRM::Cursor::setFromName):
(WPE::DRM::Cursor::setFromBytes):
* Source/WebKit/WPEPlatform/wpe/drm/WPEDRMCursor.h:
* Source/WebKit/WPEPlatform/wpe/drm/WPEViewDRM.cpp:
(wpeViewDRMSetCursorFromBytes):
* Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp:
(sharedMemoryBufferCreate):
(createWaylandBufferSHM):

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




More information about the webkit-changes mailing list