From 2d327abd80d5d7e44d8143cc7f613021c52c4da6 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 25 Jul 2022 01:22:41 +0200 Subject: [PATCH] Move imgui backends to a subdirectory. --- profiler/build/win32/Tracy.vcxproj | 10 +++--- profiler/build/win32/Tracy.vcxproj.filters | 33 ++++++++++--------- profiler/src/{ => imgui}/imgui_impl_glfw.cpp | 0 profiler/src/{ => imgui}/imgui_impl_glfw.h | 0 .../src/{ => imgui}/imgui_impl_opengl3.cpp | 0 profiler/src/{ => imgui}/imgui_impl_opengl3.h | 0 .../{ => imgui}/imgui_impl_opengl3_loader.h | 0 profiler/src/main.cpp | 6 ++-- server/TracyTexture.cpp | 2 +- 9 files changed, 27 insertions(+), 24 deletions(-) rename profiler/src/{ => imgui}/imgui_impl_glfw.cpp (100%) rename profiler/src/{ => imgui}/imgui_impl_glfw.h (100%) rename profiler/src/{ => imgui}/imgui_impl_opengl3.cpp (100%) rename profiler/src/{ => imgui}/imgui_impl_opengl3.h (100%) rename profiler/src/{ => imgui}/imgui_impl_opengl3_loader.h (100%) diff --git a/profiler/build/win32/Tracy.vcxproj b/profiler/build/win32/Tracy.vcxproj index 7bf1b086..574567d5 100644 --- a/profiler/build/win32/Tracy.vcxproj +++ b/profiler/build/win32/Tracy.vcxproj @@ -196,8 +196,8 @@ - - + + @@ -316,9 +316,9 @@ - - - + + + diff --git a/profiler/build/win32/Tracy.vcxproj.filters b/profiler/build/win32/Tracy.vcxproj.filters index 47c0f8df..99039d6f 100644 --- a/profiler/build/win32/Tracy.vcxproj.filters +++ b/profiler/build/win32/Tracy.vcxproj.filters @@ -37,6 +37,9 @@ {0bd58d14-3948-47ea-b720-47560dd57338} + + {484838ce-9f95-4081-a87f-921ed0c9e7fa} + @@ -66,12 +69,6 @@ server - - src - - - src - imgui @@ -330,6 +327,12 @@ common + + src\imgui + + + src\imgui + @@ -398,12 +401,6 @@ server - - src - - - src - imgui @@ -602,9 +599,6 @@ server - - src - zstd\common @@ -674,6 +668,15 @@ src\font + + src\imgui + + + src\imgui + + + src\imgui + diff --git a/profiler/src/imgui_impl_glfw.cpp b/profiler/src/imgui/imgui_impl_glfw.cpp similarity index 100% rename from profiler/src/imgui_impl_glfw.cpp rename to profiler/src/imgui/imgui_impl_glfw.cpp diff --git a/profiler/src/imgui_impl_glfw.h b/profiler/src/imgui/imgui_impl_glfw.h similarity index 100% rename from profiler/src/imgui_impl_glfw.h rename to profiler/src/imgui/imgui_impl_glfw.h diff --git a/profiler/src/imgui_impl_opengl3.cpp b/profiler/src/imgui/imgui_impl_opengl3.cpp similarity index 100% rename from profiler/src/imgui_impl_opengl3.cpp rename to profiler/src/imgui/imgui_impl_opengl3.cpp diff --git a/profiler/src/imgui_impl_opengl3.h b/profiler/src/imgui/imgui_impl_opengl3.h similarity index 100% rename from profiler/src/imgui_impl_opengl3.h rename to profiler/src/imgui/imgui_impl_opengl3.h diff --git a/profiler/src/imgui_impl_opengl3_loader.h b/profiler/src/imgui/imgui_impl_opengl3_loader.h similarity index 100% rename from profiler/src/imgui_impl_opengl3_loader.h rename to profiler/src/imgui/imgui_impl_opengl3_loader.h diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 25ee7937..0493986d 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -4,9 +4,9 @@ #include #include #include -#include "imgui_impl_glfw.h" -#include "imgui_impl_opengl3.h" -#include "imgui_impl_opengl3_loader.h" +#include "imgui/imgui_impl_glfw.h" +#include "imgui/imgui_impl_opengl3.h" +#include "imgui/imgui_impl_opengl3_loader.h" #include #include #include diff --git a/server/TracyTexture.cpp b/server/TracyTexture.cpp index cdc2e489..8e4a9e63 100644 --- a/server/TracyTexture.cpp +++ b/server/TracyTexture.cpp @@ -1,6 +1,6 @@ #include -#include "../profiler/src/imgui_impl_opengl3_loader.h" +#include "../profiler/src/imgui/imgui_impl_opengl3_loader.h" #include "TracyTexture.hpp" #ifndef COMPRESSED_RGB_S3TC_DXT1_EXT