{"action":"closed","issue":{"url":"https://api.github.com/repos/gfx-rs/gfx/issues/2279","repository_url":"https://api.github.com/repos/gfx-rs/gfx","labels_url":"https://api.github.com/repos/gfx-rs/gfx/issues/2279/labels{/name}","comments_url":"https://api.github.com/repos/gfx-rs/gfx/issues/2279/comments","events_url":"https://api.github.com/repos/gfx-rs/gfx/issues/2279/events","html_url":"https://github.com/gfx-rs/gfx/issues/2279","id":345493596,"node_id":"MDU6SXNzdWUzNDU0OTM1OTY=","number":2279,"title":"Light command sink on Metal","user":{"login":"kvark","id":107301,"node_id":"MDQ6VXNlcjEwNzMwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/107301?v=4","gravatar_id":"","url":"https://api.github.com/users/kvark","html_url":"https://github.com/kvark","followers_url":"https://api.github.com/users/kvark/followers","following_url":"https://api.github.com/users/kvark/following{/other_user}","gists_url":"https://api.github.com/users/kvark/gists{/gist_id}","starred_url":"https://api.github.com/users/kvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvark/subscriptions","organizations_url":"https://api.github.com/users/kvark/orgs","repos_url":"https://api.github.com/users/kvark/repos","events_url":"https://api.github.com/users/kvark/events{/privacy}","received_events_url":"https://api.github.com/users/kvark/received_events","type":"User","site_admin":false},"labels":[{"id":333959535,"node_id":"MDU6TGFiZWwzMzM5NTk1MzU=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/backend:%20Metal","name":"backend: Metal","color":"f7c6c7","default":false},{"id":114182331,"node_id":"MDU6TGFiZWwxMTQxODIzMzE=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/difficulty:%20average","name":"difficulty: average","color":"fbca04","default":false},{"id":120228917,"node_id":"MDU6TGFiZWwxMjAyMjg5MTc=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/platform:%20OSX","name":"platform: OSX","color":"207de5","default":false},{"id":112682490,"node_id":"MDU6TGFiZWwxMTI2ODI0OTA=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/status:%20ready%20for%20work","name":"status: ready for work","color":"ededed","default":false},{"id":111377223,"node_id":"MDU6TGFiZWwxMTEzNzcyMjM=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/type:%20optimization","name":"type: optimization","color":"006b75","default":false},{"id":177036884,"node_id":"MDU6TGFiZWwxNzcwMzY4ODQ=","url":"https://api.github.com/repos/gfx-rs/gfx/labels/value:%20low","name":"value: low","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-29T01:51:38Z","updated_at":"2018-07-30T17:08:41Z","closed_at":"2018-07-30T17:08:41Z","author_association":"MEMBER","body":"Our `Deferred` command sink does much less work at recording time than `Immediate`, but it was still designed to do as much work as possible without having an actual metal command buffer underneath. For latency-limited application, we may need a command sink that really tries to minimize that work.\r\n\r\nA `Light` sink would, for example, store the hashmap keys of render passes and depth-stencil states without bothering to actually request those states. This would be done at `submit` time, which has the benefit of being (largely) single-threaded, so at least no lock contention is expected there. We could even dispatch an async task to create a state once we get an unknown key."}}
{"actor":{"display_login":"kvark"}}