{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/engine/issues/5378","repository_url":"https://api.github.com/repos/flutter/engine","labels_url":"https://api.github.com/repos/flutter/engine/issues/5378/labels{/name}","comments_url":"https://api.github.com/repos/flutter/engine/issues/5378/comments","events_url":"https://api.github.com/repos/flutter/engine/issues/5378/events","html_url":"https://github.com/flutter/engine/pull/5378","id":326620920,"number":5378,"title":"Expose approximateBytesUsed for Picture","user":{"login":"dnfield","id":8620741,"avatar_url":"https://avatars3.githubusercontent.com/u/8620741?v=4","gravatar_id":"","url":"https://api.github.com/users/dnfield","html_url":"https://github.com/dnfield","followers_url":"https://api.github.com/users/dnfield/followers","following_url":"https://api.github.com/users/dnfield/following{/other_user}","gists_url":"https://api.github.com/users/dnfield/gists{/gist_id}","starred_url":"https://api.github.com/users/dnfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnfield/subscriptions","organizations_url":"https://api.github.com/users/dnfield/orgs","repos_url":"https://api.github.com/users/dnfield/repos","events_url":"https://api.github.com/users/dnfield/events{/privacy}","received_events_url":"https://api.github.com/users/dnfield/received_events","type":"User","site_admin":false},"labels":[{"id":487933577,"url":"https://api.github.com/repos/flutter/engine/labels/cla:%20yes","name":"cla: yes","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-25T18:22:55Z","updated_at":"2018-05-25T18:32:54Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/flutter/engine/pulls/5378","html_url":"https://github.com/flutter/engine/pull/5378","diff_url":"https://github.com/flutter/engine/pull/5378.diff","patch_url":"https://github.com/flutter/engine/pull/5378.patch"},"body":"I'd like to cache pictures, and want to be able to have it be memory-aware.\r\n\r\nThe comment(s) about refed objects would apply to things like `canvas.drawImage()` recorded into the picture.\r\n\r\nThe method already exists in the C++, just isn't exposed to the Dart side (yet).\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/engine/issues/comments/392144047","html_url":"https://github.com/flutter/engine/pull/5378#issuecomment-392144047","issue_url":"https://api.github.com/repos/flutter/engine/issues/5378","id":392144047,"user":{"login":"chinmaygarde","id":44085,"avatar_url":"https://avatars1.githubusercontent.com/u/44085?v=4","gravatar_id":"","url":"https://api.github.com/users/chinmaygarde","html_url":"https://github.com/chinmaygarde","followers_url":"https://api.github.com/users/chinmaygarde/followers","following_url":"https://api.github.com/users/chinmaygarde/following{/other_user}","gists_url":"https://api.github.com/users/chinmaygarde/gists{/gist_id}","starred_url":"https://api.github.com/users/chinmaygarde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinmaygarde/subscriptions","organizations_url":"https://api.github.com/users/chinmaygarde/orgs","repos_url":"https://api.github.com/users/chinmaygarde/repos","events_url":"https://api.github.com/users/chinmaygarde/events{/privacy}","received_events_url":"https://api.github.com/users/chinmaygarde/received_events","type":"User","site_admin":false},"created_at":"2018-05-25T18:32:54Z","updated_at":"2018-05-25T18:32:54Z","author_association":"MEMBER","body":"I like it. Maybe we should put this on the base Dart wrappable itself. Having this on the picture itself isn't very useful right now because the bulk of the allocation will be in the images referenced by the picture.\r\n\r\ncc @abarth, @cbracken: WDYT?"}}
{"actor":{"display_login":"chinmaygarde"}}