chromium/third_party/angle/util/EGLPlatformParameters.h

//
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// EGLPlatformParameters: Basic description of an EGL device.

#ifndef UTIL_EGLPLATFORMPARAMETERS_H_
#define UTIL_EGLPLATFORMPARAMETERS_H_

#include "util/util_gl.h"

#include "autogen/angle_features_autogen.h"

#include <string>
#include <tuple>
#include <vector>

namespace angle
{
struct PlatformMethods;

// The GLES driver type determines what shared object we use to load the GLES entry points.
// AngleEGL loads from ANGLE's version of libEGL, libGLESv2, and libGLESv1_CM.
// SystemEGL uses the system copies of libEGL, libGLESv2, and libGLESv1_CM.
// SystemWGL loads Windows GL with the GLES compatibility extensions. See util/WGLWindow.h.
enum class GLESDriverType
{};

inline bool IsANGLE(angle::GLESDriverType driverType)
{}

GLESDriverType GetDriverTypeFromString(const char *driverName, GLESDriverType defaultDriverType);
}  // namespace angle

struct EGLPlatformParameters
{};

inline bool operator<(const EGLPlatformParameters &a, const EGLPlatformParameters &b)
{}

inline bool operator==(const EGLPlatformParameters &a, const EGLPlatformParameters &b)
{}

inline bool operator!=(const EGLPlatformParameters &a, const EGLPlatformParameters &b)
{}

#endif  // UTIL_EGLPLATFORMPARAMETERS_H_