@@ -94,4 +94,11 @@ config BR2_PACKAGE_LIBCEF_CEFSIMPLE
help
Enables libcef example application cefsimple.
+config BR2_PACKAGE_LIBCEF_VAAPI
+ bool "Enable va-api support in libcef."
+ depends on BR2_x86_64
+ select BR2_PACKAGE_LIBVA
+ help
+ Enables VA-API-based hardware acceleration.
+
endif
@@ -208,6 +208,13 @@ else
LIBCEF_GN_DEFINES += use_pulseaudio=false
endif
+ifeq ($(BR2_PACKAGE_LIBCEF_VAAPI),y)
+LIBCEF_GN_DEFINES += use_vaapi=true
+LIBCEF_DEPENDENCIES += libva
+else
+LIBCEF_GN_DEFINES += use_vaapi=false
+endif
+
ifeq ($(BR2_PACKAGE_LIBCEF_CEFSIMPLE),y)
LIBCEF_BUILD_TARGETS += cefsimple
define LIBCEF_INSTALL_CEFSIMPLE