{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/4143","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/4143/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/4143/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/4143/events","html_url":"https://github.com/xbmc/xbmc/pull/4143","id":26877070,"number":4143,"title":"Cache font vertices, GPU-side when possible","user":{"login":"bavison","id":3324657,"avatar_url":"https://avatars.githubusercontent.com/u/3324657?v=3","gravatar_id":"","url":"https://api.github.com/users/bavison","html_url":"https://github.com/bavison","followers_url":"https://api.github.com/users/bavison/followers","following_url":"https://api.github.com/users/bavison/following{/other_user}","gists_url":"https://api.github.com/users/bavison/gists{/gist_id}","starred_url":"https://api.github.com/users/bavison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bavison/subscriptions","organizations_url":"https://api.github.com/users/bavison/orgs","repos_url":"https://api.github.com/users/bavison/repos","events_url":"https://api.github.com/users/bavison/events{/privacy}","received_events_url":"https://api.github.com/users/bavison/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xbmc/xbmc/milestones/56","labels_url":"https://api.github.com/repos/xbmc/xbmc/milestones/56/labels","id":903185,"number":56,"title":"I******* 15.0-alpha1","description":"","creator":{"login":"MartijnKaijser","id":907436,"avatar_url":"https://avatars.githubusercontent.com/u/907436?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnKaijser","html_url":"https://github.com/MartijnKaijser","followers_url":"https://api.github.com/users/MartijnKaijser/followers","following_url":"https://api.github.com/users/MartijnKaijser/following{/other_user}","gists_url":"https://api.github.com/users/MartijnKaijser/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnKaijser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnKaijser/subscriptions","organizations_url":"https://api.github.com/users/MartijnKaijser/orgs","repos_url":"https://api.github.com/users/MartijnKaijser/repos","events_url":"https://api.github.com/users/MartijnKaijser/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnKaijser/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":246,"state":"open","created_at":"2014-12-14T13:42:20Z","updated_at":"2015-02-02T10:28:17Z","due_on":"2015-02-27T23:00:00Z","closed_at":null},"comments":83,"created_at":"2014-02-04T12:08:09Z","updated_at":"2015-02-02T11:07:33Z","closed_at":"2015-01-26T19:19:26Z","pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/4143","html_url":"https://github.com/xbmc/xbmc/pull/4143","diff_url":"https://github.com/xbmc/xbmc/pull/4143.diff","patch_url":"https://github.com/xbmc/xbmc/pull/4143.patch"},"body":"This is quite a complex change, so I've formulated it as a series of dependent patches.\r\n\r\nThe aim is to reduce CPU/GPU bandwidth by keeping the vertices describing each string of font glyphs in a cache on the GPU side. Simple transformations (just translations in practice) are also performed on the GPU without needing to re-transfer the vertices.\r\n\r\nAt the moment, the main benefit is only available to OpenGL ES clients (such as the Raspberry Pi). However, there is a lesser benefit to be gained by the use of a CPU-side version of the cache, which is used in other cases, as well as in OpenGL ES cases where the selected transformation matrices rule out the use of hardware clipping.\r\n\r\nI've benchmarked the typical rendering time of each frame on the main page of Confluence with RSS ticker and debug window enabled, on a non-overclocked Raspberry Pi:\r\n\r\n          Before          After\r\n          Mean   StdDev   Mean   StdDev  Confidence  Change\r\n    Time  20.5   3.8      18.2   3.8     100.0%      +12.5%\r\n \r\nIn FPS terms, 20.5 ms is 48.8 FPS, 18.2 ms is 54.9 FPS."},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/72440046","html_url":"https://github.com/xbmc/xbmc/pull/4143#issuecomment-72440046","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/4143","id":72440046,"user":{"login":"ace20022","id":2150851,"avatar_url":"https://avatars.githubusercontent.com/u/2150851?v=3","gravatar_id":"","url":"https://api.github.com/users/ace20022","html_url":"https://github.com/ace20022","followers_url":"https://api.github.com/users/ace20022/followers","following_url":"https://api.github.com/users/ace20022/following{/other_user}","gists_url":"https://api.github.com/users/ace20022/gists{/gist_id}","starred_url":"https://api.github.com/users/ace20022/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ace20022/subscriptions","organizations_url":"https://api.github.com/users/ace20022/orgs","repos_url":"https://api.github.com/users/ace20022/repos","events_url":"https://api.github.com/users/ace20022/events{/privacy}","received_events_url":"https://api.github.com/users/ace20022/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T11:07:33Z","updated_at":"2015-02-02T11:07:33Z","body":"I now get it on every start, sample: https://www.dropbox.com/s/ed04pjnynccnwuy/test3_2.avi?dl=0\r\nThe sub menu fonts break."}}