| Index: content/common/gpu/media/vaapi_wrapper.h
|
| diff --git a/content/common/gpu/media/vaapi_wrapper.h b/content/common/gpu/media/vaapi_wrapper.h
|
| index 10eccd91aad36c7253be7f5ab28da9ea685995d4..cb55afbc5c5a9f62edd61fd5a7245a1787f7ecb6 100644
|
| --- a/content/common/gpu/media/vaapi_wrapper.h
|
| +++ b/content/common/gpu/media/vaapi_wrapper.h
|
| @@ -13,6 +13,7 @@
|
| #include <set>
|
| #include <vector>
|
|
|
| +#include "base/files/file.h"
|
| #include "base/lazy_instance.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/synchronization/lock.h"
|
| @@ -302,6 +303,11 @@ class CONTENT_EXPORT VaapiWrapper {
|
| VAContextID va_vpp_context_id_;
|
| VABufferID va_vpp_buffer_id_;
|
|
|
| +#if defined(USE_OZONE)
|
| + // Drm file used to obtain access to the driver interface by VA.
|
| + base::File drm_file_;
|
| +#endif // USE_OZONE
|
| +
|
| // Singleton variable to store supported profile information for encode and
|
| // decode.
|
| static base::LazyInstance<LazyProfileInfos> profile_infos_;
|
|
|