Remove declarations for C interface from renderdoc_replay.h header

* The functions are still exported and that's all renderdocui cares for.
* The interface is no longer to be used so gets in the way of the
  generated SWIG bindings.
This commit is contained in:
baldurk
2017-03-29 17:59:47 +01:00
parent 455ac56d5b
commit bd199ca8e6
6 changed files with 19 additions and 228 deletions
+5 -5
View File
@@ -53,17 +53,17 @@ void DisplayRendererPreview(IReplayRenderer *renderer, TextureDisplay &displayCf
{
ANativeWindow *connectionScreenWindow = android_state->window;
IReplayOutput *out = ReplayRenderer_CreateOutput(
renderer, WindowingSystem::Android, connectionScreenWindow, ReplayOutputType::Texture);
IReplayOutput *out = renderer->CreateOutput(WindowingSystem::Android, connectionScreenWindow,
ReplayOutputType::Texture);
ReplayOutput_SetTextureDisplay(out, displayCfg);
out->SetTextureDisplay(displayCfg);
for(int i = 0; i < 100; i++)
{
ReplayRenderer_SetFrameEvent(renderer, 10000000, true);
renderer->SetFrameEvent(10000000, true);
__android_log_print(ANDROID_LOG_INFO, LOGCAT_TAG, "Frame %i", i);
ReplayOutput_Display(out);
out->Display();
usleep(100000);
}