KhronosGroup / MoltenVK

MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
Apache License 2.0
4.63k stars 402 forks source link

Refactor public MVKDevice content into MVKDeviceTrackingMixin functions. #2221

Closed billhollings closed 2 months ago

billhollings commented 2 months ago

This is a non-functional code-maintenance change.

Previously, MVKDevice contained a significant amount of publicly exposed internal content. This patch adds functions to MVKDeviceTrackingMixin to better encapsulate, consolidate & streamline access to this content.

Note to reviewers:

billhollings commented 2 months ago

Sorry about that. Took me a while to get through this massive refactoring.

No apology needed. And thanks.

I wrote the Note to reviewers above so you could skip all the search & replace noise. But I appreciate your epic diligence and accuracy once again! 👍🏻