Start moving towards C++ only UI code. Assume C++ for the replay API

* The C# P/Invoke stuff doesn't directly use the header, and we are soon
  going to deprecate the C interface entirely.
This commit is contained in:
baldurk
2017-03-13 17:56:00 +00:00
parent 55565a148b
commit 487a1b7903
17 changed files with 196 additions and 277 deletions
+3 -3
View File
@@ -48,13 +48,13 @@ void Daemonise()
{
}
void DisplayRendererPreview(ReplayRenderer *renderer, TextureDisplay &displayCfg, uint32_t width,
void DisplayRendererPreview(IReplayRenderer *renderer, TextureDisplay &displayCfg, uint32_t width,
uint32_t height)
{
ANativeWindow *connectionScreenWindow = android_state->window;
ReplayOutput *out = ReplayRenderer_CreateOutput(renderer, eWindowingSystem_Android,
connectionScreenWindow, eOutputType_TexDisplay);
IReplayOutput *out = ReplayRenderer_CreateOutput(renderer, eWindowingSystem_Android,
connectionScreenWindow, eOutputType_TexDisplay);
OutputConfig c = {eOutputType_TexDisplay};