mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-13 19:49:36 +00:00
Display driver loop refactor
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include <stddef.h>
|
||||
|
||||
class GpIOStream;
|
||||
struct IGpThreadRelay;
|
||||
struct IGpDirectoryCursor;
|
||||
|
||||
struct IGpFileSystem
|
||||
@@ -24,7 +23,6 @@ public:
|
||||
virtual bool ValidateFilePath(const char *path, size_t pathLen) const = 0;
|
||||
virtual bool ValidateFilePathUnicodeChar(uint32_t ch) const = 0;
|
||||
|
||||
virtual void SetMainThreadRelay(IGpThreadRelay *relay) = 0;
|
||||
virtual void SetDelayCallback(DelayCallback_t delayCallback) = 0;
|
||||
|
||||
// Helpers
|
||||
|
||||
Reference in New Issue
Block a user