Add GGP capture support

This commit is contained in:
Aliya Pazylbekova
2019-03-14 01:23:11 +00:00
committed by baldurk
parent 7c0365679f
commit 64437157d0
16 changed files with 273 additions and 3 deletions
+15
View File
@@ -342,6 +342,7 @@ enum class WindowingSystem : uint32_t
XCB,
Android,
MacOS,
GGP,
};
DECLARE_REFLECTION_ENUM(WindowingSystem);
@@ -480,6 +481,20 @@ inline const WindowingData CreateXCBWindowingData(xcb_connection_t *connection,
return ret;
}
DOCUMENT(R"(Create a :class:`WindowingData` for a GGP application.
:return: A :class:`WindowingData` corresponding to the given system.
:rtype: WindowingData
)");
inline const WindowingData CreateGgpWindowingData()
{
WindowingData ret = {};
ret.system = WindowingSystem::GGP;
return ret;
}
DOCUMENT(R"(Create a :class:`WindowingData` for an Android ``ANativeWindow`` handle.
:param ANativeWindow window: The native ``ANativeWindow`` handle for this window.