All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Drake <michael.drake@codethink.co.uk>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC PATCH v2 16/30] package/libcef: Add option to enable VA-API HW acceleration.
Date: Thu, 17 Oct 2019 16:29:15 +0100	[thread overview]
Message-ID: <20191017152929.49153-17-michael.drake@codethink.co.uk> (raw)
In-Reply-To: <20191017152929.49153-1-michael.drake@codethink.co.uk>

Cc: Patrick Glaser <pglaser@tesla.com>
Cc: Jon duSaint <jdusaint@tesla.com>
Cc: Enis Lavery <elavery@tesla.com>
Signed-off-by: Michael Drake <michael.drake@codethink.co.uk>
Signed-off-by: Thomas Preston <thomas.preston@codethink.co.uk>
---
 package/libcef/Config.in | 6 ++++++
 package/libcef/libcef.mk | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/package/libcef/Config.in b/package/libcef/Config.in
index 7bdaf17ffd..05d577ecb6 100644
--- a/package/libcef/Config.in
+++ b/package/libcef/Config.in
@@ -68,6 +68,12 @@ config BR2_PACKAGE_LIBCEF_CEFCLIENT
 	help
 	  Enables libcef example application cefclient.
 
+config BR2_PACKAGE_LIBCEF_VAAPI
+	bool "Enable va-api support in libcef."
+	select BR2_PACKAGE_LIBVA
+	help
+	  Enables VA-API-based hardware acceleration.
+
 config BR2_PACKAGE_LIBCEF_TARGET_ARCH
 	string
 	default "arm" if BR2_arm
diff --git a/package/libcef/libcef.mk b/package/libcef/libcef.mk
index b20c003a90..9fa87cbb89 100644
--- a/package/libcef/libcef.mk
+++ b/package/libcef/libcef.mk
@@ -204,6 +204,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
-- 
2.20.1

  parent reply	other threads:[~2019-10-17 15:29 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17 15:28 [Buildroot] [RFC PATCH v2 00/30] Add Chromium Embedded Framework library Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 01/30] pkgconf: Split pkgconf command into multi-line Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 02/30] pkgconf: Add pkgconf system lib and include path Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 03/30] package/libkrb5: Add host tools package Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 04/30] jpeg-turbo: Add host install Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 05/30] llvm: add config to build backend for host arch Michael Drake
2019-10-19 22:04   ` Arnout Vandecappelle
2019-10-19 22:20     ` Arnout Vandecappelle
2019-11-05 12:02       ` Thomas Preston
2019-11-07 21:22         ` Romain Naour
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 06/30] lld: new package Michael Drake
2019-10-19 22:39   ` Arnout Vandecappelle
2019-10-24 19:35     ` Romain Naour
2019-10-24 19:38       ` Romain Naour
2019-10-24 19:56         ` Joseph Kogut
2019-10-24 20:05           ` Romain Naour
2019-10-24 20:18             ` Joseph Kogut
2019-10-24 20:23               ` Romain Naour
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 07/30] package/llvm: install target binary/debug tools Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 08/30] package/llvm/clang: note about version bumping dep Michael Drake
2019-10-19 23:05   ` Arnout Vandecappelle
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 09/30] package/llvm: disable libxml2 Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 10/30] package/compiler-rt: new package Michael Drake
2019-10-17 19:17   ` Matthew Weber
2019-10-18  8:51     ` Michael Drake
2019-10-18 15:18       ` Michael Drake
2019-10-23 21:54         ` Matthew Weber
2019-10-19 21:48     ` Arnout Vandecappelle
2019-10-21 13:02       ` Matthew Weber
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 11/30] package/libpangox: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 12/30] package/libgtkglext: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 13/30] package/webp: Enable host package build Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 14/30] package/libcef: New package Michael Drake
2019-10-19 23:55   ` Arnout Vandecappelle
2019-11-21 11:59     ` Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 15/30] package/libcef: Add option to build cefclient and cefsimple Michael Drake
2019-10-17 15:29 ` Michael Drake [this message]
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 17/30] package/libcef: Add proprietary codecs build option Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 18/30] package/widevine: Add package for the widevine CDM library Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 19/30] package/libcef: Widevine support depends on widevine package Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 20/30] package/alsa-lib/alsa-lib: Add host package Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 21/30] package/ffmpeg: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 22/30] package/libvpx: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 23/30] package/x11r7/xcb-util: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 24/30] package/x11r7/xlib_libXScrnSaver: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 25/30] package/x11r7/xlib_libXcomposite: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 26/30] package/x11r7/xlib_libXext: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 27/30] package/x11r7/xlib_libXi: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 28/30] package/x11r7/xlib_libXrandr: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 29/30] package/x11r7/xlib_libXtst: " Michael Drake
2019-10-17 15:29 ` [Buildroot] [RFC PATCH v2 30/30] package/libcef: Add v8 Snapshot option Michael Drake
2019-10-19 23:58 ` [Buildroot] [RFC PATCH v2 00/30] Add Chromium Embedded Framework library Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191017152929.49153-17-michael.drake@codethink.co.uk \
    --to=michael.drake@codethink.co.uk \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.