Thaddeus Crews dd5460c32a Style: Declare inline macros as attributes 3 месяцев назад
..
README.md 2d0165574d Add Metal support for macOS (arm64) and iOS 11 месяцев назад
SCsub f25fc34439 SCons: Add `CPPEXTPATH` for external includes 4 месяцев назад
inflection_map.h 324512e11c Style: Replace header guards with `#pragma once` 5 месяцев назад
metal_device_properties.h 324512e11c Style: Replace header guards with `#pragma once` 5 месяцев назад
metal_device_properties.mm 338c12fc9a Implement LIMIT_MAX_COMPUTE_SHARED_MEMORY_SIZE to limit_get in all Rendering backends. 5 месяцев назад
metal_objects.h dd5460c32a Style: Declare inline macros as attributes 3 месяцев назад
metal_objects.mm 0d267e7b1e Core: Add dedicated `BitField` template 3 месяцев назад
metal_utils.h 8c8d6de3e7 Apple: Add pthread implementation of `Thread` class 3 месяцев назад
pixel_formats.h 207a2b6472 Core: Integrate warning suppression macro helpers 4 месяцев назад
pixel_formats.mm 207a2b6472 Core: Integrate warning suppression macro helpers 4 месяцев назад
rendering_context_driver_metal.h 713a1ba554 Style: Standardize Obj-C `#import` syntax 5 месяцев назад
rendering_context_driver_metal.mm 9fc39ae321 Metal: Use retained references; shared pixel format code 6 месяцев назад
rendering_device_driver_metal.h 408d07109b Merge pull request #99551 from DarioSamo/fragment-density-map 4 месяцев назад
rendering_device_driver_metal.mm 0d267e7b1e Core: Add dedicated `BitField` template 3 месяцев назад

README.md

Metal Rendering Device

This document aims to describe the Metal rendering device implementation in Godot.

Future work / ideas

  • Use placement heaps
  • Explicit hazard tracking
  • MetalFX upscaling support?

Acknowledgments

The Metal rendering owes a lot to the work of the MoltenVK project, which is a Vulkan implementation on top of Metal. In accordance with the Apache 2.0 license, the following copyright notices have been included where applicable:

/**************************************************************************/
/*                                                                        */
/* Portions of this code were derived from MoltenVK.                      */
/*                                                                        */
/* Copyright (c) 2015-2023 The Brenwill Workshop Ltd.                     */
/* (http://www.brenwill.com)                                              */
/*                                                                        */
/* Licensed under the Apache License, Version 2.0 (the "License");        */
/* you may not use this file except in compliance with the License.       */
/* You may obtain a copy of the License at                                */
/*                                                                        */
/*     http://www.apache.org/licenses/LICENSE-2.0                         */
/*                                                                        */
/* Unless required by applicable law or agreed to in writing, software    */
/* distributed under the License is distributed on an "AS IS" BASIS,      */
/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        */
/* implied. See the License for the specific language governing           */
/* permissions and limitations under the License.                         */
/**************************************************************************/