Stuart Carnie
9fc39ae321
Metal: Use retained references; shared pixel format code
...
Most important is a fix for an occasional crash due to a use-after-free
bug.
A number of API availability declarations were updated to include tvOS.
The code is now simplified and generic for all platforms, which makes
way for future tvOS support.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2025-01-12 07:11:22 +11:00
HP van Braam
062d74bb9c
Fix ubsan reported errors in rendering
...
This allows the TPS demo to run without an ubsan reports from any of the
rendering code.
2024-12-13 21:27:37 +01:00
mrsaturnsan
627d10e4c4
Fix vsync on macOS getting disabled when using afterMinimumDuration
2024-11-26 15:38:32 -06:00
mrsaturnsan
376c6c0c7d
Use afterMinimumDuration to correct frame pacing
2024-11-12 21:19:38 -06:00
Stuart Carnie
3dac3887e9
Metal: Multiview support
...
* Adds support for multiview
* Returns native handles for more driver resources
2024-11-06 05:37:35 +11:00
Stuart Carnie
a7a245de92
Metal: enable for betsy and lightmapper modules
...
To support this, the rendering_context_driver_metal.h header was updated
to recognise when it is included in non-Objective-C source files.
2024-08-31 08:29:07 +10:00
Stuart Carnie
2d0165574d
Add Metal support for macOS (arm64) and iOS
2024-08-20 12:11:06 +02:00