2
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
3
// Use of this source code is governed by a BSD-style license that can be
4
// found in the LICENSE file.
7
// Defines the Metal Display APIs to be used by the code outside metal module.
10
#ifndef LIBANGLE_RENDERER_METAL_DISPLAYMTL_API_H_
11
#define LIBANGLE_RENDERER_METAL_DISPLAYMTL_API_H_
13
#include "libANGLE/renderer/DisplayImpl.h"
17
// Check whether minimum required Metal version is available on the host platform.
18
bool IsMetalDisplayAvailable();
19
DisplayImpl *CreateMetalDisplay(const egl::DisplayState &state);
22
#endif /* LIBANGLE_RENDERER_METAL_DISPLAYMTL_API_H_ */