~mmach/netext73/webkit2gtk

« back to all changes in this revision

Viewing changes to Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl_api.h

  • Committer: mmach
  • Date: 2023-06-16 17:21:37 UTC
  • Revision ID: netbit73@gmail.com-20230616172137-2rqx6yr96ga9g3kp
1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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_ */