{"action":"closed","issue":{"url":"https://api.github.com/repos/ocornut/imgui/issues/1801","repository_url":"https://api.github.com/repos/ocornut/imgui","labels_url":"https://api.github.com/repos/ocornut/imgui/issues/1801/labels{/name}","comments_url":"https://api.github.com/repos/ocornut/imgui/issues/1801/comments","events_url":"https://api.github.com/repos/ocornut/imgui/issues/1801/events","html_url":"https://github.com/ocornut/imgui/issues/1801","id":321368339,"number":1801,"title":"View IDs for BGFX compatibility","user":{"login":"OswaldHurlem","id":22571217,"avatar_url":"https://avatars1.githubusercontent.com/u/22571217?v=4","gravatar_id":"","url":"https://api.github.com/users/OswaldHurlem","html_url":"https://github.com/OswaldHurlem","followers_url":"https://api.github.com/users/OswaldHurlem/followers","following_url":"https://api.github.com/users/OswaldHurlem/following{/other_user}","gists_url":"https://api.github.com/users/OswaldHurlem/gists{/gist_id}","starred_url":"https://api.github.com/users/OswaldHurlem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OswaldHurlem/subscriptions","organizations_url":"https://api.github.com/users/OswaldHurlem/orgs","repos_url":"https://api.github.com/users/OswaldHurlem/repos","events_url":"https://api.github.com/users/OswaldHurlem/events{/privacy}","received_events_url":"https://api.github.com/users/OswaldHurlem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-05-08T22:26:26Z","updated_at":"2018-05-09T15:42:31Z","closed_at":"2018-05-09T15:42:30Z","author_association":"NONE","body":"BGFX contains a modified version of ImGui which is used by some of its example code. In this version, ImGui's style stack is modified to have a ViewId field, which is then noted in each ImDrawCmd.\r\n\r\nhttps://github.com/OswaldHurlem/imgui/pull/1/files\r\n(EDIT: These changes were written by me based on BGFX's mod of ImGui)\r\n\r\nBGFX can then use the ViewId in each ImDrawCmd. In BGFX draw calls must be submitted with a particular ViewId for bucketing. Not sure exactly how this works but it's documented in API Reference->Views here: https://bkaradzic.github.io/bgfx/bgfx.html\r\n\r\nThis seems a bit Procrustean and I suspect there's a better way to inject this information into ImGui's returned instructions, without modifying ImGui's source.\r\n\r\nThoughts?\r\n"}}
{"actor":{"display_login":"ocornut"}}