liushuyu
f722e83537
video_core/codecs: (re-spin) refactor ffmpeg searching and handling
2021-12-15 20:57:01 -07:00
bunnei
15a4248f46
Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"
2021-12-15 00:02:53 -08:00
bunnei
bf62cd3221
Merge pull request #7565 from liushuyu/fix-linux-decoding
...
video_core/codecs: refactor ffmpeg searching and handling in cmake
2021-12-14 22:27:13 -08:00
liushuyu
538db2d872
CI: fix CI on Linux
2021-12-13 22:31:19 -07:00
liushuyu
f7516c3fda
video_core/codecs: skip decoders that use hw frames ...
...
... this would resolve some edge-cases where multiple devices are
present and ffmpeg is unable to auto-supply the hw surfaces
2021-12-13 22:29:19 -07:00
Morph
036cb348bf
maxwell_to_vk: Add ASTC_2D_5X4_UNORM
2021-12-10 22:44:24 -05:00
Feng Chen
755963ada1
Fix blit image/view not compatible
2021-12-10 12:41:09 +08:00
Morph
0f7d2bbd55
maxwell_to_vk: Add ASTC_2D_8X5_UNORM
...
- Used by Lego City Undercover
2021-12-09 13:53:53 -05:00
Morph
16fa8e0b37
Merge pull request #7495 from FernandoS27/text-blit-fix-again
...
Texture Cache: Fix mismatching image/views on blits
2021-12-09 05:26:21 -05:00
Morph
052c01db9a
renderer_vulkan: Add R16G16_UINT
...
- Used by Immortals Fenyx Rising
2021-12-08 10:55:11 -05:00
bunnei
962a2a65a0
Merge pull request #7488 from vonchenplus/support_multiple_videos_playing
...
Support multiple videos playing
2021-12-07 18:38:14 -08:00
ameerj
ef8c472d32
vk_texture_cache: Add ABGR src format check for D24S8 conversions
2021-12-05 15:54:58 -05:00
ameerj
9699d5e6d5
renderer_opengl: Minor refactoring of filter selection
2021-12-05 15:42:45 -05:00
ameerj
7d5c21688e
texture_cache: Fix image convert dimensions assertion
2021-12-05 15:42:45 -05:00
ameerj
4c9fb0ffe9
blit_image: Refactor upscale factors usage
...
The image view itself can be queried to see if it is being rescaled or not, removing the need to pass the upscale/down shift factors from the texture cache.
2021-12-05 15:42:44 -05:00
ameerj
a38d05ec11
vk_texture_cache: Add a function to ImageView to check if src image is rescaled
2021-12-05 15:39:00 -05:00
ameerj
0d5b7f7a7f
blit_image: Refactor ConvertPipeline functions
2021-12-05 15:39:00 -05:00
ameerj
4495c10671
blit_image: Refactor ConvertPipelineEx functions
...
reduces much of the duplication between the color/depth variants
2021-12-05 15:38:59 -05:00
ameerj
276de8a751
vk_blit_screen: Minor refactor of filter pipeline selection
2021-12-05 15:35:35 -05:00
ameerj
c701429fb4
Revert "Merge pull request #7395 from Morph1984/resolve-comments"
...
This reverts commit 0442db9ad6
, reversing
changes made to 15212de85a
.
2021-12-05 15:35:35 -05:00
Feng Chen
4a3c1192b8
Address feedback
2021-12-05 00:06:14 +08:00
Fernando Sahmkow
3b1694245f
Texture Cache: Fix crashes on NVIDIA.
2021-12-04 11:26:58 +01:00
bunnei
94dddbc155
Merge pull request #7467 from liushuyu/fix-linux-decoding
...
video_core/codecs: more robust ffmpeg hwdecoder selection logic
2021-12-03 17:11:12 -08:00
liushuyu
18ddfcc0cf
video_core/cmake: link against libva explicitly ...
...
... to fix build on Flatpak (and self-builds)
2021-12-02 22:35:30 -07:00
liushuyu
168882cb7a
video_core/codecs: more fixes for VAAPI detection ...
...
* skip impersonated VAAPI implementaions ("imposter detection")
* place VAAPI priority below CUDA/NVDEC/CUVID
2021-12-02 21:31:51 -07:00
liushuyu
ef00c213e8
video_core/codec: address comments
2021-12-02 21:01:34 -07:00
liushuyu
a32139fdab
video_core/codecs: more robust ffmpeg hwdecoder selection logic
2021-12-02 21:01:34 -07:00
Morph
2b9afa4d56
general: Replace high_resolution_clock with steady_clock
...
On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock.
2021-12-02 14:20:43 -05:00
Feng Chen
10cc89bfdf
Support multiple videos playing
2021-12-02 12:48:42 +08:00
Feng Chen
2e834bfa4a
Add missing pixel format mapping
2021-11-29 12:39:37 +08:00
Fernando S
d15bbac985
Merge pull request #7396 from FernandoS27/blit-this-mf
...
TextureCache: Eliminate format deduction as full depth conversion has been supported.
2021-11-28 12:16:31 +01:00
Fernando Sahmkow
4e74fa32a4
Texture Cache: Secure insertions against deletions.
2021-11-28 10:53:27 +01:00
Fernando Sahmkow
fc91c0f51d
Texture Cache: Redesigning the blitting system (again).
2021-11-27 11:22:16 +01:00
Fernando Sahmkow
dcce920306
Texture Cache: Further fix regressions.
2021-11-26 17:03:48 +01:00
liushuyu
1a5c1d70de
video_core/codec: address comments
2021-11-24 18:06:38 -07:00
liushuyu
f91cc356fb
video_core/codecs: fix multiple decoding issues on Linux ...
...
* when someone installed Intel video drivers on an AMD system, the
decoder will select the Intel VA-API decoding driver and yuzu will
crash due to incorrect driver selection; the fix will check if the
currently about-to-use driver is loaded in the kernel
* when using NVIDIA driver on Linux with a ffmpeg that does not have
CUDA capability enabled, the decoder will crash; the fix simply
making the decoder prefers the VDPAU driver over CUDA on Linux
2021-11-24 17:23:57 -07:00
Fernando Sahmkow
81f52ea8fc
Texture Cache: Fix issue with blitting 3D textures.
2021-11-22 06:07:21 +01:00
Fernando Sahmkow
dc87895c22
Texture Cache: Correct conversion shaders.
2021-11-22 00:21:42 +01:00
Fernando Sahmkow
c03917860b
Texture Cache: Always copy on NVIDIA.
2021-11-22 00:06:56 +01:00
Fernando Sahmkow
09a236dbbf
TextureCache: Simplify blitting of D24S8 formats and fix bugs.
2021-11-22 00:00:01 +01:00
Fernando Sahmkow
eae2158c12
VulkanTexturECache: Use reinterpret on D32_S8 formats.
2021-11-21 21:09:49 +01:00
Fernando Sahmkow
5b92772fe6
HostShaders: Fix D24S8 convertion shaders.
2021-11-21 21:04:04 +01:00
bunnei
0442db9ad6
Merge pull request #7395 from Morph1984/resolve-comments
...
general: Resolve comments in PR #7368
2021-11-21 02:42:24 -08:00
bunnei
15212de85a
Merge pull request #7389 from ameerj/screenshot-1x
...
Fix screenshot dimensions when at 1x scale
2021-11-21 02:31:32 -08:00
Fernando Sahmkow
df62d93979
TextureCache: Eliminate format deduction as full depth conversion has been supported.
2021-11-21 05:37:01 +01:00
Morph
e0c4af1b7b
vk_texture_cache: Mark VkBufferUsageFlags as static constexpr
2021-11-20 21:49:37 -05:00
Morph
feba9b7300
vk_blit_image: Consolidate CreatePipelineTargetEx functions
2021-11-20 21:18:37 -05:00
bunnei
9e4707b508
Merge pull request #7368 from FernandoS27/vulkan-conv
...
Fix ART Blit detection regression and add D24S8 <-> RGBA8 conv to Vulkan
2021-11-20 16:51:13 -08:00
ameerj
69759e55ee
Fix screenshot dimensions when at 1x scale
...
This was regressed by ART.
Prior to ART, the screenshots were saved at the title's framebuffer resolution. A misunderstanding of the existing logic led to screenshot dimensions becoming dependent on the host render window size.
This changes the behavior to match how it was prior to ART at 1x, with screenshots now always being the title's framebuffer dimensions scaled by the resolution scaling factor.
2021-11-20 17:50:24 -05:00
Fernando Sahmkow
e6d7d48d78
TextureCache: Refactor and fix linux compiling.
2021-11-20 14:46:19 +01:00