{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/pulls/7","id":168454118,"html_url":"https://github.com/AndrewFromMelbourne/raspi2fb/pull/7","diff_url":"https://github.com/AndrewFromMelbourne/raspi2fb/pull/7.diff","patch_url":"https://github.com/AndrewFromMelbourne/raspi2fb/pull/7.patch","issue_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/issues/7","number":7,"state":"open","locked":false,"title":"add support for copying arbitrary rectangle from src fb to dest fb","user":{"login":"tangentaudio","id":3910098,"avatar_url":"https://avatars2.githubusercontent.com/u/3910098?v=4","gravatar_id":"","url":"https://api.github.com/users/tangentaudio","html_url":"https://github.com/tangentaudio","followers_url":"https://api.github.com/users/tangentaudio/followers","following_url":"https://api.github.com/users/tangentaudio/following{/other_user}","gists_url":"https://api.github.com/users/tangentaudio/gists{/gist_id}","starred_url":"https://api.github.com/users/tangentaudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangentaudio/subscriptions","organizations_url":"https://api.github.com/users/tangentaudio/orgs","repos_url":"https://api.github.com/users/tangentaudio/repos","events_url":"https://api.github.com/users/tangentaudio/events{/privacy}","received_events_url":"https://api.github.com/users/tangentaudio/received_events","type":"User","site_admin":false},"body":"By default raspi2fb will copy the entire source framebuffer and scale it to fit on the destination framebuffer.  I have an application where I want to copy a small window from the source framebuffer to a destination framebuffer, with a 1:1 pixel mapping and no scaling.  I added a few new command line args to support this option.\r\n\r\n--copyrect enables this new mode\r\n--rectx <x> specifies the X position in the source framebuffer\r\n--recty <y> specifies the Y position in the source framebuffer\r\n\r\nThe photo below shows a PyQt5/QML application directly rendering a 1024x768 image to the primary framebuffer via EGLFS.  The actual user interface is rendered in a small 160x128 window inside of that larger window, and the modified raspi2fb is used to replicate only that portion on a 1.8\" SPI TFT.  The remaining area of the large window will be used for diagnostics and debug in my application.\r\n\r\n![img_20180211_083535178_2](https://user-images.githubusercontent.com/3910098/36073969-14c4c458-0f07-11e8-8e63-c956bf8fd134.jpg)\r\n","created_at":"2018-02-11T13:43:43Z","updated_at":"2018-02-11T13:43:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/pulls/7/commits","review_comments_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/pulls/7/comments","review_comment_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/issues/7/comments","statuses_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/statuses/669504f70b65ff3e96b5c9b9e7bd1d7f94623843","head":{"label":"tangentaudio:master","ref":"master","sha":"669504f70b65ff3e96b5c9b9e7bd1d7f94623843","user":{"login":"tangentaudio","id":3910098,"avatar_url":"https://avatars2.githubusercontent.com/u/3910098?v=4","gravatar_id":"","url":"https://api.github.com/users/tangentaudio","html_url":"https://github.com/tangentaudio","followers_url":"https://api.github.com/users/tangentaudio/followers","following_url":"https://api.github.com/users/tangentaudio/following{/other_user}","gists_url":"https://api.github.com/users/tangentaudio/gists{/gist_id}","starred_url":"https://api.github.com/users/tangentaudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangentaudio/subscriptions","organizations_url":"https://api.github.com/users/tangentaudio/orgs","repos_url":"https://api.github.com/users/tangentaudio/repos","events_url":"https://api.github.com/users/tangentaudio/events{/privacy}","received_events_url":"https://api.github.com/users/tangentaudio/received_events","type":"User","site_admin":false},"repo":{"id":121046460,"name":"raspi2fb","full_name":"tangentaudio/raspi2fb","owner":{"login":"tangentaudio","id":3910098,"avatar_url":"https://avatars2.githubusercontent.com/u/3910098?v=4","gravatar_id":"","url":"https://api.github.com/users/tangentaudio","html_url":"https://github.com/tangentaudio","followers_url":"https://api.github.com/users/tangentaudio/followers","following_url":"https://api.github.com/users/tangentaudio/following{/other_user}","gists_url":"https://api.github.com/users/tangentaudio/gists{/gist_id}","starred_url":"https://api.github.com/users/tangentaudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangentaudio/subscriptions","organizations_url":"https://api.github.com/users/tangentaudio/orgs","repos_url":"https://api.github.com/users/tangentaudio/repos","events_url":"https://api.github.com/users/tangentaudio/events{/privacy}","received_events_url":"https://api.github.com/users/tangentaudio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tangentaudio/raspi2fb","description":"Program to copy the Raspberry Pi display to a secondary framebuffer.","fork":true,"url":"https://api.github.com/repos/tangentaudio/raspi2fb","forks_url":"https://api.github.com/repos/tangentaudio/raspi2fb/forks","keys_url":"https://api.github.com/repos/tangentaudio/raspi2fb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tangentaudio/raspi2fb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tangentaudio/raspi2fb/teams","hooks_url":"https://api.github.com/repos/tangentaudio/raspi2fb/hooks","issue_events_url":"https://api.github.com/repos/tangentaudio/raspi2fb/issues/events{/number}","events_url":"https://api.github.com/repos/tangentaudio/raspi2fb/events","assignees_url":"https://api.github.com/repos/tangentaudio/raspi2fb/assignees{/user}","branches_url":"https://api.github.com/repos/tangentaudio/raspi2fb/branches{/branch}","tags_url":"https://api.github.com/repos/tangentaudio/raspi2fb/tags","blobs_url":"https://api.github.com/repos/tangentaudio/raspi2fb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tangentaudio/raspi2fb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tangentaudio/raspi2fb/git/refs{/sha}","trees_url":"https://api.github.com/repos/tangentaudio/raspi2fb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tangentaudio/raspi2fb/statuses/{sha}","languages_url":"https://api.github.com/repos/tangentaudio/raspi2fb/languages","stargazers_url":"https://api.github.com/repos/tangentaudio/raspi2fb/stargazers","contributors_url":"https://api.github.com/repos/tangentaudio/raspi2fb/contributors","subscribers_url":"https://api.github.com/repos/tangentaudio/raspi2fb/subscribers","subscription_url":"https://api.github.com/repos/tangentaudio/raspi2fb/subscription","commits_url":"https://api.github.com/repos/tangentaudio/raspi2fb/commits{/sha}","git_commits_url":"https://api.github.com/repos/tangentaudio/raspi2fb/git/commits{/sha}","comments_url":"https://api.github.com/repos/tangentaudio/raspi2fb/comments{/number}","issue_comment_url":"https://api.github.com/repos/tangentaudio/raspi2fb/issues/comments{/number}","contents_url":"https://api.github.com/repos/tangentaudio/raspi2fb/contents/{+path}","compare_url":"https://api.github.com/repos/tangentaudio/raspi2fb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tangentaudio/raspi2fb/merges","archive_url":"https://api.github.com/repos/tangentaudio/raspi2fb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tangentaudio/raspi2fb/downloads","issues_url":"https://api.github.com/repos/tangentaudio/raspi2fb/issues{/number}","pulls_url":"https://api.github.com/repos/tangentaudio/raspi2fb/pulls{/number}","milestones_url":"https://api.github.com/repos/tangentaudio/raspi2fb/milestones{/number}","notifications_url":"https://api.github.com/repos/tangentaudio/raspi2fb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tangentaudio/raspi2fb/labels{/name}","releases_url":"https://api.github.com/repos/tangentaudio/raspi2fb/releases{/id}","deployments_url":"https://api.github.com/repos/tangentaudio/raspi2fb/deployments","created_at":"2018-02-10T19:23:08Z","updated_at":"2018-02-10T19:23:10Z","pushed_at":"2018-02-11T00:21:44Z","git_url":"git://github.com/tangentaudio/raspi2fb.git","ssh_url":"git@github.com:tangentaudio/raspi2fb.git","clone_url":"https://github.com/tangentaudio/raspi2fb.git","svn_url":"https://github.com/tangentaudio/raspi2fb","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AndrewFromMelbourne:master","ref":"master","sha":"e4a07dc2f33b13e51bffcd92ebecaa24dd86dfad","user":{"login":"AndrewFromMelbourne","id":1305783,"avatar_url":"https://avatars3.githubusercontent.com/u/1305783?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewFromMelbourne","html_url":"https://github.com/AndrewFromMelbourne","followers_url":"https://api.github.com/users/AndrewFromMelbourne/followers","following_url":"https://api.github.com/users/AndrewFromMelbourne/following{/other_user}","gists_url":"https://api.github.com/users/AndrewFromMelbourne/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewFromMelbourne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewFromMelbourne/subscriptions","organizations_url":"https://api.github.com/users/AndrewFromMelbourne/orgs","repos_url":"https://api.github.com/users/AndrewFromMelbourne/repos","events_url":"https://api.github.com/users/AndrewFromMelbourne/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewFromMelbourne/received_events","type":"User","site_admin":false},"repo":{"id":32493844,"name":"raspi2fb","full_name":"AndrewFromMelbourne/raspi2fb","owner":{"login":"AndrewFromMelbourne","id":1305783,"avatar_url":"https://avatars3.githubusercontent.com/u/1305783?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewFromMelbourne","html_url":"https://github.com/AndrewFromMelbourne","followers_url":"https://api.github.com/users/AndrewFromMelbourne/followers","following_url":"https://api.github.com/users/AndrewFromMelbourne/following{/other_user}","gists_url":"https://api.github.com/users/AndrewFromMelbourne/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewFromMelbourne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewFromMelbourne/subscriptions","organizations_url":"https://api.github.com/users/AndrewFromMelbourne/orgs","repos_url":"https://api.github.com/users/AndrewFromMelbourne/repos","events_url":"https://api.github.com/users/AndrewFromMelbourne/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewFromMelbourne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndrewFromMelbourne/raspi2fb","description":"Program to copy the Raspberry Pi display to a secondary framebuffer.","fork":false,"url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb","forks_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/forks","keys_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/teams","hooks_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/hooks","issue_events_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/issues/events{/number}","events_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/events","assignees_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/assignees{/user}","branches_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/branches{/branch}","tags_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/tags","blobs_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/statuses/{sha}","languages_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/languages","stargazers_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/stargazers","contributors_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/contributors","subscribers_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/subscribers","subscription_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/subscription","commits_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/contents/{+path}","compare_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/merges","archive_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/downloads","issues_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/issues{/number}","pulls_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/pulls{/number}","milestones_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/milestones{/number}","notifications_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/labels{/name}","releases_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/releases{/id}","deployments_url":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/deployments","created_at":"2015-03-19T01:24:23Z","updated_at":"2017-12-28T22:22:58Z","pushed_at":"2016-05-23T12:20:19Z","git_url":"git://github.com/AndrewFromMelbourne/raspi2fb.git","ssh_url":"git@github.com:AndrewFromMelbourne/raspi2fb.git","clone_url":"https://github.com/AndrewFromMelbourne/raspi2fb.git","svn_url":"https://github.com/AndrewFromMelbourne/raspi2fb","homepage":null,"size":19,"stargazers_count":35,"watchers_count":35,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":15,"open_issues":4,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/pulls/7"},"html":{"href":"https://github.com/AndrewFromMelbourne/raspi2fb/pull/7"},"issue":{"href":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/issues/7"},"comments":{"href":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/AndrewFromMelbourne/raspi2fb/statuses/669504f70b65ff3e96b5c9b9e7bd1d7f94623843"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":133,"deletions":41,"changed_files":1}}
{"actor":{"display_login":"tangentaudio"}}