gsdx-ogl:windows: Save screenshots as PNG files

v2: Add zlib directory to property sheet
This commit is contained in:
Jonathan Li 2015-12-15 19:18:59 +00:00
parent 87dcfbc645
commit 38edd77034
4 changed files with 13 additions and 2 deletions

View File

@ -692,6 +692,7 @@
<ClCompile Include="GSFunctionMap.cpp" />
<ClCompile Include="GSLocalMemory.cpp" />
<ClCompile Include="GSPerfMon.cpp" />
<ClCompile Include="GSPng.cpp" />
<ClCompile Include="GSRasterizer.cpp">
<AssemblerOutput Condition="'$(Configuration)|$(Platform)'=='Release AVX|x64'">AssemblyAndSourceCode</AssemblerOutput>
<AssemblerOutput Condition="'$(Configuration)|$(Platform)'=='Release AVX2|x64'">AssemblyAndSourceCode</AssemblerOutput>
@ -1980,6 +1981,7 @@
<ClInclude Include="GSFunctionMap.h" />
<ClInclude Include="GSLocalMemory.h" />
<ClInclude Include="GSPerfMon.h" />
<ClInclude Include="GSPng.h" />
<ClInclude Include="GSRasterizer.h" />
<ClInclude Include="GSRenderer.h" />
<ClInclude Include="GSRendererCL.h" />
@ -2083,6 +2085,9 @@
<Image Include="res\logo-ogl.bmp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\3rdparty\libpng\projects\vstudio\libpng\libpng.vcxproj">
<Project>{d6973076-9317-4ef2-a0b8-b7a18ac0713e}</Project>
</ProjectReference>
<ProjectReference Include="..\..\3rdparty\opencl\opencl.vcxproj">
<Project>{d80d4a75-c385-41bd-ae62-83d2e2b595a7}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>

View File

@ -354,6 +354,9 @@
<ClCompile Include="GSDrawingContext.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="GSPng.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="GLLoader.h">
@ -716,6 +719,9 @@
<ClInclude Include="GSRendererCL.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="GSPng.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="res\logo10.bmp">

View File

@ -53,7 +53,7 @@
//#define ENABLE_OPENCL
#endif
#if defined(__linux__) && PNGPP_SUPPORTED
#if (defined(__linux__) && PNGPP_SUPPORTED) || defined(_WIN32)
// Allow to dump texture as PNG (require libpng++). It reduces the size of the dump
// and alpha is well supported (on linux)
#define ENABLE_OGL_PNG

View File

@ -14,7 +14,7 @@
<WarningLevel>Level4</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DisableSpecificWarnings>4456;4458;4996;4995;4324;4100;4101;4201;4556;4127;4512;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<AdditionalIncludeDirectories>$(DXSDK_DIR)include;$(VTUNE_AMPLIFIER_XE_2015_DIR)include;$(SolutionDir)3rdparty;$(SolutionDir)3rdparty\opencl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(DXSDK_DIR)include;$(VTUNE_AMPLIFIER_XE_2015_DIR)include;$(SolutionDir)3rdparty;$(SolutionDir)3rdparty\libpng;$(SolutionDir)3rdparty\opencl;$(SolutionDir)3rdparty\zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>