{"action":"created","issue":{"url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/461","repository_url":"https://api.github.com/repos/CosmosOS/Cosmos","labels_url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/461/comments","events_url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/461/events","html_url":"https://github.com/CosmosOS/Cosmos/issues/461","id":176479534,"number":461,"title":"Is there any good display driver?","user":{"login":"mihail-rotmg","id":18571755,"avatar_url":"https://avatars.githubusercontent.com/u/18571755?v=3","gravatar_id":"","url":"https://api.github.com/users/mihail-rotmg","html_url":"https://github.com/mihail-rotmg","followers_url":"https://api.github.com/users/mihail-rotmg/followers","following_url":"https://api.github.com/users/mihail-rotmg/following{/other_user}","gists_url":"https://api.github.com/users/mihail-rotmg/gists{/gist_id}","starred_url":"https://api.github.com/users/mihail-rotmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihail-rotmg/subscriptions","organizations_url":"https://api.github.com/users/mihail-rotmg/orgs","repos_url":"https://api.github.com/users/mihail-rotmg/repos","events_url":"https://api.github.com/users/mihail-rotmg/events{/privacy}","received_events_url":"https://api.github.com/users/mihail-rotmg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-12T20:44:02Z","updated_at":"2016-09-22T22:34:27Z","closed_at":null,"body":"My display driver (taken from Basic OS) has 6.7 FPS average (from 6-7 but it is 7 more often).\r\nWhen i move around with the mouse i get 6 FPS average (from 5-7 FPS).\r\nI only draw the name of the operating system, background with static color and the mouse.\r\nI tried removing them all and i got the same results (6.7 FPS)\r\nAlso debugging is off and i use VMware Workstation 12.\r\n\r\nThis is the code i draw:\r\n```\r\n            while (Running)\r\n            {\r\n                display.fillArea(0, 0, 320, 200, 5);\r\n                FontRenderer Text = new FontRenderer(display, BasicPixelated);\r\n                Text.renderString(10, 10, \"MihailOS\".ToUpper());\r\n                FPSData = FPS.Draw(FPSData[0], FPSData[1], FPSData[2]);\r\n                Text.renderString(300, 2, FPSData[2].ToString());\r\n                if (mouse.isAnyClicked()) { display.clear(); };\r\n                mr.renderMouse();\r\n                display.step();\r\n            }\r\n```\r\n\r\nAnd this is my FPS Counter Code:\r\n```\r\nusing MihailOS.Hardware;\r\n\r\nnamespace MihailOS.GSYS.Functions\r\n{\r\n    public static class FPS\r\n    {\r\n        internal static int[] Draw(int Frames, int TimeLast, int FramesOut)\r\n        {\r\n            int[] data = new int[3];\r\n            if (TimeLast != Time.Second())\r\n            {\r\n                FramesOut = Frames;\r\n                Frames = 0;\r\n            }\r\n            TimeLast = Time.Second();\r\n            Frames++;\r\n            data[0] = Frames;\r\n            data[1] = TimeLast;\r\n            data[2] = FramesOut;\r\n            return data;\r\n        }\r\n    }\r\n}\r\n\r\n```\r\n\r\nAnd this are the drivers:\r\nhttp://pastebin.com/avRNwAwS\r\nhttp://pastebin.com/aXa0rhyK\r\n\r\nIs there any way i that i can improve?"},"comment":{"url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/comments/249047824","html_url":"https://github.com/CosmosOS/Cosmos/issues/461#issuecomment-249047824","issue_url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/461","id":249047824,"user":{"login":"Cyber4","id":8811361,"avatar_url":"https://avatars.githubusercontent.com/u/8811361?v=3","gravatar_id":"","url":"https://api.github.com/users/Cyber4","html_url":"https://github.com/Cyber4","followers_url":"https://api.github.com/users/Cyber4/followers","following_url":"https://api.github.com/users/Cyber4/following{/other_user}","gists_url":"https://api.github.com/users/Cyber4/gists{/gist_id}","starred_url":"https://api.github.com/users/Cyber4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cyber4/subscriptions","organizations_url":"https://api.github.com/users/Cyber4/orgs","repos_url":"https://api.github.com/users/Cyber4/repos","events_url":"https://api.github.com/users/Cyber4/events{/privacy}","received_events_url":"https://api.github.com/users/Cyber4/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T22:34:27Z","updated_at":"2016-09-22T22:34:27Z","body":"VBE is much faster to VGA due to a bug (or something) relating to terrible speeds using delegates.  It's a really easy fix if you want to get your hands dirty in the devkit code but honestly i'm very, very surprised this hasn't been changed by now since it was brought up _ages_ ago and it's not a difficult fix at all, I just don't think it's ever been merged."}}
{"actor":{"display_login":"Cyber4"}}