Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Unified Diff: ui/ozone/common/gpu/ozone_gpu_messages.h

Issue 905873003: [8/8][Ozone-Dri] Pass DRM FD to GPU process on hotplug event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@udl2.9-allow-ndd-to-handle-multiple-drm-devices
Patch Set: . Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/ozone/platform/dri/BUILD.gn » ('j') | ui/ozone/platform/dri/drm_device_generator.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/common/gpu/ozone_gpu_messages.h
diff --git a/ui/ozone/common/gpu/ozone_gpu_messages.h b/ui/ozone/common/gpu/ozone_gpu_messages.h
index 667782ee47961c65ed697edce06651e77b6c064f..6ff12603aae98a7acd58fc8ecfcf534a5176a917 100644
--- a/ui/ozone/common/gpu/ozone_gpu_messages.h
+++ b/ui/ozone/common/gpu/ozone_gpu_messages.h
@@ -7,6 +7,7 @@
#include <vector>
+#include "base/file_descriptor_posix.h"
#include "ipc/ipc_message_macros.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/geometry/point.h"
@@ -91,8 +92,9 @@ IPC_MESSAGE_CONTROL3(OzoneGpuMsg_ConfigureNativeDisplay,
IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DisableNativeDisplay,
int64_t) // display ID
-IPC_MESSAGE_CONTROL1(OzoneGpuMsg_AddGraphicsDevice,
- base::FilePath /* device_path */)
+IPC_MESSAGE_CONTROL2(OzoneGpuMsg_AddGraphicsDevice,
+ base::FilePath /* device_path */,
jln (very slow on Chromium) 2015/02/19 01:28:58 What is the reason for still sending the device pa
dnicoara 2015/02/19 02:42:52 To uniquely identify the device. These events are
+ base::FileDescriptor /* device_fd */)
IPC_MESSAGE_CONTROL1(OzoneGpuMsg_RemoveGraphicsDevice,
base::FilePath /* device_path */)
« no previous file with comments | « no previous file | ui/ozone/platform/dri/BUILD.gn » ('j') | ui/ozone/platform/dri/drm_device_generator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698