Implement CGLPlatform using CGL and NSOpenGLContext

* On replay on macOS we use NSOpenGLContext so we can render to windows.
* We have two windowing systems on mac - one for Metal compatible outputs and
  one for OpenGL compatible outputs.
This commit is contained in:
baldurk
2019-01-30 23:03:01 +00:00
parent 69c668c27c
commit fe0be58908
20 changed files with 375 additions and 57 deletions
-14
View File
@@ -107,20 +107,6 @@ std::string DoStringise(const VendorExtensions &el)
END_ENUM_STRINGISE();
}
template <>
std::string DoStringise(const WindowingSystem &el)
{
BEGIN_ENUM_STRINGISE(WindowingSystem);
{
STRINGISE_ENUM_CLASS(Unknown);
STRINGISE_ENUM_CLASS(Win32);
STRINGISE_ENUM_CLASS(Xlib);
STRINGISE_ENUM_CLASS(XCB);
STRINGISE_ENUM_CLASS(Android);
}
END_ENUM_STRINGISE();
}
template <>
std::string DoStringise(const RENDERDOC_InputButton &el)
{