intel/dump_gpu: add an option to capture a single frame
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 4 Mar 2020 15:55:46 +0000 (17:55 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 Aug 2020 11:27:54 +0000 (11:27 +0000)
commitd83be29a53396c013ad2d1146ca4b8136703259a
tree7a67bdc94907508efb785f86a1fb7469892e0221
parenta6a5b0e52eb954aa5f91ee5d748c25c983abb438
intel/dump_gpu: add an option to capture a single frame

We use the driver identifier buffer to get the information about the
current frame.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2201>
src/intel/tools/intel_dump_gpu.c
src/intel/tools/intel_dump_gpu.in
src/intel/tools/meson.build