{"action":"created","issue":{"url":"https://api.github.com/repos/gfx-rs/gfx/issues/779","labels_url":"https://api.github.com/repos/gfx-rs/gfx/issues/779/labels{/name}","comments_url":"https://api.github.com/repos/gfx-rs/gfx/issues/779/comments","events_url":"https://api.github.com/repos/gfx-rs/gfx/issues/779/events","html_url":"https://github.com/gfx-rs/gfx/pull/779","id":89911408,"number":779,"title":"Closes #739 - Implemented Dummy Device, not sure if it's ok?","user":{"login":"jeremija","id":1489493,"avatar_url":"https://avatars.githubusercontent.com/u/1489493?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremija","html_url":"https://github.com/jeremija","followers_url":"https://api.github.com/users/jeremija/followers","following_url":"https://api.github.com/users/jeremija/following{/other_user}","gists_url":"https://api.github.com/users/jeremija/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremija/subscriptions","organizations_url":"https://api.github.com/users/jeremija/orgs","repos_url":"https://api.github.com/users/jeremija/repos","events_url":"https://api.github.com/users/jeremija/events{/privacy}","received_events_url":"https://api.github.com/users/jeremija/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-21T13:23:14Z","updated_at":"2015-06-22T14:29:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gfx-rs/gfx/pulls/779","html_url":"https://github.com/gfx-rs/gfx/pull/779","diff_url":"https://github.com/gfx-rs/gfx/pull/779.diff","patch_url":"https://github.com/gfx-rs/gfx/pull/779.patch"},"body":"**DO NOT MERGE YET**\r\n\r\nHi guys, I'm new to Rust and here is my attempt to implement the Dummy Device described in issue #739. I'm not sure if I took the right steps and I would appreciate comments on what I did wrong / how to improve the code.\r\n\r\nThere are new warnings about unused variables because I was not sure how to do it - I used the implementation of [gl/src/lib.rs#Device](https://github.com/gfx-rs/gfx/blob/master/src/backend/gl/src/lib.rs#L601) and [gl/src/draw.rs#CommandBuffer](https://github.com/gfx-rs/gfx/blob/master/src/backend/gl/src/draw.rs#L68) as examples.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/gfx-rs/gfx/issues/comments/114128901","html_url":"https://github.com/gfx-rs/gfx/pull/779#issuecomment-114128901","issue_url":"https://api.github.com/repos/gfx-rs/gfx/issues/779","id":114128901,"user":{"login":"jeremija","id":1489493,"avatar_url":"https://avatars.githubusercontent.com/u/1489493?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremija","html_url":"https://github.com/jeremija","followers_url":"https://api.github.com/users/jeremija/followers","following_url":"https://api.github.com/users/jeremija/following{/other_user}","gists_url":"https://api.github.com/users/jeremija/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremija/subscriptions","organizations_url":"https://api.github.com/users/jeremija/orgs","repos_url":"https://api.github.com/users/jeremija/repos","events_url":"https://api.github.com/users/jeremija/events{/privacy}","received_events_url":"https://api.github.com/users/jeremija/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T14:29:15Z","updated_at":"2015-06-22T14:29:15Z","body":"@kvark thanks - I was thinking about something like this, but I'm not sure if this would break existing API as the current gl's `pub enum Command` is not generic. I'll try when I'm back at my PC"}}