Optimize CUDA support to avoid roundtrip to CPU memory

This commit is contained in:
Cameron Gutman committed 2021-12-06 18:23:40 -06:00
1 parent f0c292f508
commit 3e9aea1f7a
5 files changed
+141 -8

No files matched your search

@@ -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;
};