aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ui_ozone_platform_x11_ozone__platform__x11.cc
blob: 4c40bb3c8ed547996a029f2e6457d6f15c353d56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ui/ozone/platform/x11/ozone_platform_x11.cc.orig	2021-12-16 15:22:38 UTC
+++ ui/ozone/platform/x11/ozone_platform_x11.cc
@@ -211,7 +211,7 @@ class OzonePlatformX11 : public OzonePlatform,
       properties->supports_global_application_menus = true;
       properties->app_modal_dialogs_use_event_blocker = true;
       properties->fetch_buffer_formats_for_gmb_on_gpu = true;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
       properties->supports_vaapi = true;
 #endif