mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Add FreeType, progress to title screen
This commit is contained in:
@@ -1,26 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include "EGpDisplayDriverType.h"
|
||||
|
||||
class IGpDisplayDriver;
|
||||
class GpFiber;
|
||||
|
||||
struct GpDisplayDriverProperties
|
||||
{
|
||||
typedef void(*TickFunc_t)(void *context, GpFiber *vosFiber);
|
||||
|
||||
EGpDisplayDriverType m_type;
|
||||
|
||||
unsigned int m_frameTimeLockNumerator;
|
||||
unsigned int m_frameTimeLockDenominator;
|
||||
|
||||
unsigned int m_frameTimeLockMinNumerator;
|
||||
unsigned int m_frameTimeLockMinDenominator;
|
||||
|
||||
unsigned int m_frameTimeLockMaxNumerator;
|
||||
unsigned int m_frameTimeLockMaxDenominator;
|
||||
|
||||
// Tick function and context to call when a frame needs to be served.
|
||||
TickFunc_t m_tickFunc;
|
||||
void *m_tickFuncContext;
|
||||
};
|
||||
#pragma once
|
||||
|
||||
#include "EGpDisplayDriverType.h"
|
||||
|
||||
struct IGpDisplayDriver;
|
||||
class GpFiber;
|
||||
|
||||
struct GpDisplayDriverProperties
|
||||
{
|
||||
typedef void(*TickFunc_t)(void *context, GpFiber *vosFiber);
|
||||
typedef void(*RenderFunc_t)(void *context);
|
||||
|
||||
EGpDisplayDriverType m_type;
|
||||
|
||||
unsigned int m_frameTimeLockNumerator;
|
||||
unsigned int m_frameTimeLockDenominator;
|
||||
|
||||
unsigned int m_frameTimeLockMinNumerator;
|
||||
unsigned int m_frameTimeLockMinDenominator;
|
||||
|
||||
unsigned int m_frameTimeLockMaxNumerator;
|
||||
unsigned int m_frameTimeLockMaxDenominator;
|
||||
|
||||
// Tick function and context to call when a frame needs to be served.
|
||||
TickFunc_t m_tickFunc;
|
||||
void *m_tickFuncContext;
|
||||
|
||||
RenderFunc_t m_renderFunc;
|
||||
void *m_renderFuncContext;
|
||||
};
|
||||
|
Reference in New Issue
Block a user