• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
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.
5 //
6 // DisplayMtl_api.h:
7 //    Defines the Metal Display APIs to be used by the code outside metal module.
8 //
9 
10 #ifndef LIBANGLE_RENDERER_METAL_DISPLAYMTL_API_H_
11 #define LIBANGLE_RENDERER_METAL_DISPLAYMTL_API_H_
12 
13 #include "libANGLE/renderer/DisplayImpl.h"
14 
15 namespace rx
16 {
17 // Check whether minimum required Metal version is available on the host platform.
18 bool IsMetalDisplayAvailable();
19 DisplayImpl *CreateMetalDisplay(const egl::DisplayState &state);
20 }  // namespace rx
21 
22 #endif /* LIBANGLE_RENDERER_METAL_DISPLAYMTL_API_H_ */
23