2016-08-11 09:52:30 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef ANDROID
|
|
|
|
|
|
|
|
#include "JavaBridge.h"
|
|
|
|
|
2023-10-26 00:35:20 +00:00
|
|
|
class SyncBridge :
|
|
|
|
public RenderWindow
|
2016-08-11 09:52:30 +00:00
|
|
|
{
|
|
|
|
public:
|
2023-10-26 00:35:20 +00:00
|
|
|
SyncBridge(JavaBridge * javaBridge);
|
2016-08-11 09:52:30 +00:00
|
|
|
|
2021-03-13 10:17:32 +00:00
|
|
|
// Render window functions
|
2023-10-26 00:35:20 +00:00
|
|
|
void GfxThreadInit();
|
2016-08-11 09:52:30 +00:00
|
|
|
void GfxThreadDone();
|
|
|
|
void SwapWindow();
|
|
|
|
|
|
|
|
private:
|
2023-10-26 00:35:20 +00:00
|
|
|
SyncBridge(void);
|
|
|
|
SyncBridge(const SyncBridge &);
|
|
|
|
SyncBridge & operator=(const SyncBridge &);
|
2016-08-11 09:52:30 +00:00
|
|
|
|
2023-10-26 00:35:20 +00:00
|
|
|
JavaBridge * m_JavaBridge;
|
2016-08-11 09:52:30 +00:00
|
|
|
};
|
|
|
|
|
2021-03-13 10:17:32 +00:00
|
|
|
#endif
|