1 // Copyright 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ozone/ui/gfx/ozone_display.h"
7 #include "base/logging.h"
12 OzoneDisplay* OzoneDisplay::instance_ = NULL;
14 OzoneDisplay::OzoneDisplay() {
17 OzoneDisplay::~OzoneDisplay() {
20 OzoneDisplay* OzoneDisplay::GetInstance() {
21 CHECK(instance_) << "No OzoneDisplay implementation set.";
25 void OzoneDisplay::SetInstance(OzoneDisplay* instance) {
26 CHECK(!instance_) << "Replacing set OzoneDisplay implementation.";
30 void OzoneDisplay::LookAheadOutputGeometry() {