aboutsummaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.h
AgeCommit message (Collapse)Author
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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 scaleameerj
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 usageameerj
Fixes screenshots at non integer scaling
2020-08-30Address second batch of reviewsFearlessTobi
2020-05-15frontend: Set minimum window size to 640x360 instead of 1280x720 (#3413)Morph
2020-03-11framebuffer_layout.h: drop the use of enum for screen dimensions.Vitor Kiguchi
+clang format
2020-02-25renderer_opengl: Add texture mailbox support for presenter thread.bunnei
2020-02-14Add 4:3 aspect ratio and address feedbackMorph
2020-02-14Address feedbackMorph
2020-02-13Use enumeration instead of magic numbersMorph
2019-06-03yuzu/bootmanager: Treat the resolution factor as a u32Lioncash
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 namespaceLioncash
These types are within the common library, so they should be within the Common namespace.
2018-12-18yuzu, video_core: Screenshot functionalityzhupengfei
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.bunnei
2018-01-10frontend: Update for undocked Switch screen layout.bunnei
2017-08-25SidebySide Layout (#2859)ThaMighty90
* 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-27Move screen size constants from video_core to coreYuri Kunde Schlesner
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-27Move framebuffer_layout from Common to CoreYuri Kunde Schlesner
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.