mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-06 00:06:02 +08:00
* BitBlt 优化 * BitBlt恢复Top-down * 渲染时翻转图像 * CaptureSession引用计数 * 恢复成无拷贝Mat * 合法性检查 * 优化截图预览窗口 * 保存截图文件必要时需要克隆一份Mat * BitBlt内存池 * 返回拷贝就不用对Session做引用计数了 * 移除CaptureImageRes * 优化DirectX * 更好地处理padding * BitBlt去掉padding 1920*1080的游戏窗口是4字节对齐的,因此不会有性能影响。这里主要用于测试。 * 修复修改窗口大小 * 合并CreateStagingTexture * 修复设备丢失崩溃 * WGC截图支持HDR * fix typo * CodeQA * 去掉1px窗口边框 * DirectX截图去掉A通道 * HDR转换使用GPU加速 --------- Co-authored-by: 辉鸭蛋 <huiyadanli@gmail.com>
27 lines
1.1 KiB
XML
27 lines
1.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<Platforms>x64</Platforms>
|
|
<UseWindowsForms>True</UseWindowsForms>
|
|
<UseWPF>True</UseWPF>
|
|
<LangVersion>12.0</LangVersion>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="SharpDX.D3DCompiler" Version="4.2.0" />
|
|
<PackageReference Include="SharpDX.Direct3D11" Version="4.2.0" />
|
|
<PackageReference Include="SharpDX.DirectInput" Version="4.2.0" />
|
|
<PackageReference Include="Vanara.PInvoke.DwmApi" Version="4.1.3" />
|
|
<PackageReference Include="Vanara.PInvoke.Gdi32" Version="4.1.3" />
|
|
<PackageReference Include="Vanara.PInvoke.User32" Version="4.1.3" />
|
|
<PackageReference Include="Vanara.PInvoke.SHCore" Version="4.1.3" />
|
|
<PackageReference Include="Vanara.Windows.Extensions" Version="4.1.3" />
|
|
<PackageReference Include="OpenCvSharp4.Extensions" Version="4.10.0.20241108" />
|
|
<PackageReference Include="OpenCvSharp4.Windows" Version="4.10.0.20241108" />
|
|
</ItemGroup>
|
|
|
|
</Project> |