save state

This commit is contained in:
2026-01-16 23:11:08 +01:00
parent 899d7e6691
commit 0aea07026d
12 changed files with 471 additions and 38 deletions

View File

@@ -14,7 +14,7 @@
using namespace aidl::com::omixlab::mosis;
using namespace aidl::android::hardware;
std::shared_ptr<class IMosisService> g_service;
std::shared_ptr<IMosisService> g_service;
std::shared_ptr<class ServiceContext> g_context;
class TextureBlitter
@@ -145,6 +145,14 @@ extern "C" void SetNativeCallbacks(const NativeCallbacks& ptr)
g_callbacks = ptr;
}
extern "C" void SendTouchMove(float x, float y)
{
if (g_service)
{
g_service->onTouchMove(x, y);
}
}
extern "C" UnityRenderingEvent InitGLAD()
{
return [](int eventId){