2022-11-30 22:02:24 +00:00
|
|
|
Index: chromium-108.0.5359.71/build/linux/unbundle/libdrm.gn
|
2022-02-04 13:14:22 +00:00
|
|
|
===================================================================
|
2022-11-30 22:02:24 +00:00
|
|
|
--- chromium-108.0.5359.71.orig/build/linux/unbundle/libdrm.gn
|
|
|
|
|
+++ chromium-108.0.5359.71/build/linux/unbundle/libdrm.gn
|
2022-02-04 13:14:22 +00:00
|
|
|
@@ -11,7 +11,10 @@ pkg_config("system_libdrm") {
|
|
|
|
|
|
2021-09-19 19:49:14 +00:00
|
|
|
shim_headers("libdrm_shim") {
|
|
|
|
|
root_path = "src/include"
|
|
|
|
|
- headers = [ "drm.h" ]
|
|
|
|
|
+ headers = [
|
|
|
|
|
+ "drm.h",
|
|
|
|
|
+ "drm_fourcc.h",
|
|
|
|
|
+ ]
|
|
|
|
|
}
|
2022-02-04 13:14:22 +00:00
|
|
|
|
2021-09-19 19:49:14 +00:00
|
|
|
source_set("libdrm") {
|
2022-11-30 22:02:24 +00:00
|
|
|
Index: chromium-108.0.5359.71/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
2022-02-04 13:14:22 +00:00
|
|
|
===================================================================
|
2022-11-30 22:02:24 +00:00
|
|
|
--- chromium-108.0.5359.71.orig/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
|
|
|
|
+++ chromium-108.0.5359.71/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
|
|
|
|
@@ -19,7 +19,7 @@
|
|
|
|
|
#include "base/ranges/algorithm.h"
|
|
|
|
|
#include "base/strings/stringprintf.h"
|
|
|
|
|
#include "base/trace_event/typed_macros.h"
|
2022-02-04 13:14:22 +00:00
|
|
|
-#include "third_party/libdrm/src/include/drm/drm_fourcc.h"
|
|
|
|
|
+#include <drm_fourcc.h>
|
2022-11-30 22:02:24 +00:00
|
|
|
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
|
2022-02-04 13:14:22 +00:00
|
|
|
#include "third_party/skia/include/core/SkCanvas.h"
|
|
|
|
|
#include "third_party/skia/include/core/SkImage.h"
|
2022-11-30 22:02:24 +00:00
|
|
|
Index: chromium-108.0.5359.71/media/gpu/chromeos/video_decoder_pipeline_unittest.cc
|
2022-02-04 13:14:22 +00:00
|
|
|
===================================================================
|
2022-11-30 22:02:24 +00:00
|
|
|
--- chromium-108.0.5359.71.orig/media/gpu/chromeos/video_decoder_pipeline_unittest.cc
|
|
|
|
|
+++ chromium-108.0.5359.71/media/gpu/chromeos/video_decoder_pipeline_unittest.cc
|
|
|
|
|
@@ -25,7 +25,7 @@
|
2022-02-04 13:14:22 +00:00
|
|
|
#include "media/gpu/chromeos/mailbox_video_frame_converter.h"
|
|
|
|
|
#include "testing/gmock/include/gmock/gmock.h"
|
|
|
|
|
#include "testing/gtest/include/gtest/gtest.h"
|
|
|
|
|
-#include "third_party/libdrm/src/include/drm/drm_fourcc.h"
|
|
|
|
|
+#include <drm_fourcc.h>
|
|
|
|
|
|
|
|
|
|
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
|
|
|
|
// gn check does not account for BUILDFLAG(), so including this header will
|