Display driver loop refactor

This commit is contained in:
elasota
2021-03-26 17:05:38 -04:00
parent 48fe83bb33
commit c87f238563
30 changed files with 595 additions and 735 deletions

View File

@@ -29,7 +29,9 @@ struct IGpDisplayDriver
{
typedef void (*SurfaceInvalidateCallback_t) (void *context);
virtual void Run() = 0;
virtual bool Init() = 0;
virtual void ServeTicks(int tickCount) = 0;
virtual void ForceSync() = 0;
virtual void Shutdown() = 0;
// Returns the initial resolution before any display resolution events are posted