mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 14:40:56 +00:00
Optimize CUDA support to avoid roundtrip to CPU memory
This commit is contained in:
@@ -12,6 +12,9 @@ public:
|
||||
virtual bool needsTestFrame() override;
|
||||
virtual bool isDirectRenderingSupported() override;
|
||||
|
||||
// Helper function used by SDLRenderer to read our CUDA frame
|
||||
static bool copyCudaFrameToBoundTexture(AVFrame* frame);
|
||||
|
||||
private:
|
||||
AVBufferRef* m_HwContext;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user