{"action":"created","comment":{"url":"https://api.github.com/repos/BlueBrain/Livre/pulls/comments/67836119","id":67836119,"diff_hunk":"@@ -95,6 +93,39 @@ struct RedrawFilter : public Filter\n };\n \n \n+struct SendHistogramFilter : public Filter\n+{\n+    explicit SendHistogramFilter( Channel* channel )\n+        : _channel( channel )\n+    {}\n+\n+    ~SendHistogramFilter() {}\n+    void execute( const FutureMap& input,\n+                  PromiseMap& ) const final\n+    {\n+        const UniqueFutureMap uniqueInputs( input.getFutures( ));\n+        const auto histogram = uniqueInputs.get< Histogram >( \"Histogram\" );\n+        const auto viewport = uniqueInputs.get< Viewport >( \"RelativeViewport\" );\n+        const auto frameCounter =  uniqueInputs.get< uint32_t >( \"Id\" );\n+        const_cast< eq::Config *>( _channel ->getConfig())->sendEvent( HISTOGRAM_DATA )\n+                << histogram\n+                << ( viewport[ 2 ] * viewport[ 3 ])\n+                << frameCounter;\n+    }\n+\n+    DataInfos getInputDataInfos() const final\n+    {\n+        return\n+        {\n+            { \"Histogram\" ,getType< Histogram >() },\n+            { \"RelativeViewport\" ,getType< Viewport >() },\n+            { \"Id\" ,getType< uint32_t >() },","path":"livre/eq/Channel.cpp","position":48,"original_position":48,"commit_id":"c6de9d1ada431ce0f6ccd40cb8c3066e48751fb5","original_commit_id":"c6de9d1ada431ce0f6ccd40cb8c3066e48751fb5","user":{"login":"hernando","id":791427,"avatar_url":"https://avatars.githubusercontent.com/u/791427?v=3","gravatar_id":"","url":"https://api.github.com/users/hernando","html_url":"https://github.com/hernando","followers_url":"https://api.github.com/users/hernando/followers","following_url":"https://api.github.com/users/hernando/following{/other_user}","gists_url":"https://api.github.com/users/hernando/gists{/gist_id}","starred_url":"https://api.github.com/users/hernando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hernando/subscriptions","organizations_url":"https://api.github.com/users/hernando/orgs","repos_url":"https://api.github.com/users/hernando/repos","events_url":"https://api.github.com/users/hernando/events{/privacy}","received_events_url":"https://api.github.com/users/hernando/received_events","type":"User","site_admin":false},"body":"review commas","created_at":"2016-06-21T09:28:46Z","updated_at":"2016-06-21T09:28:46Z","html_url":"https://github.com/BlueBrain/Livre/pull/301#discussion_r67836119","pull_request_url":"https://api.github.com/repos/BlueBrain/Livre/pulls/301","_links":{"self":{"href":"https://api.github.com/repos/BlueBrain/Livre/pulls/comments/67836119"},"html":{"href":"https://github.com/BlueBrain/Livre/pull/301#discussion_r67836119"},"pull_request":{"href":"https://api.github.com/repos/BlueBrain/Livre/pulls/301"}}},"pull_request":{"url":"https://api.github.com/repos/BlueBrain/Livre/pulls/301","id":73729765,"html_url":"https://github.com/BlueBrain/Livre/pull/301","diff_url":"https://github.com/BlueBrain/Livre/pull/301.diff","patch_url":"https://github.com/BlueBrain/Livre/pull/301.patch","issue_url":"https://api.github.com/repos/BlueBrain/Livre/issues/301","number":301,"state":"open","locked":false,"title":"Livre histogram support","user":{"login":"bilgili","id":1157568,"avatar_url":"https://avatars.githubusercontent.com/u/1157568?v=3","gravatar_id":"","url":"https://api.github.com/users/bilgili","html_url":"https://github.com/bilgili","followers_url":"https://api.github.com/users/bilgili/followers","following_url":"https://api.github.com/users/bilgili/following{/other_user}","gists_url":"https://api.github.com/users/bilgili/gists{/gist_id}","starred_url":"https://api.github.com/users/bilgili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilgili/subscriptions","organizations_url":"https://api.github.com/users/bilgili/orgs","repos_url":"https://api.github.com/users/bilgili/repos","events_url":"https://api.github.com/users/bilgili/events{/privacy}","received_events_url":"https://api.github.com/users/bilgili/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-14T12:21:57Z","updated_at":"2016-06-21T09:28:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a54a9609921c995299cafb650fc872cd12149dca","assignee":{"login":"hernando","id":791427,"avatar_url":"https://avatars.githubusercontent.com/u/791427?v=3","gravatar_id":"","url":"https://api.github.com/users/hernando","html_url":"https://github.com/hernando","followers_url":"https://api.github.com/users/hernando/followers","following_url":"https://api.github.com/users/hernando/following{/other_user}","gists_url":"https://api.github.com/users/hernando/gists{/gist_id}","starred_url":"https://api.github.com/users/hernando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hernando/subscriptions","organizations_url":"https://api.github.com/users/hernando/orgs","repos_url":"https://api.github.com/users/hernando/repos","events_url":"https://api.github.com/users/hernando/events{/privacy}","received_events_url":"https://api.github.com/users/hernando/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/BlueBrain/Livre/pulls/301/commits","review_comments_url":"https://api.github.com/repos/BlueBrain/Livre/pulls/301/comments","review_comment_url":"https://api.github.com/repos/BlueBrain/Livre/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BlueBrain/Livre/issues/301/comments","statuses_url":"https://api.github.com/repos/BlueBrain/Livre/statuses/c6de9d1ada431ce0f6ccd40cb8c3066e48751fb5","head":{"label":"bilgili:histogram","ref":"histogram","sha":"c6de9d1ada431ce0f6ccd40cb8c3066e48751fb5","user":{"login":"bilgili","id":1157568,"avatar_url":"https://avatars.githubusercontent.com/u/1157568?v=3","gravatar_id":"","url":"https://api.github.com/users/bilgili","html_url":"https://github.com/bilgili","followers_url":"https://api.github.com/users/bilgili/followers","following_url":"https://api.github.com/users/bilgili/following{/other_user}","gists_url":"https://api.github.com/users/bilgili/gists{/gist_id}","starred_url":"https://api.github.com/users/bilgili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilgili/subscriptions","organizations_url":"https://api.github.com/users/bilgili/orgs","repos_url":"https://api.github.com/users/bilgili/repos","events_url":"https://api.github.com/users/bilgili/events{/privacy}","received_events_url":"https://api.github.com/users/bilgili/received_events","type":"User","site_admin":false},"repo":{"id":34505794,"name":"Livre","full_name":"bilgili/Livre","owner":{"login":"bilgili","id":1157568,"avatar_url":"https://avatars.githubusercontent.com/u/1157568?v=3","gravatar_id":"","url":"https://api.github.com/users/bilgili","html_url":"https://github.com/bilgili","followers_url":"https://api.github.com/users/bilgili/followers","following_url":"https://api.github.com/users/bilgili/following{/other_user}","gists_url":"https://api.github.com/users/bilgili/gists{/gist_id}","starred_url":"https://api.github.com/users/bilgili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilgili/subscriptions","organizations_url":"https://api.github.com/users/bilgili/orgs","repos_url":"https://api.github.com/users/bilgili/repos","events_url":"https://api.github.com/users/bilgili/events{/privacy}","received_events_url":"https://api.github.com/users/bilgili/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bilgili/Livre","description":"Largescale Interactive Volume Rendering Engine","fork":true,"url":"https://api.github.com/repos/bilgili/Livre","forks_url":"https://api.github.com/repos/bilgili/Livre/forks","keys_url":"https://api.github.com/repos/bilgili/Livre/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bilgili/Livre/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bilgili/Livre/teams","hooks_url":"https://api.github.com/repos/bilgili/Livre/hooks","issue_events_url":"https://api.github.com/repos/bilgili/Livre/issues/events{/number}","events_url":"https://api.github.com/repos/bilgili/Livre/events","assignees_url":"https://api.github.com/repos/bilgili/Livre/assignees{/user}","branches_url":"https://api.github.com/repos/bilgili/Livre/branches{/branch}","tags_url":"https://api.github.com/repos/bilgili/Livre/tags","blobs_url":"https://api.github.com/repos/bilgili/Livre/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bilgili/Livre/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bilgili/Livre/git/refs{/sha}","trees_url":"https://api.github.com/repos/bilgili/Livre/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bilgili/Livre/statuses/{sha}","languages_url":"https://api.github.com/repos/bilgili/Livre/languages","stargazers_url":"https://api.github.com/repos/bilgili/Livre/stargazers","contributors_url":"https://api.github.com/repos/bilgili/Livre/contributors","subscribers_url":"https://api.github.com/repos/bilgili/Livre/subscribers","subscription_url":"https://api.github.com/repos/bilgili/Livre/subscription","commits_url":"https://api.github.com/repos/bilgili/Livre/commits{/sha}","git_commits_url":"https://api.github.com/repos/bilgili/Livre/git/commits{/sha}","comments_url":"https://api.github.com/repos/bilgili/Livre/comments{/number}","issue_comment_url":"https://api.github.com/repos/bilgili/Livre/issues/comments{/number}","contents_url":"https://api.github.com/repos/bilgili/Livre/contents/{+path}","compare_url":"https://api.github.com/repos/bilgili/Livre/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bilgili/Livre/merges","archive_url":"https://api.github.com/repos/bilgili/Livre/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bilgili/Livre/downloads","issues_url":"https://api.github.com/repos/bilgili/Livre/issues{/number}","pulls_url":"https://api.github.com/repos/bilgili/Livre/pulls{/number}","milestones_url":"https://api.github.com/repos/bilgili/Livre/milestones{/number}","notifications_url":"https://api.github.com/repos/bilgili/Livre/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bilgili/Livre/labels{/name}","releases_url":"https://api.github.com/repos/bilgili/Livre/releases{/id}","deployments_url":"https://api.github.com/repos/bilgili/Livre/deployments","created_at":"2015-04-24T08:00:16Z","updated_at":"2016-06-17T19:39:07Z","pushed_at":"2016-06-21T09:11:00Z","git_url":"git://github.com/bilgili/Livre.git","ssh_url":"git@github.com:bilgili/Livre.git","clone_url":"https://github.com/bilgili/Livre.git","svn_url":"https://github.com/bilgili/Livre","homepage":"https://bluebrain.github.io","size":8510,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"BlueBrain:master","ref":"master","sha":"40637c77dbad059a8c0cdd6e3e62da71a101d197","user":{"login":"BlueBrain","id":1479142,"avatar_url":"https://avatars.githubusercontent.com/u/1479142?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueBrain","html_url":"https://github.com/BlueBrain","followers_url":"https://api.github.com/users/BlueBrain/followers","following_url":"https://api.github.com/users/BlueBrain/following{/other_user}","gists_url":"https://api.github.com/users/BlueBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueBrain/subscriptions","organizations_url":"https://api.github.com/users/BlueBrain/orgs","repos_url":"https://api.github.com/users/BlueBrain/repos","events_url":"https://api.github.com/users/BlueBrain/events{/privacy}","received_events_url":"https://api.github.com/users/BlueBrain/received_events","type":"Organization","site_admin":false},"repo":{"id":10625435,"name":"Livre","full_name":"BlueBrain/Livre","owner":{"login":"BlueBrain","id":1479142,"avatar_url":"https://avatars.githubusercontent.com/u/1479142?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueBrain","html_url":"https://github.com/BlueBrain","followers_url":"https://api.github.com/users/BlueBrain/followers","following_url":"https://api.github.com/users/BlueBrain/following{/other_user}","gists_url":"https://api.github.com/users/BlueBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueBrain/subscriptions","organizations_url":"https://api.github.com/users/BlueBrain/orgs","repos_url":"https://api.github.com/users/BlueBrain/repos","events_url":"https://api.github.com/users/BlueBrain/events{/privacy}","received_events_url":"https://api.github.com/users/BlueBrain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BlueBrain/Livre","description":"Large-scale Interactive Volume Rendering Engine","fork":false,"url":"https://api.github.com/repos/BlueBrain/Livre","forks_url":"https://api.github.com/repos/BlueBrain/Livre/forks","keys_url":"https://api.github.com/repos/BlueBrain/Livre/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BlueBrain/Livre/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BlueBrain/Livre/teams","hooks_url":"https://api.github.com/repos/BlueBrain/Livre/hooks","issue_events_url":"https://api.github.com/repos/BlueBrain/Livre/issues/events{/number}","events_url":"https://api.github.com/repos/BlueBrain/Livre/events","assignees_url":"https://api.github.com/repos/BlueBrain/Livre/assignees{/user}","branches_url":"https://api.github.com/repos/BlueBrain/Livre/branches{/branch}","tags_url":"https://api.github.com/repos/BlueBrain/Livre/tags","blobs_url":"https://api.github.com/repos/BlueBrain/Livre/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BlueBrain/Livre/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BlueBrain/Livre/git/refs{/sha}","trees_url":"https://api.github.com/repos/BlueBrain/Livre/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BlueBrain/Livre/statuses/{sha}","languages_url":"https://api.github.com/repos/BlueBrain/Livre/languages","stargazers_url":"https://api.github.com/repos/BlueBrain/Livre/stargazers","contributors_url":"https://api.github.com/repos/BlueBrain/Livre/contributors","subscribers_url":"https://api.github.com/repos/BlueBrain/Livre/subscribers","subscription_url":"https://api.github.com/repos/BlueBrain/Livre/subscription","commits_url":"https://api.github.com/repos/BlueBrain/Livre/commits{/sha}","git_commits_url":"https://api.github.com/repos/BlueBrain/Livre/git/commits{/sha}","comments_url":"https://api.github.com/repos/BlueBrain/Livre/comments{/number}","issue_comment_url":"https://api.github.com/repos/BlueBrain/Livre/issues/comments{/number}","contents_url":"https://api.github.com/repos/BlueBrain/Livre/contents/{+path}","compare_url":"https://api.github.com/repos/BlueBrain/Livre/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BlueBrain/Livre/merges","archive_url":"https://api.github.com/repos/BlueBrain/Livre/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BlueBrain/Livre/downloads","issues_url":"https://api.github.com/repos/BlueBrain/Livre/issues{/number}","pulls_url":"https://api.github.com/repos/BlueBrain/Livre/pulls{/number}","milestones_url":"https://api.github.com/repos/BlueBrain/Livre/milestones{/number}","notifications_url":"https://api.github.com/repos/BlueBrain/Livre/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BlueBrain/Livre/labels{/name}","releases_url":"https://api.github.com/repos/BlueBrain/Livre/releases{/id}","deployments_url":"https://api.github.com/repos/BlueBrain/Livre/deployments","created_at":"2013-06-11T16:13:56Z","updated_at":"2016-06-06T17:55:11Z","pushed_at":"2016-06-21T09:11:00Z","git_url":"git://github.com/BlueBrain/Livre.git","ssh_url":"git@github.com:BlueBrain/Livre.git","clone_url":"https://github.com/BlueBrain/Livre.git","svn_url":"https://github.com/BlueBrain/Livre","homepage":"https://bluebrain.github.io","size":8560,"stargazers_count":10,"watchers_count":10,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":22,"forks":14,"open_issues":22,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BlueBrain/Livre/pulls/301"},"html":{"href":"https://github.com/BlueBrain/Livre/pull/301"},"issue":{"href":"https://api.github.com/repos/BlueBrain/Livre/issues/301"},"comments":{"href":"https://api.github.com/repos/BlueBrain/Livre/issues/301/comments"},"review_comments":{"href":"https://api.github.com/repos/BlueBrain/Livre/pulls/301/comments"},"review_comment":{"href":"https://api.github.com/repos/BlueBrain/Livre/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BlueBrain/Livre/pulls/301/commits"},"statuses":{"href":"https://api.github.com/repos/BlueBrain/Livre/statuses/c6de9d1ada431ce0f6ccd40cb8c3066e48751fb5"}}}}
{"actor":{"display_login":"hernando"}}