Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 378c859a6e51b19ea340d33aa44de3e1c7e84c71 https://github.com/WebKit/WebKit/commit/378c859a6e51b19ea340d33aa44de3e1c7e84c71 Author: Diego Pino Garcia <dp...@igalia.com> Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths: M Source/WebKit/WPEPlatform/wpe/drm/WPEDRM.cpp M Source/WebKit/WPEPlatform/wpe/drm/WPEDRM.h M Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp M Source/WebKit/WPEPlatform/wpe/drm/WPEScreenDRM.cpp M Source/WebKit/WPEPlatform/wpe/drm/WPEScreenDRMPrivate.h M Source/WebKit/WPEPlatform/wpe/drm/WPEViewDRM.cpp Log Message: ----------- [WPE] Launching MiniBrowser on DRM mode doesn't pick VSync clock https://bugs.webkit.org/show_bug.cgi?id=297892 Reviewed by Nikolas Zimmermann. Function 'drmWaitVBlank' needs a file descriptor with a frame buffer attached in order to work. However, a trace shows the function call that tries to attach the frame buffer, 'drmAddFrameBuffer', happens after. To make 'drmWaitVBlank' work before the frame buffer is ready, a mock frame buffer is attached temporarily to the file descriptor before the actual frame buffer is created. Patch by Carlos Garcia Campos <cgar...@igalia.com> * Source/WebKit/WPEPlatform/wpe/drm/WPEDRM.cpp: (WPE::DRM::Crtc::Crtc): * Source/WebKit/WPEPlatform/wpe/drm/WPEDRM.h: (WPE::DRM::Crtc::bufferID const): * Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp: (wpeDisplayDRMSetup): * Source/WebKit/WPEPlatform/wpe/drm/WPEScreenDRM.cpp: (wpeScreenDRMCreateDumbBufferIfNeeded): (wpeScreenDRMDestroyDumbBufferIfNeeded): * Source/WebKit/WPEPlatform/wpe/drm/WPEScreenDRMPrivate.h: * Source/WebKit/WPEPlatform/wpe/drm/WPEViewDRM.cpp: (wpeViewDRMCommitAtomic): (wpeViewDRMCommitLegacy): Canonical link: https://commits.webkit.org/299155@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes