summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/framebuffer_layout.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-10yuzu: Add 16:10 aspect ratioNarr the Reg1-0/+1
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-11-20Fix screenshot dimensions when at 1x scaleameerj1-10/+1
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-16bootmanager: Fix screenshot resolution factor usageameerj1-1/+1
Fixes screenshots at non integer scaling
2020-08-30Address second batch of reviewsFearlessTobi1-0/+1
2020-05-15frontend: Set minimum window size to 640x360 instead of 1280x720 (#3413)Morph1-0/+5
2020-03-11framebuffer_layout.h: drop the use of enum for screen dimensions.Vitor Kiguchi1-8/+8
+clang format
2020-02-26renderer_opengl: Add texture mailbox support for presenter thread.bunnei1-0/+1
2020-02-14Add 4:3 aspect ratio and address feedbackMorph1-4/+5
2020-02-14Address feedbackMorph1-2/+10
2020-02-14Use enumeration instead of magic numbersMorph1-0/+6
2019-06-03yuzu/bootmanager: Treat the resolution factor as a u32Lioncash1-7/+14
Treating it as a u16 can result in a sign-conversion warning when performing arithmetic with it, as u16 promotes to an int when aritmetic is performed on it, not unsigned int. This also makes the interface more uniform, as the layout interface now operates on u32 across the board.
2019-02-27common/math_util: Move contents into the Common namespaceLioncash1-1/+1
These types are within the common library, so they should be within the Common namespace.
2018-12-18yuzu, video_core: Screenshot functionalityzhupengfei1-0/+7
Allows capturing screenshot at the current internal resolution (native for software renderer), but a setting is available to capture it in other resolutions. The screenshot is saved to a single PNG in the current layout.
2018-01-13yuzu: Update license text to be consistent across project.bunnei1-1/+1
2018-01-11frontend: Update for undocked Switch screen layout.bunnei1-52/+14
2017-08-25SidebySide Layout (#2859)ThaMighty901-0/+11
* added a SidebySide Layout * Reworked, so both screen have the same height and cleaned up screen translates. * added the option in the UI, hope this is the right way to do it. formated framebuffer_layout.cpp * delete the x64 files * deleted ui_configure_graphics.h * added Option for the Layout in the xml * got rid of SIDE_BY_SIDE_ASPECT_RATIO because it was useless. pulled translate into variables * changed shift variables to u32 and moved them in their respective branch. remove notr="true" for the Screen layout drop down * reworked intends :). changed function description for SideFrameLayout * some description reworking
2017-05-28Move screen size constants from video_core to coreYuri Kunde Schlesner1-1/+10
video_core didn't even properly use them, and they were the source of many otherwise-unnecessary dependencies from core to video_core.
2017-05-28Move framebuffer_layout from Common to CoreYuri Kunde Schlesner1-0/+0
This removes a dependency inversion between core and common. It's also the proper place for the file since it makes screen layout decisions specific to the 3DS.
2017-02-23Add custom layout settings.SonofUgly1-0/+8
2016-11-12Round the rectangle size to prevent float to int casting issuesJames Rowe1-2/+5
And other minor style changes
2016-11-05Add default hotkey to swap primary screens.James Rowe1-1/+2
Also minor style changes
2016-11-05Support additional screen layouts.James Rowe1-0/+43
Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.