Searched refs:g_platform_api (Results 1 – 2 of 2) sorted by relevance
23 extern GMPPlatformAPI* g_platform_api;27 if (!g_platform_api) { in GMPCreateMutex()30 GMPErr err = g_platform_api->createmutex(&mutex); in GMPCreateMutex()
121 GMPPlatformAPI* g_platform_api = nullptr; variable205 GMPErr err = g_platform_api->createthread (&worker_thread_); in InitEncode()417 if (!shutting_down && g_platform_api) { in TrySyncRunOnMainThread()418 g_platform_api->syncrunonmainthread (aTask); in TrySyncRunOnMainThread()641 GMPErr err = g_platform_api->createthread (&worker_thread_); in InitDecode()805 if (!shutting_down && g_platform_api) { in TrySyncRunOnMainThread()806 g_platform_api->syncrunonmainthread (aTask); in TrySyncRunOnMainThread()934 g_platform_api = aPlatformAPI; in GMPInit()952 g_platform_api = nullptr; in GMPShutdown()