chromium/ui/gl/init/ozone_util.h

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_GL_INIT_OZONE_UTIL_H_
#define UI_GL_INIT_OZONE_UTIL_H_

#include "ui/gl/gl_implementation.h"
#include "ui/ozone/public/gl_ozone.h"
#include "ui/ozone/public/ozone_platform.h"
#include "ui/ozone/public/surface_factory_ozone.h"

namespace gl {
namespace init {

inline ui::SurfaceFactoryOzone* GetSurfaceFactoryOzone() {}

// Returns true if there is an GLOzone for the specified GL implementation.
inline bool HasGLOzone(const GLImplementationParts& impl) {}

// Returns true if there is an GLOzone for the set GL implementation.
inline bool HasGLOzone() {}

// Returns the GLOzone for the specified GL implementation or null if none
// exists.
inline ui::GLOzone* GetGLOzone(const GLImplementationParts& impl) {}

// Returns the GLOzone for the set GL implementation or null if none exists.
inline ui::GLOzone* GetGLOzone() {}

}  // namespace init
}  // namespace gl

#endif  // UI_GL_INIT_OZONE_UTIL_H_