GPU: Add GPU frame capture support. #105717

Merged
Jeroen Bakker merged 4 commits from Jason-Fielder/blender:GPU_frame_capture_support_2 into main 2023-03-16 08:54:18 +01:00

4 Commits

Author SHA1 Message Date
Jason Fielder d4dcbe654b Merge branch 'main' into GPU_frame_capture_support_2 2023-03-15 15:13:21 +01:00
Michael Parkin-White 25a7c0da81 Merge branch 'main' into GPU_frame_capture_support_2 2023-03-14 21:14:32 +01:00
Michael Parkin-White c7db9faf9b Improve code documentation for GPU_debug
capture functions.
2023-03-14 20:14:10 +00:00
Michael Parkin-White d870d7092b GPU: Add GPU frame capture support.
Adds two modes of GPU frame capture support for
enhanced debugging. GPU frame capture begin/end
allow instantaneous frame capture of all GPU commands
within the capture boundary.

GPU frame capture scopes allow several user-defined capture
regions which can wrap key parts of code. These scopes are
exposed to connected GPU tools allowing the user to manually
trigger a capture of a known scope at the desired time.

This is currently integrated with the Metal backend for
support with Xcode.

Related to #105591
2023-03-13 11:24:26 +00:00