mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[host] configure/ifdef out nvfbc
This commit is contained in:
parent
9a9d84cd1f
commit
a01d755ab5
@ -17,6 +17,8 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
|||||||
Place, Suite 330, Boston, MA 02111-1307 USA
|
Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if CONFIG_CAPTURE_NVFBC
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "ICapture.h"
|
#include "ICapture.h"
|
||||||
|
|
||||||
@ -67,4 +69,6 @@ namespace Capture
|
|||||||
NvFBCFrameGrabInfo m_grabInfo;
|
NvFBCFrameGrabInfo m_grabInfo;
|
||||||
NVFBC_TOSYS_GRAB_FRAME_PARAMS m_grabFrameParams;
|
NVFBC_TOSYS_GRAB_FRAME_PARAMS m_grabFrameParams;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -25,7 +25,9 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
|
|
||||||
#include "common/debug.h"
|
#include "common/debug.h"
|
||||||
#include "ICapture.h"
|
#include "ICapture.h"
|
||||||
|
#if CONFIG_CAPTURE_NVFBC
|
||||||
#include "Capture/NvFBC.h"
|
#include "Capture/NvFBC.h"
|
||||||
|
#endif
|
||||||
#include "Capture/DXGI.h"
|
#include "Capture/DXGI.h"
|
||||||
|
|
||||||
class CaptureFactory
|
class CaptureFactory
|
||||||
@ -39,7 +41,9 @@ public:
|
|||||||
if (!devices.empty())
|
if (!devices.empty())
|
||||||
return devices;
|
return devices;
|
||||||
|
|
||||||
|
#if CONFIG_CAPTURE_NVFBC
|
||||||
devices.push_back(new Capture::NvFBC());
|
devices.push_back(new Capture::NvFBC());
|
||||||
|
#endif
|
||||||
devices.push_back(new Capture::DXGI ());
|
devices.push_back(new Capture::DXGI ());
|
||||||
|
|
||||||
return devices;
|
return devices;
|
||||||
|
Loading…
Reference in New Issue
Block a user