{"action":"created","issue":{"url":"https://api.github.com/repos/renaudbedard/fez-1.12-issues/issues/119","repository_url":"https://api.github.com/repos/renaudbedard/fez-1.12-issues","labels_url":"https://api.github.com/repos/renaudbedard/fez-1.12-issues/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/renaudbedard/fez-1.12-issues/issues/119/comments","events_url":"https://api.github.com/repos/renaudbedard/fez-1.12-issues/issues/119/events","html_url":"https://github.com/renaudbedard/fez-1.12-issues/issues/119","id":167043406,"number":119,"title":"Real Fullscreen Mode","user":{"login":"vrubleg","id":2157439,"avatar_url":"https://avatars.githubusercontent.com/u/2157439?v=3","gravatar_id":"","url":"https://api.github.com/users/vrubleg","html_url":"https://github.com/vrubleg","followers_url":"https://api.github.com/users/vrubleg/followers","following_url":"https://api.github.com/users/vrubleg/following{/other_user}","gists_url":"https://api.github.com/users/vrubleg/gists{/gist_id}","starred_url":"https://api.github.com/users/vrubleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrubleg/subscriptions","organizations_url":"https://api.github.com/users/vrubleg/orgs","repos_url":"https://api.github.com/users/vrubleg/repos","events_url":"https://api.github.com/users/vrubleg/events{/privacy}","received_events_url":"https://api.github.com/users/vrubleg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/renaudbedard/fez-1.12-issues/labels/WONTFIX","name":"WONTFIX","color":"b60205"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-22T13:18:36Z","updated_at":"2016-07-29T02:47:37Z","closed_at":"2016-07-22T13:21:26Z","body":"New version of the game uses virtual resolutions. Actually, the game always uses maximum possible resolution of the primary display. That's nice that changing resolution works so quick, but there are some flaws.\r\n\r\nIt is important when screen recording software is used. For example, if I would like to record a 16:9 video (which is better for YouTube), but my display is 16:10, I can't do it. The image will be stretched to 1920×1200 when I choose 1920×1080 or even 1280×720. The other problem that capturing and encoding of 1920×1200 is much slower, than capturing and encoding of 1280×720. It causes noticeable and frequent frame drops.\r\n\r\nIt would be nice to have the \"RealFullscreen\" (or \"EmulateFullscreen\") setting at least in the settings file."},"comment":{"url":"https://api.github.com/repos/renaudbedard/fez-1.12-issues/issues/comments/236081397","html_url":"https://github.com/renaudbedard/fez-1.12-issues/issues/119#issuecomment-236081397","issue_url":"https://api.github.com/repos/renaudbedard/fez-1.12-issues/issues/119","id":236081397,"user":{"login":"flibitijibibo","id":1396814,"avatar_url":"https://avatars.githubusercontent.com/u/1396814?v=3","gravatar_id":"","url":"https://api.github.com/users/flibitijibibo","html_url":"https://github.com/flibitijibibo","followers_url":"https://api.github.com/users/flibitijibibo/followers","following_url":"https://api.github.com/users/flibitijibibo/following{/other_user}","gists_url":"https://api.github.com/users/flibitijibibo/gists{/gist_id}","starred_url":"https://api.github.com/users/flibitijibibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibitijibibo/subscriptions","organizations_url":"https://api.github.com/users/flibitijibibo/orgs","repos_url":"https://api.github.com/users/flibitijibibo/repos","events_url":"https://api.github.com/users/flibitijibibo/events{/privacy}","received_events_url":"https://api.github.com/users/flibitijibibo/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T02:47:37Z","updated_at":"2016-07-29T02:47:37Z","body":"To give a better starting point, you'll want to start here:\r\n\r\nhttps://github.com/FNA-XNA/FNA/blob/master/src/FNAPlatform/SDL2_FNAPlatform.cs#L225\r\n\r\nThis sets the native window size, but you'll have to align it with the GLDevice's backbuffer size if you want the exclusive fullscreen size to be the same as the backbuffer size, which would be the same in fullscreen modes not associated with supersampled graphics modes:\r\n\r\nhttps://github.com/FNA-XNA/FNA/blob/master/src/FNAPlatform/OpenGLDevice.cs#L761\r\n\r\nThe condition you have to worry about is the window size misaligning with the backbuffer size, which we check here:\r\n\r\nhttps://github.com/FNA-XNA/FNA/blob/master/src/FNAPlatform/OpenGLDevice.cs#L4101\r\n\r\nThe tough part is that exclusive fullscreen isn't reported immediately by window managers (be it Win32, X11, etc.), and worse, you have to be sure that the window you're exclusively catching is correct, per the screenDeviceName that you're assigning the window to in ApplyWindowChanges; otherwise you end up doing a lot of work on a display that you hadn't intended to capture to begin with.\r\n\r\nBut, if you can make an `FNA_WINDOW_EXCLUSIVE_FULLSCREEN=1` that consistently sets the display mode for the right display that avoids redundant backbuffers and does not display data outside the game window for window managers that simulate non-native resolutions for windows within a display server, it should be feasible to skip the borderless centered window while also getting the performance issues that we've been getting with the FULLSCREEN_DESKTOP setup on Intel Windows drivers.\r\n\r\nFor additional help, some previous flibitQA members who might be able to help: @sulix @johndrinkwater @khbecker @meklu And some prior FNA contributors: @nickgravelyn @3vil @BlueLineGames and a couple more from the old FNA-MGHistory. If any of you guys feel like chipping in, go for it!"}}
{"actor":{"display_login":"flibitijibibo"}}