1
0
Fork 0
forked from suyu/suyu
suyu/src/video_core
ameerj fe1f06c856 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
..
buffer_cache VulkanBufferCache: Avoid adding barriers between multiple copies. 2021-11-16 22:11:32 +01:00
command_classes codes: Rename ComposeFrameHeader to ComposeFrame 2021-11-12 23:52:19 -05:00
engines gpu: Migrate implementation to the cpp file 2021-10-03 00:35:57 -04:00
host_shaders HostShader: fix Gaussian filter. 2021-11-16 22:11:33 +01:00
macro xbyak: Update include path 2021-08-15 19:26:38 +01:00
renderer_opengl Merge pull request #7294 from vonchenplus/fix_image_update_error_when_width_too_small 2021-11-19 15:56:27 -08:00
renderer_vulkan Merge pull request #7357 from Morph1984/s8_uint 2021-11-19 01:16:49 -08:00
texture_cache Merge pull request #7357 from Morph1984/s8_uint 2021-11-19 01:16:49 -08:00
textures TextureCache: Fix Automatic Anisotropic. 2021-11-17 03:15:08 +01:00
vulkan_common renderer_vulkan: Implement S8_UINT stencil format 2021-11-18 00:05:51 -05:00
cdma_pusher.cpp gpu: Migrate implementation to the cpp file 2021-10-03 00:35:57 -04:00
cdma_pusher.h gpu: Migrate implementation to the cpp file 2021-10-03 00:35:57 -04:00
CMakeLists.txt Vulkan: Reimplement FSR constant generation functions to avoid GCC warnings 2021-11-16 22:11:33 +01:00
compatible_formats.cpp
compatible_formats.h
delayed_destruction_ring.h
dirty_flags.cpp shader: Accelerate pipeline transitions and use dirty flags for shaders 2021-07-22 21:51:29 -04:00
dirty_flags.h TextureCache: Modify Viewports/Scissors according to Rescale. 2021-11-16 22:11:27 +01:00
dma_pusher.cpp
dma_pusher.h
fence_manager.h
framebuffer_config.h gpu: Migrate implementation to the cpp file 2021-10-03 00:35:57 -04:00
gpu.cpp nvhost_ctrl: Refactor usage of gpu.LockSync() 2021-10-03 00:35:57 -04:00
gpu.h video_core: Add S8_UINT stencil format 2021-11-17 15:04:38 -05:00
gpu_thread.cpp gpu: Use std::jthread for async gpu thread 2021-09-15 20:49:07 -04:00
gpu_thread.h gpu: Migrate implementation to the cpp file 2021-10-03 00:35:57 -04:00
memory_manager.cpp video_core/memory_manager: Add missing <algorithm> include 2021-09-11 17:19:15 -04:00
memory_manager.h
query_cache.h Merge pull request #7077 from FernandoS27/face-down 2021-10-16 21:41:54 -04:00
rasterizer_accelerated.cpp
rasterizer_accelerated.h RasterizerInterface: Correct size of CPU addresses to cache. 2021-10-04 20:47:31 +02:00
rasterizer_interface.h shader: Remove old shader management 2021-07-22 21:51:22 -04:00
renderer_base.cpp renderers: Add explicit invert_y bool to screenshot callback 2021-07-28 21:46:08 -04:00
renderer_base.h renderers: Add explicit invert_y bool to screenshot callback 2021-07-28 21:46:08 -04:00
shader_cache.cpp shader: Initial OpenGL implementation 2021-07-22 21:51:30 -04:00
shader_cache.h shader: Initial OpenGL implementation 2021-07-22 21:51:30 -04:00
shader_environment.cpp gpu: Migrate implementation to the cpp file 2021-10-03 00:35:57 -04:00
shader_environment.h gpu: Migrate implementation to the cpp file 2021-10-03 00:35:57 -04:00
shader_notify.cpp vk_pipeline_cache,shader_notify: Add shader notifications 2021-07-22 21:51:35 -04:00
shader_notify.h vk_pipeline_cache,shader_notify: Add shader notifications 2021-07-22 21:51:35 -04:00
surface.cpp video_core: Add S8_UINT stencil format 2021-11-17 15:04:38 -05:00
surface.h video_core: Add S8_UINT stencil format 2021-11-17 15:04:38 -05:00
transform_feedback.cpp transform_feedback: Read buffer stride from index instead of layout 2021-07-22 21:51:34 -04:00
transform_feedback.h shader: Split profile and runtime info headers 2021-07-22 21:51:38 -04:00
video_core.cpp Fix screenshot dimensions when at 1x scale 2021-11-20 17:50:24 -05:00
video_core.h Fix screenshot dimensions when at 1x scale 2021-11-20 17:50:24 -05:00