Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
aiekick committed Oct 8, 2023
1 parent 7515368 commit 5e636df
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/SoGLSL
9 changes: 5 additions & 4 deletions src/Backends/MainBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,10 @@ void MainBackend::EndFrame() {
MidiSystem::Instance()->updateMidiNeeded = false;
// SoundSystem::Instance()->updateMidiNeeded = false;
PictureExportSystem::Instance()->ScreenGrabbIfNeeded(MainBackend::sMainThread);
GuiBackend::Instance()->SwapBuffers(MainBackend::sMainThread);
iagp::InAppGpuProfiler::Instance()->Collect();
TracyGpuCollect;
{
AIGPScoped("Opengl", "%s", "Swap buffers");
GuiBackend::Instance()->SwapBuffers(MainBackend::sMainThread);
}
}

void MainBackend::StartOrStopVR() {
Expand Down Expand Up @@ -1139,7 +1140,7 @@ void MainBackend::DoRendering() {
GuiBackend::MakeContextCurrent(MainBackend::sMainThread);

TracyGpuZone("MainBackend::DoRendering");
AIGPScoped("MainBackend", "Rendering");
AIGPScoped("MainBackend", "%s", "Rendering");

if (puPixelDebug.NeedRefresh()) {
puPixelDebug.Capture(puDisplay_RenderPack, puDisplayQuality, CameraSystem::Instance());
Expand Down
4 changes: 2 additions & 2 deletions src/Headers/NoodlesPlateBuild.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#define NoodlesPlate_Prefix "NoodlesPlate"
#define NoodlesPlate_BuildNumber 638
#define NoodlesPlate_BuildNumber 667
#define NoodlesPlate_MinorNumber 7
#define NoodlesPlate_MajorNumber 0
#define NoodlesPlate_BuildId "0.7.638"
#define NoodlesPlate_BuildId "0.7.667"
10 changes: 6 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static void Imgui_Prepare()
}

static void Imgui_Render(const ImGuiIO& io) {
AIGPScoped("ImGui", "Imgui_Render");
AIGPScoped("ImGui", "%s", "Rendering");
GuiBackend::MakeContextCurrent(MainBackend::sMainThread);
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());

Expand Down Expand Up @@ -343,9 +343,11 @@ int main(int, char** argv)
{
mainBackendPtr->Render();
}
Imgui_Render(io);
}
mainBackendPtr->EndFrame();
Imgui_Render(io);
mainBackendPtr->EndFrame();
}
AIGPCollect;
TracyGpuCollect;

RenderDocController::Instance()->EndCaptureIfResquested();
}
Expand Down

0 comments on commit 5e636df

Please sign in to comment.