Hash :
fe26bae4
Author :
Date :
2019-10-29T18:38:53
Metal backend implementation pt 2 This is without Metal specific shader translator implemented yet. Bug: angleproject:2634 Change-Id: I95d589442251c9ba111bd05a2dc379a36739046c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1855069 Reviewed-by: Jonah Ryan-Davis <jonahr@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
//
// Copyright 2019 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.
//
// DisplayMtl_api.h:
// Defines the Metal Display APIs to be used by the code outside metal module.
//
#ifndef LIBANGLE_RENDERER_METAL_DISPLAYMTL_API_H_
#define LIBANGLE_RENDERER_METAL_DISPLAYMTL_API_H_
#include "libANGLE/renderer/DisplayImpl.h"
namespace rx
{
// Check whether minimum required Metal version is available on the host platform.
bool IsMetalDisplayAvailable();
DisplayImpl *CreateMetalDisplay(const egl::DisplayState &state);
} // namespace rx
#endif /* LIBANGLE_RENDERER_METAL_DISPLAYMTL_API_H_ */