Wait on our D3D11 swapchain before rendering to reduce latency

This commit is contained in:
Cameron Gutman committed 2022-04-07 21:46:48 -05:00
1 parent 474591c6a5
commit 6d3d51553b
4 files changed
+27 -20

No files matched your search

@@ -19,6 +19,7 @@ public:
virtual bool prepareDecoderContext(AVCodecContext* context, AVDictionary**) override;
virtual bool prepareDecoderContextInGetFormat(AVCodecContext* context, AVPixelFormat pixelFormat) override;
virtual void renderFrame(AVFrame* frame) override;
virtual void waitToRender() override;
virtual void notifyOverlayUpdated(Overlay::OverlayType) override;
virtual void setHdrMode(bool enabled) override;
virtual int getRendererAttributes() override;