Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
chromium.10993
chromium-vaapi.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-vaapi.patch of Package chromium.10993
From abc7295ca1653c85472916909f0eb76e28e79a58 Mon Sep 17 00:00:00 2001 From: Akarshan Biswas <akarshan.biswas@gmail.com> Date: Thu, 24 Jan 2019 12:45:29 +0530 Subject: [PATCH] Enable mojo with VDA2 on Linux --- chrome/browser/about_flags.cc | 8 ++++---- chrome/browser/flag_descriptions.cc | 9 +++++++-- chrome/browser/flag_descriptions.h | 10 ++++++++-- gpu/config/software_rendering_list.json | 3 ++- media/media_options.gni | 9 ++++++--- media/mojo/services/gpu_mojo_media_client.cc | 4 ++-- 6 files changed, 29 insertions(+), 14 deletions(-) Index: chromium-76.0.3806.1/chrome/browser/about_flags.cc =================================================================== --- chromium-76.0.3806.1.orig/chrome/browser/about_flags.cc +++ chromium-76.0.3806.1/chrome/browser/about_flags.cc @@ -1394,7 +1394,7 @@ const FeatureEntry kFeatureEntries[] = { "disable-accelerated-video-decode", flag_descriptions::kAcceleratedVideoDecodeName, flag_descriptions::kAcceleratedVideoDecodeDescription, - kOsMac | kOsWin | kOsCrOS | kOsAndroid, + kOsMac | kOsWin | kOsCrOS | kOsAndroid | kOsLinux, SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), }, {"enable-history-favicons-google-server-query", @@ -1833,10 +1833,10 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(service_manager::features::kXRSandbox)}, #endif // ENABLE_ISOLATED_XR_SERVICE #endif // ENABLE_VR -#if defined(OS_CHROMEOS) +#if defined(OS_CHROMEOS) || defined(OS_LINUX) {"disable-accelerated-mjpeg-decode", flag_descriptions::kAcceleratedMjpegDecodeName, - flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS, + flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS | kOsLinux, SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)}, #endif // OS_CHROMEOS {"system-keyboard-lock", flag_descriptions::kSystemKeyboardLockName, Index: chromium-76.0.3806.1/chrome/browser/flag_descriptions.cc =================================================================== --- chromium-76.0.3806.1.orig/chrome/browser/flag_descriptions.cc +++ chromium-76.0.3806.1/chrome/browser/flag_descriptions.cc @@ -2734,15 +2734,20 @@ const char kMacSystemMediaPermissionsInf #endif -// Chrome OS ------------------------------------------------------------------- +// Chrome OS Linux------------------------------------------------------------------- -#if defined(OS_CHROMEOS) +#if defined(OS_CHROMEOS) || (defined(OS_LINUX) && !defined(OS_ANDROID)) const char kAcceleratedMjpegDecodeName[] = "Hardware-accelerated mjpeg decode for captured frame"; const char kAcceleratedMjpegDecodeDescription[] = "Enable hardware-accelerated mjpeg decode for captured frame where " "available."; +#endif + +// Chrome OS -------------------------------------------------- + +#if defined(OS_CHROMEOS) const char kAppServiceAshName[] = "App Service Ash"; const char kAppServiceAshDescription[] = Index: chromium-76.0.3806.1/chrome/browser/flag_descriptions.h =================================================================== --- chromium-76.0.3806.1.orig/chrome/browser/flag_descriptions.h +++ chromium-76.0.3806.1/chrome/browser/flag_descriptions.h @@ -1631,11 +1631,15 @@ extern const char kPermissionPromptPersi // Chrome OS ------------------------------------------------------------------ -#if defined(OS_CHROMEOS) +#if defined(OS_CHROMEOS) || (defined(OS_LINUX) && !defined(OS_ANDROID)) extern const char kAcceleratedMjpegDecodeName[]; extern const char kAcceleratedMjpegDecodeDescription[]; +#endif // defined(OS_CHROMEOS) || (defined(OS_LINUX) && !defined(OS_ANDROID)) + +#if defined(OS_CHROMEOS) + extern const char kAppServiceAshName[]; extern const char kAppServiceAshDescription[]; Index: chromium-76.0.3806.1/gpu/config/software_rendering_list.json =================================================================== --- chromium-76.0.3806.1.orig/gpu/config/software_rendering_list.json +++ chromium-76.0.3806.1/gpu/config/software_rendering_list.json @@ -371,11 +371,12 @@ }, { "id": 48, - "description": "Accelerated video decode is unavailable on Linux", + "description": "Accelerated VA-API video decode is not supported on NVIDIA platforms", "cr_bugs": [137247], "os": { "type": "linux" }, + "vendor_id": "0x10de", "features": [ "accelerated_video_decode" ]
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor