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

Unified Diff: ui/ozone/platform/dri/dri_wrapper.cc

Issue 522463005: [Ozone-GBM] Handle GPU crashes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated to allow proper restore of secondary displays Created 6 years, 3 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
Index: ui/ozone/platform/dri/dri_wrapper.cc
diff --git a/ui/ozone/platform/dri/dri_wrapper.cc b/ui/ozone/platform/dri/dri_wrapper.cc
index 0d395c87c3922685a68e7ff65427909e3c076e3f..27768e3043b29bb5de40b42f23a2e6786d788a88 100644
--- a/ui/ozone/platform/dri/dri_wrapper.cc
+++ b/ui/ozone/platform/dri/dri_wrapper.cc
@@ -83,8 +83,12 @@ bool DriWrapper::SetCrtc(uint32_t crtc_id,
DCHECK(!connectors.empty());
DCHECK(mode);
- TRACE_EVENT1("dri", "DriWrapper::SetCrtc",
- "crtc", crtc_id);
+ TRACE_EVENT2("dri",
+ "DriWrapper::SetCrtc",
+ "crtc",
+ crtc_id,
+ "size",
+ gfx::Size(mode->hdisplay, mode->vdisplay).ToString());
return !drmModeSetCrtc(fd_,
crtc_id,
framebuffer,

Powered by Google App Engine
This is Rietveld 408576698