Allow a renderer to opt-out of the render thread and use that for SDL on OGL
This commit is contained in:
parent
6783cf57da
commit
859a5a5e0c
17 changed files with 134 additions and 79 deletions
|
|
@ -22,8 +22,7 @@ public:
|
|||
virtual int submitDecodeUnit(PDECODE_UNIT du);
|
||||
|
||||
// Unused since rendering is done directly from the decode thread
|
||||
virtual void renderFrame(SDL_UserEvent*) {}
|
||||
virtual void dropFrame(SDL_UserEvent*) {}
|
||||
virtual void renderFrameOnMainThread() {}
|
||||
|
||||
private:
|
||||
CSLVideoContext* m_VideoContext;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue