Add stb_image.

This commit is contained in:
Bartosz Taudul 2019-06-02 17:51:58 +02:00
parent 8ae33fbb1e
commit c0326b9ba0
5 changed files with 7556 additions and 0 deletions

View File

@ -1676,6 +1676,7 @@ The following libraries are included with and used by the Tracy Profiler:
\begin{itemize} \begin{itemize}
\item rpmalloc -- \url{https://github.com/rampantpixels/rpmalloc} \item rpmalloc -- \url{https://github.com/rampantpixels/rpmalloc}
\item gl3w -- \url{https://github.com/skaslev/gl3w} \item gl3w -- \url{https://github.com/skaslev/gl3w}
\item stb\_image -- \url{https://github.com/nothings/stb}
\end{itemize} \end{itemize}
\item zlib license \item zlib license

View File

@ -180,6 +180,7 @@
<ClInclude Include="..\..\src\imgui_freetype.h" /> <ClInclude Include="..\..\src\imgui_freetype.h" />
<ClInclude Include="..\..\src\imgui_impl_glfw.h" /> <ClInclude Include="..\..\src\imgui_impl_glfw.h" />
<ClInclude Include="..\..\src\imgui_impl_opengl3.h" /> <ClInclude Include="..\..\src\imgui_impl_opengl3.h" />
<ClInclude Include="..\..\src\stb_image.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Natvis Include="DebugVis.natvis" /> <Natvis Include="DebugVis.natvis" />

View File

@ -251,6 +251,9 @@
<ClInclude Include="..\..\..\imgui\imstb_truetype.h"> <ClInclude Include="..\..\..\imgui\imstb_truetype.h">
<Filter>imgui</Filter> <Filter>imgui</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\src\stb_image.h">
<Filter>src</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Natvis Include="DebugVis.natvis" /> <Natvis Include="DebugVis.natvis" />

View File

@ -20,6 +20,10 @@
# include <shellapi.h> # include <shellapi.h>
#endif #endif
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ONLY_PNG
#include "stb_image.h"
#include "../../server/tracy_pdqsort.h" #include "../../server/tracy_pdqsort.h"
#include "../../server/TracyBadVersion.hpp" #include "../../server/TracyBadVersion.hpp"
#include "../../server/TracyFileRead.hpp" #include "../../server/TracyFileRead.hpp"

7547
profiler/src/stb_image.h Normal file

File diff suppressed because it is too large Load Diff