Convert images on the GPU on Linux for NVidia cards
This commit is contained in:
12
sunshine/platform/linux/cuda.h
Normal file
12
sunshine/platform/linux/cuda.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef SUNSHINE_PLATFORM_CUDA_H
|
||||
#define SUNSHINE_PLATFORM_CUDA_H
|
||||
|
||||
#include "sunshine/platform/common.h"
|
||||
#include "x11grab.h"
|
||||
|
||||
namespace cuda {
|
||||
std::shared_ptr<platf::hwdevice_t> make_hwdevice(int width, int height, platf::x11::xdisplay_t::pointer xdisplay);
|
||||
int init();
|
||||
} // namespace cuda
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user