Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: f779b8d5fb6fa851f4a08122347e647584f97ad7 https://github.com/WebKit/WebKit/commit/f779b8d5fb6fa851f4a08122347e647584f97ad7 Author: Diego Pino Garcia <dp...@igalia.com> Date: 2024-04-16 (Tue, 16 Apr 2024)
Changed paths: M Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp M Source/cmake/OptionsGTK.cmake M Source/cmake/OptionsWPE.cmake Log Message: ----------- [GTK] Import 'drmGetFormatName' from libdrm https://bugs.webkit.org/show_bug.cgi?id=272518 Reviewed by Carlos Garcia Campos. Follow-up to 277506@main. This Changeset fixed the build for Ubuntu 20.04 by checking whether 'drmGetFormatName' function is available on 'libdrm'. The aforementioned function is short and doesn't have dependencies, making it easy to import into WebKit codebase. This allows to show DRM information in some scenarios. There's an scenario where the functions 'drmGetFormatModifierVendor' and 'drmGetFormatModifierName' are also needed. These two functions are much harder to import, so a flag is added to skip calling these functions in case they were not available. * Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp: (WebKit::webkitDrmGetFormatName): (WebKit::renderBufferFormat): * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: Canonical link: https://commits.webkit.org/277539@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