Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Issue 21777003: DevTools: [Android] implement RenderWidgetHostViewAndroid::CopyFromCompositingSurface (Closed)

Created:
7 years, 4 months ago by pfeldman
Modified:
7 years, 4 months ago
Reviewers:
Sami, no sievers
CC:
chromium-reviews, vsevik, jam, yurys, joi+watch-content_chromium.org, paulirish+reviews_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, aelias_OOO_until_Jul13, piman, David Trainor- moved to gerrit, danakj
Visibility:
Public.

Description

DevTools: [Android] implement RenderWidgetHostViewAndroid::CopyFromCompositingSurface BUG=242299 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217073

Patch Set 1 #

Total comments: 6

Patch Set 2 : Make bots a bit more happy #

Patch Set 3 : Fix clang bots. #

Total comments: 7

Patch Set 4 : Using RequestCopyOfOutput async API. #

Total comments: 17

Patch Set 5 : Review comments addressed. #

Total comments: 8

Patch Set 6 : For landing #

Total comments: 6

Patch Set 7 : For landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -31 lines) Patch
M content/browser/devtools/devtools_protocol_constants.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/devtools/devtools_protocol_constants.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/devtools/renderer_overrides_handler.h View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M content/browser/devtools/renderer_overrides_handler.cc View 1 2 3 4 5 6 3 chunks +115 lines, -26 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 chunks +120 lines, -4 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Sami
I think this is doing the right thing, but what if we changed the organization ...
7 years, 4 months ago (2013-08-02 10:53:23 UTC) #1
pfeldman
>> I think this is doing the right thing, but what if we >> changed ...
7 years, 4 months ago (2013-08-02 12:25:30 UTC) #2
Sami
On 2013/08/02 12:25:30, pfeldman wrote: > >> I think this is doing the right thing, ...
7 years, 4 months ago (2013-08-02 12:43:19 UTC) #3
pfeldman
PTAL. Capturing pixels from native now via readback. Java is only used for compressing.
7 years, 4 months ago (2013-08-05 14:14:24 UTC) #4
Sami
I wonder if we should try to reimagine this to work asynchronously as needed by ...
7 years, 4 months ago (2013-08-05 16:56:15 UTC) #5
no sievers
+alex, piman See comments. I feel really bad now pointing this out. It looks like ...
7 years, 4 months ago (2013-08-05 21:46:43 UTC) #6
pfeldman
>> See comments. I feel really bad now pointing this out. It looks like if ...
7 years, 4 months ago (2013-08-05 21:56:54 UTC) #7
no sievers
On 2013/08/05 21:56:54, pfeldman wrote: > >> See comments. I feel really bad now pointing ...
7 years, 4 months ago (2013-08-05 22:20:04 UTC) #8
pfeldman
Based on the discussion... I managed to make this protocol command async (that is already ...
7 years, 4 months ago (2013-08-07 17:15:50 UTC) #9
no sievers
On 2013/08/07 17:15:50, pfeldman wrote: > Based on the discussion... > > I managed to ...
7 years, 4 months ago (2013-08-07 17:33:51 UTC) #10
no sievers
On 2013/08/07 17:33:51, sievers wrote: > On 2013/08/07 17:15:50, pfeldman wrote: > > Based on ...
7 years, 4 months ago (2013-08-07 17:34:21 UTC) #11
no sievers
+dana for some questions about cc::Layer copy requests: Looks like this does not support GPU ...
7 years, 4 months ago (2013-08-07 18:41:41 UTC) #12
piman
On Wed, Aug 7, 2013 at 11:41 AM, <sievers@chromium.org> wrote: > +dana for some questions ...
7 years, 4 months ago (2013-08-07 19:06:01 UTC) #13
no sievers
On 2013/08/07 19:06:01, piman wrote: > On Wed, Aug 7, 2013 at 11:41 AM, <mailto:sievers@chromium.org> ...
7 years, 4 months ago (2013-08-07 19:11:50 UTC) #14
piman
On Wed, Aug 7, 2013 at 12:11 PM, <sievers@chromium.org> wrote: > On 2013/08/07 19:06:01, piman ...
7 years, 4 months ago (2013-08-07 19:17:45 UTC) #15
no sievers
On 2013/08/07 19:17:45, piman wrote: > On Wed, Aug 7, 2013 at 12:11 PM, <mailto:sievers@chromium.org> ...
7 years, 4 months ago (2013-08-07 19:41:17 UTC) #16
no sievers
general idea looks good. thanks for doing this! https://codereview.chromium.org/21777003/diff/75001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/21777003/diff/75001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode366 content/browser/renderer_host/render_widget_host_view_android.cc:366: NOTIMPLEMENTED(); ...
7 years, 4 months ago (2013-08-07 19:51:28 UTC) #17
Sami
I think this looks great Pavel. https://codereview.chromium.org/21777003/diff/75001/content/browser/devtools/renderer_overrides_handler.cc File content/browser/devtools/renderer_overrides_handler.cc (right): https://codereview.chromium.org/21777003/diff/75001/content/browser/devtools/renderer_overrides_handler.cc#newcode43 content/browser/devtools/renderer_overrides_handler.cc:43: static int kDefaultQuality ...
7 years, 4 months ago (2013-08-08 11:35:00 UTC) #18
pfeldman
https://codereview.chromium.org/21777003/diff/75001/content/browser/devtools/renderer_overrides_handler.cc File content/browser/devtools/renderer_overrides_handler.cc (right): https://codereview.chromium.org/21777003/diff/75001/content/browser/devtools/renderer_overrides_handler.cc#newcode43 content/browser/devtools/renderer_overrides_handler.cc:43: static int kDefaultQuality = 90; On 2013/08/08 11:35:00, Sami ...
7 years, 4 months ago (2013-08-09 13:59:02 UTC) #19
pfeldman
PTAL
7 years, 4 months ago (2013-08-09 15:04:18 UTC) #20
Sami
lgtm modulo nits and the question about IsSurfaceAvailableForCopy(). https://codereview.chromium.org/21777003/diff/88001/content/browser/devtools/renderer_overrides_handler.cc File content/browser/devtools/renderer_overrides_handler.cc (right): https://codereview.chromium.org/21777003/diff/88001/content/browser/devtools/renderer_overrides_handler.cc#newcode44 content/browser/devtools/renderer_overrides_handler.cc:44: static ...
7 years, 4 months ago (2013-08-09 16:08:48 UTC) #21
pfeldman
Thanks for the review and guidance! https://codereview.chromium.org/21777003/diff/88001/content/browser/devtools/renderer_overrides_handler.cc File content/browser/devtools/renderer_overrides_handler.cc (right): https://codereview.chromium.org/21777003/diff/88001/content/browser/devtools/renderer_overrides_handler.cc#newcode44 content/browser/devtools/renderer_overrides_handler.cc:44: static int kDefaultQuality ...
7 years, 4 months ago (2013-08-09 16:19:58 UTC) #22
pfeldman
@sievers: waiting for your owners review now.
7 years, 4 months ago (2013-08-09 16:22:01 UTC) #23
no sievers
lgtm with nits for content/browser/renderer_host/. thanks! https://codereview.chromium.org/21777003/diff/106002/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/21777003/diff/106002/content/browser/renderer_host/render_widget_host_view_android.cc#newcode555 content/browser/renderer_host/render_widget_host_view_android.cc:555: const gfx::Size& dst_size_in_pixel ...
7 years, 4 months ago (2013-08-09 20:54:03 UTC) #24
pfeldman
https://codereview.chromium.org/21777003/diff/106002/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/21777003/diff/106002/content/browser/renderer_host/render_widget_host_view_android.cc#newcode555 content/browser/renderer_host/render_widget_host_view_android.cc:555: const gfx::Size& dst_size_in_pixel = ConvertViewSizeToPixel(this, dst_size); On 2013/08/09 20:54:03, ...
7 years, 4 months ago (2013-08-12 10:17:36 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pfeldman@chromium.org/21777003/124001
7 years, 4 months ago (2013-08-12 10:18:44 UTC) #26
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=186526
7 years, 4 months ago (2013-08-12 18:22:53 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pfeldman@chromium.org/21777003/124001
7 years, 4 months ago (2013-08-12 18:30:46 UTC) #28
commit-bot: I haz the power
7 years, 4 months ago (2013-08-12 21:14:38 UTC) #29
Message was sent while issue was closed.
Change committed as 217073

Powered by Google App Engine
This is Rietveld 408576698