forked from bartvdbraak/blender
697b447c20
MTLContext provides functionality for command encoding, binding management and graphics device management. MTLImmediate provides simple draw enablement with dynamically encoded data. These draws utilise temporary scratch buffer memory to provide minimal bandwidth overhead during workload submission. This patch also contains empty placeholders for MTLBatch and MTLDrawList to enable testing of first pixels on-screen without failure. The Metal API also requires access to the GHOST_Context to ensure the same pre-initialized Metal GPU device is used by the viewport. Given the explicit nature of Metal, explicit control is also needed over presentation, to ensure correct work scheduling and rendering pipeline state. Authored by Apple: Michael Parkin-White Ref T96261 (The diff is based on 043f59cb3b5835ba1a0bbf6f1cbad080b527f7f6) Reviewed By: fclem Differential Revision: https://developer.blender.org/D15953 |
||
---|---|---|
.. | ||
Basic.c | ||
Basic.h | ||
EventToBuf.c | ||
EventToBuf.h | ||
GL.h | ||
MultiTest.c | ||
ScrollBar.c | ||
ScrollBar.h | ||
stubs.c | ||
Util.c | ||
Util.h | ||
WindowData.c | ||
WindowData.h |