2019-04-30 09:13:16 +00:00
|
|
|
Index: chromium-74.0.3729.108/media/gpu/vaapi/vaapi_wrapper.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-74.0.3729.108.orig/media/gpu/vaapi/vaapi_wrapper.cc
|
|
|
|
|
+++ chromium-74.0.3729.108/media/gpu/vaapi/vaapi_wrapper.cc
|
2019-04-30 09:36:17 +00:00
|
|
|
@@ -286,9 +286,6 @@ bool VADisplayState::Initialize() {
|
2019-04-30 09:13:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool VADisplayState::InitializeOnce() {
|
|
|
|
|
- static_assert(VA_MAJOR_VERSION >= 1 && VA_MINOR_VERSION >= 1,
|
|
|
|
|
- "Requires VA-API >= 1.1.0");
|
2019-04-30 09:36:17 +00:00
|
|
|
-
|
2019-04-30 09:13:16 +00:00
|
|
|
switch (gl::GetGLImplementation()) {
|
|
|
|
|
case gl::kGLImplementationEGLGLES2:
|
2019-04-30 09:36:17 +00:00
|
|
|
va_display_ = vaGetDisplayDRM(drm_fd_.get());
|