Plumb the ability to disable V-sync through the video renderers

This commit is contained in:
Cameron Gutman committed 2018-08-20 18:19:42 -07:00
1 parent 6b395c816f
commit f7d3c10c9d
18 files changed
+90 -49

No files matched your search

+2 -1
View File
@@ -16,7 +16,8 @@ public:
int videoFormat,
int width,
int height,
int frameRate) = 0;
int frameRate,
bool enableVsync) = 0;
virtual bool isHardwareAccelerated() = 0;
virtual int submitDecodeUnit(PDECODE_UNIT du) = 0;
virtual void renderFrame(SDL_UserEvent* event) = 0;