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