blender/intern/ghost/test/multitest
Thomas Dinges 697b447c20 Metal: MTLContext implementation and immediate mode rendering support.
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
2022-09-22 17:32:43 +02:00
..
Basic.c File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
Basic.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
EventToBuf.c WM: Remove ASCII members from wmEvent & GHOST_TEventKeyData 2022-07-14 15:59:19 +10:00
EventToBuf.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GL.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
MultiTest.c Metal: MTLContext implementation and immediate mode rendering support. 2022-09-22 17:32:43 +02:00
ScrollBar.c File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
ScrollBar.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
stubs.c File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
Util.c File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
Util.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
WindowData.c File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
WindowData.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00