{"action":"created","issue":{"url":"https://api.github.com/repos/fabiangreffrath/crispy-doom/issues/279","repository_url":"https://api.github.com/repos/fabiangreffrath/crispy-doom","labels_url":"https://api.github.com/repos/fabiangreffrath/crispy-doom/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/fabiangreffrath/crispy-doom/issues/279/comments","events_url":"https://api.github.com/repos/fabiangreffrath/crispy-doom/issues/279/events","html_url":"https://github.com/fabiangreffrath/crispy-doom/issues/279","id":309756389,"number":279,"title":"[Request] Original 320x200 internal resolution","user":{"login":"vanfanel","id":837585,"avatar_url":"https://avatars1.githubusercontent.com/u/837585?v=4","gravatar_id":"","url":"https://api.github.com/users/vanfanel","html_url":"https://github.com/vanfanel","followers_url":"https://api.github.com/users/vanfanel/followers","following_url":"https://api.github.com/users/vanfanel/following{/other_user}","gists_url":"https://api.github.com/users/vanfanel/gists{/gist_id}","starred_url":"https://api.github.com/users/vanfanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanfanel/subscriptions","organizations_url":"https://api.github.com/users/vanfanel/orgs","repos_url":"https://api.github.com/users/vanfanel/repos","events_url":"https://api.github.com/users/vanfanel/events{/privacy}","received_events_url":"https://api.github.com/users/vanfanel/received_events","type":"User","site_admin":false},"labels":[{"id":83940767,"url":"https://api.github.com/repos/fabiangreffrath/crispy-doom/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-29T13:33:30Z","updated_at":"2018-03-29T15:47:12Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nNow that CrispyDoom runs on SDL2, there's need for it to support the original 320x200 resolution for platforms like the Raspberry Pi, where CPU is NOT enough to push 640x pixels at 60FPS.\r\nThe idea is that the game runs internally at 320x200 and SDL2 scales that to fullscreen physical resolution (theres no \"windows\", no Xorg server: SDL2 runs fullscreen on the Rasperry), thus freeing the CPU from doing any scaling: SDL2 on the Pi runs on a GLES/GLES2 renderer that scales with no CPU cost (thats how Scummvm or Zdoom work on the Pi, with very reasonable CPU usage).\r\n\r\nI know the original Chocolate Doom provides the original 320x200, but it's tied to the old 35 FPS limit that looks terrible on modern ~60Hz displays, while Crispy can do uncapped framerate!\r\n\r\nI know 320x200 original mode is available with Graphics Detail : Low, but some internal software scaling is still done, isn't it? \r\n\r\nEDIT: looking at src/i_video.c, it seems so. A direct, original 320x200 8bpp to SDL2 should definitively be possible, thus letting SDL2 do all the scaling in hardware.\r\n"},"comment":{"url":"https://api.github.com/repos/fabiangreffrath/crispy-doom/issues/comments/377279449","html_url":"https://github.com/fabiangreffrath/crispy-doom/issues/279#issuecomment-377279449","issue_url":"https://api.github.com/repos/fabiangreffrath/crispy-doom/issues/279","id":377279449,"user":{"login":"vanfanel","id":837585,"avatar_url":"https://avatars1.githubusercontent.com/u/837585?v=4","gravatar_id":"","url":"https://api.github.com/users/vanfanel","html_url":"https://github.com/vanfanel","followers_url":"https://api.github.com/users/vanfanel/followers","following_url":"https://api.github.com/users/vanfanel/following{/other_user}","gists_url":"https://api.github.com/users/vanfanel/gists{/gist_id}","starred_url":"https://api.github.com/users/vanfanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanfanel/subscriptions","organizations_url":"https://api.github.com/users/vanfanel/orgs","repos_url":"https://api.github.com/users/vanfanel/repos","events_url":"https://api.github.com/users/vanfanel/events{/privacy}","received_events_url":"https://api.github.com/users/vanfanel/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T15:47:12Z","updated_at":"2018-03-29T15:47:12Z","author_association":"NONE","body":"@fabiangreffrath : Just did a rebuild with #define hires 0, but the game is still taking ALL the CPU for scaling."}}
{"actor":{"display_login":"vanfanel"}}