{"action":"created","issue":{"url":"https://api.github.com/repos/SirCmpwn/wlroots/issues/41","repository_url":"https://api.github.com/repos/SirCmpwn/wlroots","labels_url":"https://api.github.com/repos/SirCmpwn/wlroots/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/SirCmpwn/wlroots/issues/41/comments","events_url":"https://api.github.com/repos/SirCmpwn/wlroots/issues/41/events","html_url":"https://github.com/SirCmpwn/wlroots/pull/41","id":247373007,"number":41,"title":"[WIP] Add surface interface stubs in compositor example","user":{"login":"acrisci","id":3258764,"avatar_url":"https://avatars2.githubusercontent.com/u/3258764?v=4","gravatar_id":"","url":"https://api.github.com/users/acrisci","html_url":"https://github.com/acrisci","followers_url":"https://api.github.com/users/acrisci/followers","following_url":"https://api.github.com/users/acrisci/following{/other_user}","gists_url":"https://api.github.com/users/acrisci/gists{/gist_id}","starred_url":"https://api.github.com/users/acrisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrisci/subscriptions","organizations_url":"https://api.github.com/users/acrisci/orgs","repos_url":"https://api.github.com/users/acrisci/repos","events_url":"https://api.github.com/users/acrisci/events{/privacy}","received_events_url":"https://api.github.com/users/acrisci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-02T12:31:01Z","updated_at":"2017-08-02T13:00:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SirCmpwn/wlroots/pulls/41","html_url":"https://github.com/SirCmpwn/wlroots/pull/41","diff_url":"https://github.com/SirCmpwn/wlroots/pull/41.diff","patch_url":"https://github.com/SirCmpwn/wlroots/pull/41.patch"},"body":"Add the wayland surface interface to the example compositor.\r\n\r\nImplement the create_surface method to create a new wlr surface from the\r\nwayland surface and add the interface."},"comment":{"url":"https://api.github.com/repos/SirCmpwn/wlroots/issues/comments/319664641","html_url":"https://github.com/SirCmpwn/wlroots/pull/41#issuecomment-319664641","issue_url":"https://api.github.com/repos/SirCmpwn/wlroots/issues/41","id":319664641,"user":{"login":"acrisci","id":3258764,"avatar_url":"https://avatars2.githubusercontent.com/u/3258764?v=4","gravatar_id":"","url":"https://api.github.com/users/acrisci","html_url":"https://github.com/acrisci","followers_url":"https://api.github.com/users/acrisci/followers","following_url":"https://api.github.com/users/acrisci/following{/other_user}","gists_url":"https://api.github.com/users/acrisci/gists{/gist_id}","starred_url":"https://api.github.com/users/acrisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrisci/subscriptions","organizations_url":"https://api.github.com/users/acrisci/orgs","repos_url":"https://api.github.com/users/acrisci/repos","events_url":"https://api.github.com/users/acrisci/events{/privacy}","received_events_url":"https://api.github.com/users/acrisci/received_events","type":"User","site_admin":false},"created_at":"2017-08-02T13:00:03Z","updated_at":"2017-08-02T13:00:03Z","body":"I had to add a `wlr_renderer` to the `wl_compositor` struct to create the `wlr_surface` in the `create_surface` method but I don't know if that was your intent.\r\n\r\nI think the `wlr_surface` needs to be saved in a list somewhere and then accessed in the `handle_output_frame` method for rendering but I'm not sure exactly what the best way to do that is.\r\n\r\nI also have a semi-working implementation locally of attaching an shm buffer to the surface where I can at least access the buffer contents and the gl calls don't fail but I have yet to successfully paint anything on the screen. I'm working on that now.\r\n\r\nMy test client is located in my notes repository [here](https://github.com/acrisci/scribbles/tree/master/wayland-window)."}}
{"actor":{"display_login":"acrisci"}}