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

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: Reland of: [Ozone-GBM] Handle GPU crashes 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
« no previous file with comments | « ui/ozone/platform/dri/dri_window_delegate_proxy.cc ('k') | ui/ozone/platform/dri/gbm.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9a9867ad66efe813561c64eb473d66afb70f1ef8..7e80c3aead7f83bfad6ca35ad3e60ed74ba5f82e 100644
--- a/ui/ozone/platform/dri/dri_wrapper.cc
+++ b/ui/ozone/platform/dri/dri_wrapper.cc
@@ -89,8 +89,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,
« no previous file with comments | « ui/ozone/platform/dri/dri_window_delegate_proxy.cc ('k') | ui/ozone/platform/dri/gbm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698