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

Side by Side Diff: ui/gfx/ozone/dri/hardware_display_controller.cc

Issue 62953003: Support removal of DRI platform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix use_ozone=0 Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/gfx/ozone/impl/hardware_display_controller.h" 5 #include "ui/gfx/ozone/dri/hardware_display_controller.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "ui/gfx/ozone/impl/dri_skbitmap.h" 12 #include "ui/gfx/ozone/dri/dri_skbitmap.h"
13 #include "ui/gfx/ozone/impl/dri_surface.h" 13 #include "ui/gfx/ozone/dri/dri_surface.h"
14 #include "ui/gfx/ozone/impl/dri_wrapper.h" 14 #include "ui/gfx/ozone/dri/dri_wrapper.h"
15 15
16 namespace gfx { 16 namespace gfx {
17 17
18 HardwareDisplayController::HardwareDisplayController() 18 HardwareDisplayController::HardwareDisplayController()
19 : drm_(NULL), 19 : drm_(NULL),
20 connector_id_(0), 20 connector_id_(0),
21 crtc_id_(0), 21 crtc_id_(0),
22 mode_(), 22 mode_(),
23 saved_crtc_(NULL), 23 saved_crtc_(NULL),
24 state_(UNASSOCIATED), 24 state_(UNASSOCIATED),
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 this)) { 109 this)) {
110 state_ = FAILED; 110 state_ = FAILED;
111 LOG(ERROR) << "Cannot page flip: " << strerror(errno); 111 LOG(ERROR) << "Cannot page flip: " << strerror(errno);
112 return false; 112 return false;
113 } 113 }
114 114
115 return true; 115 return true;
116 } 116 }
117 117
118 } // namespace gfx 118 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/ozone/dri/hardware_display_controller.h ('k') | ui/gfx/ozone/dri/hardware_display_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698