{"action":"created","issue":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/2059","labels_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/2059/labels{/name}","comments_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/2059/comments","events_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/2059/events","html_url":"https://github.com/dolphin-emu/dolphin/pull/2059","id":57747479,"number":2059,"title":"Decode EFB copies used as paletted textures.","user":{"login":"magumagu","id":7026757,"avatar_url":"https://avatars.githubusercontent.com/u/7026757?v=3","gravatar_id":"","url":"https://api.github.com/users/magumagu","html_url":"https://github.com/magumagu","followers_url":"https://api.github.com/users/magumagu/followers","following_url":"https://api.github.com/users/magumagu/following{/other_user}","gists_url":"https://api.github.com/users/magumagu/gists{/gist_id}","starred_url":"https://api.github.com/users/magumagu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magumagu/subscriptions","organizations_url":"https://api.github.com/users/magumagu/orgs","repos_url":"https://api.github.com/users/magumagu/repos","events_url":"https://api.github.com/users/magumagu/events{/privacy}","received_events_url":"https://api.github.com/users/magumagu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-15T21:43:14Z","updated_at":"2015-02-16T00:35:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/pulls/2059","html_url":"https://github.com/dolphin-emu/dolphin/pull/2059","diff_url":"https://github.com/dolphin-emu/dolphin/pull/2059.diff","patch_url":"https://github.com/dolphin-emu/dolphin/pull/2059.patch"},"body":"A number of games make an EFB copy in I4/I8 format, then use it as a\r\ntexture in C4/C8 format.  Detect when this happens, and decode the copy on\r\nthe GPU using the specified palette.\r\n\r\nThis has a few advantages: it allows using EFB2Tex for a few more games,\r\nit, it preserves the resolution of scaled EFB copies, and it's probably a\r\nbit faster.\r\n\r\nD3D only at the moment, but porting to OpenGL should be straightforward.  I'm not as familiar with the OpenGL API, though, so I would appreciate some help with that.\r\n\r\nThe changes to the texture cache (TextureCacheBase.h/cpp) are the part that really needs to be reviewed closely; I'm not really confident this is the right direction.\r\n\r\nPlease don't merge yet; this will cause regressions on OpenGL as-is."},"comment":{"url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/comments/74446364","html_url":"https://github.com/dolphin-emu/dolphin/pull/2059#issuecomment-74446364","issue_url":"https://api.github.com/repos/dolphin-emu/dolphin/issues/2059","id":74446364,"user":{"login":"Mullin","id":1788173,"avatar_url":"https://avatars.githubusercontent.com/u/1788173?v=3","gravatar_id":"","url":"https://api.github.com/users/Mullin","html_url":"https://github.com/Mullin","followers_url":"https://api.github.com/users/Mullin/followers","following_url":"https://api.github.com/users/Mullin/following{/other_user}","gists_url":"https://api.github.com/users/Mullin/gists{/gist_id}","starred_url":"https://api.github.com/users/Mullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mullin/subscriptions","organizations_url":"https://api.github.com/users/Mullin/orgs","repos_url":"https://api.github.com/users/Mullin/repos","events_url":"https://api.github.com/users/Mullin/events{/privacy}","received_events_url":"https://api.github.com/users/Mullin/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T00:35:17Z","updated_at":"2015-02-16T00:35:17Z","body":"Very nice !"}}