2022-02-04 13:14:22 +00:00
|
|
|
Index: chromium-98.0.4758.80/build/linux/unbundle/libdrm.gn
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-98.0.4758.80.orig/build/linux/unbundle/libdrm.gn
|
|
|
|
|
+++ chromium-98.0.4758.80/build/linux/unbundle/libdrm.gn
|
|
|
|
|
@@ -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-02-04 13:14:22 +00:00
|
|
|
Index: chromium-98.0.4758.80/ui/ozone/platform/drm/gpu/crtc_controller.h
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-98.0.4758.80.orig/ui/ozone/platform/drm/gpu/crtc_controller.h
|
|
|
|
|
+++ chromium-98.0.4758.80/ui/ozone/platform/drm/gpu/crtc_controller.h
|
|
|
|
|
@@ -11,7 +11,7 @@
|
|
|
|
|
|
|
|
|
|
#include "base/memory/weak_ptr.h"
|
|
|
|
|
#include "base/trace_event/traced_value.h"
|
|
|
|
|
-#include "third_party/libdrm/src/include/drm/drm_fourcc.h"
|
|
|
|
|
+#include <drm_fourcc.h>
|
|
|
|
|
#include "ui/gfx/swap_result.h"
|
|
|
|
|
#include "ui/ozone/platform/drm/common/scoped_drm_types.h"
|
|
|
|
|
#include "ui/ozone/platform/drm/gpu/drm_overlay_plane.h"
|
|
|
|
|
Index: chromium-98.0.4758.80/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-98.0.4758.80.orig/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
|
|
|
|
+++ chromium-98.0.4758.80/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
|
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
#include "base/trace_event/trace_conversion_helper.h"
|
|
|
|
|
#include "base/trace_event/trace_event.h"
|
|
|
|
|
#include "base/trace_event/traced_value.h"
|
|
|
|
|
-#include "third_party/libdrm/src/include/drm/drm_fourcc.h"
|
|
|
|
|
+#include <drm_fourcc.h>
|
|
|
|
|
#include "third_party/skia/include/core/SkCanvas.h"
|
|
|
|
|
#include "third_party/skia/include/core/SkImage.h"
|
|
|
|
|
#include "ui/gfx/geometry/point.h"
|
|
|
|
|
Index: chromium-98.0.4758.80/media/gpu/chromeos/video_decoder_pipeline_unittest.cc
|
|
|
|
|
===================================================================
|
|
|
|
|
--- chromium-98.0.4758.80.orig/media/gpu/chromeos/video_decoder_pipeline_unittest.cc
|
|
|
|
|
+++ chromium-98.0.4758.80/media/gpu/chromeos/video_decoder_pipeline_unittest.cc
|
|
|
|
|
@@ -23,7 +23,7 @@
|
|
|
|
|
#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
|