mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-24 22:55:41 +00:00
Add GGP capture support
This commit is contained in:
committed by
baldurk
parent
7c0365679f
commit
64437157d0
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user