[host] allow user to select capture backend

This commit introduces a new option, app:capture, which can be set to
either DXGI or NvFBC to force the host application to use that backend.

This is very useful for testing DXGI on Quadro cards, which would default
to running with NvFBC.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-02-27 17:41:44 +11:00
1 parent 54da11a206
commit f2c0b8c0b4
5 files changed
+39 -1

No files matched your search

+1
View File
@@ -89,6 +89,7 @@ typedef void (*CapturePostPointerBuffer)(CapturePointer pointer);
typedef struct CaptureInterface
{
const char *shortName;
const char * (*getName )();
void (*initOptions )();