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

Issue 296493003: [Android WebView] Fix DevTools Screencast slowness (Closed)

Created:
6 years, 7 months ago by mnaganov (inactive)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

[Android WebView] Fix DevTools Screencast slowness Do not scale the destination bitmap by the device screen density if synchronous compositor is being used. BUG=374815 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272273

Patch Set 1 #

Patch Set 2 : Change dest bitmap size inside RenderWidgetHostViewAndroid::SynchronousCopyContents #

Patch Set 3 : Pre-downscaling dst bitmap size in RendererOverridesHandler #

Patch Set 4 : Pre-downscaling dst bitmap size in RendererOverridesHandler (re-upload) #

Total comments: 2

Patch Set 5 : Passing quality down from CopyFromCompositingSurface #

Patch Set 6 : Add scaler quality argument to RenderWidgetHostViewBase #

Patch Set 7 : PS5 + changed discussed off-line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -12 lines) Patch
M content/browser/compositor/delegated_frame_host.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/devtools/renderer_overrides_handler.cc View 1 2 6 2 chunks +9 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu/client/gl_helper.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M content/common/gpu/client/gl_helper.cc View 1 2 3 4 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
mnaganov (inactive)
Daniel, Pavel, can you please take a look? I have tested it with Android WebView ...
6 years, 7 months ago (2014-05-19 17:32:52 UTC) #1
no sievers
Doesn't that break the API? So it would now return you a bitmap of the ...
6 years, 7 months ago (2014-05-19 18:45:08 UTC) #2
mnaganov (inactive)
On 2014/05/19 18:45:08, sievers wrote: > Doesn't that break the API? So it would now ...
6 years, 7 months ago (2014-05-19 20:02:13 UTC) #3
no sievers
On 2014/05/19 20:02:13, Mikhail Naganov (Cr) wrote: > On 2014/05/19 18:45:08, sievers wrote: > > ...
6 years, 7 months ago (2014-05-19 20:07:26 UTC) #4
mnaganov (inactive)
On 2014/05/19 20:07:26, sievers wrote: > On 2014/05/19 20:02:13, Mikhail Naganov (Cr) wrote: > > ...
6 years, 7 months ago (2014-05-19 20:14:33 UTC) #5
no sievers
On 2014/05/19 20:14:33, Mikhail Naganov (Cr) wrote: > On 2014/05/19 20:07:26, sievers wrote: > > ...
6 years, 7 months ago (2014-05-19 20:20:20 UTC) #6
pfeldman
I agree with sievers@ - not sure why I ended up scaling the dst_rect. I ...
6 years, 7 months ago (2014-05-20 13:21:39 UTC) #7
mnaganov (inactive)
On 2014/05/20 13:21:39, pfeldman wrote: > I agree with sievers@ - not sure why I ...
6 years, 7 months ago (2014-05-20 17:15:24 UTC) #8
no sievers
On 2014/05/20 17:15:24, Mikhail Naganov (Cr) wrote: > On 2014/05/20 13:21:39, pfeldman wrote: > > ...
6 years, 7 months ago (2014-05-20 18:50:43 UTC) #9
pfeldman
> I think, it wasn't you. It looks like scaling of dst had been applied ...
6 years, 7 months ago (2014-05-20 18:52:51 UTC) #10
no sievers
On 2014/05/20 18:50:43, sievers wrote: > On 2014/05/20 17:15:24, Mikhail Naganov (Cr) wrote: > > ...
6 years, 7 months ago (2014-05-20 18:53:58 UTC) #11
aelias_OOO_until_Jul13
+danakj. Dana, could you clarify the policy of the async readback code with respect to ...
6 years, 7 months ago (2014-05-20 20:08:47 UTC) #12
danakj
On 2014/05/19 20:07:26, sievers wrote: > On 2014/05/19 20:02:13, Mikhail Naganov (Cr) wrote: > > ...
6 years, 7 months ago (2014-05-20 20:40:55 UTC) #13
mnaganov (inactive)
On 2014/05/20 18:53:58, sievers wrote: > On 2014/05/20 18:50:43, sievers wrote: > > On 2014/05/20 ...
6 years, 7 months ago (2014-05-20 20:43:24 UTC) #14
mnaganov (inactive)
On 2014/05/20 20:40:55, danakj wrote: > On 2014/05/19 20:07:26, sievers wrote: > > On 2014/05/19 ...
6 years, 7 months ago (2014-05-20 20:46:06 UTC) #15
no sievers
On 2014/05/20 20:46:06, Mikhail Naganov (Cr) wrote: > On 2014/05/20 20:40:55, danakj wrote: > > ...
6 years, 7 months ago (2014-05-20 20:51:48 UTC) #16
mnaganov (inactive)
On 2014/05/20 20:51:48, sievers wrote: > On 2014/05/20 20:46:06, Mikhail Naganov (Cr) wrote: > > ...
6 years, 7 months ago (2014-05-20 21:13:00 UTC) #17
no sievers
On 2014/05/20 21:13:00, Mikhail Naganov (Cr) wrote: > On 2014/05/20 20:51:48, sievers wrote: > > ...
6 years, 7 months ago (2014-05-20 22:05:21 UTC) #18
no sievers
On 2014/05/20 22:05:21, sievers wrote: > On 2014/05/20 21:13:00, Mikhail Naganov (Cr) wrote: > > ...
6 years, 7 months ago (2014-05-20 22:05:48 UTC) #19
mnaganov (inactive)
On 2014/05/20 22:05:48, sievers wrote: > On 2014/05/20 22:05:21, sievers wrote: > > On 2014/05/20 ...
6 years, 7 months ago (2014-05-21 07:16:13 UTC) #20
mnaganov (inactive)
OK, another take on this. Let's pre-downscale the destination bitmap size at the site of ...
6 years, 7 months ago (2014-05-21 10:44:12 UTC) #21
pfeldman
https://codereview.chromium.org/296493003/diff/60001/content/common/gpu/client/gl_helper.cc File content/common/gpu/client/gl_helper.cc (right): https://codereview.chromium.org/296493003/diff/60001/content/common/gpu/client/gl_helper.cc#newcode696 content/common/gpu/client/gl_helper.cc:696: GLHelper::SCALER_QUALITY_GOOD); Wouldn't this affect screencast performance though?
6 years, 7 months ago (2014-05-21 14:09:16 UTC) #22
mnaganov (inactive)
On 2014/05/21 14:09:16, pfeldman wrote: > https://codereview.chromium.org/296493003/diff/60001/content/common/gpu/client/gl_helper.cc > File content/common/gpu/client/gl_helper.cc (right): > > https://codereview.chromium.org/296493003/diff/60001/content/common/gpu/client/gl_helper.cc#newcode696 > ...
6 years, 7 months ago (2014-05-21 14:14:54 UTC) #23
no sievers
https://codereview.chromium.org/296493003/diff/60001/content/common/gpu/client/gl_helper.cc File content/common/gpu/client/gl_helper.cc (right): https://codereview.chromium.org/296493003/diff/60001/content/common/gpu/client/gl_helper.cc#newcode696 content/common/gpu/client/gl_helper.cc:696: GLHelper::SCALER_QUALITY_GOOD); On 2014/05/21 14:09:17, pfeldman wrote: > Wouldn't this ...
6 years, 7 months ago (2014-05-21 16:34:25 UTC) #24
mnaganov (inactive)
On 2014/05/21 16:34:25, sievers wrote: > https://codereview.chromium.org/296493003/diff/60001/content/common/gpu/client/gl_helper.cc > File content/common/gpu/client/gl_helper.cc (right): > > https://codereview.chromium.org/296493003/diff/60001/content/common/gpu/client/gl_helper.cc#newcode696 > ...
6 years, 7 months ago (2014-05-21 17:26:23 UTC) #25
no sievers
On 2014/05/21 17:26:23, Mikhail Naganov (Cr) wrote: > On 2014/05/21 16:34:25, sievers wrote: > > ...
6 years, 7 months ago (2014-05-21 18:26:04 UTC) #26
mnaganov (inactive)
On 2014/05/21 18:26:04, sievers wrote: > On 2014/05/21 17:26:23, Mikhail Naganov (Cr) wrote: > > ...
6 years, 7 months ago (2014-05-21 20:36:29 UTC) #27
no sievers
lgtm
6 years, 7 months ago (2014-05-21 20:40:02 UTC) #28
mnaganov (inactive)
On 2014/05/21 20:40:02, sievers wrote: > lgtm Thanks, Daniel! I have checked that capturing screenshots ...
6 years, 7 months ago (2014-05-22 12:04:39 UTC) #29
pfeldman
lgtm, thanks.
6 years, 7 months ago (2014-05-22 15:20:22 UTC) #30
mnaganov (inactive)
The CQ bit was checked by mnaganov@chromium.org
6 years, 7 months ago (2014-05-22 15:41:08 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnaganov@chromium.org/296493003/120001
6 years, 7 months ago (2014-05-22 15:42:58 UTC) #32
commit-bot: I haz the power
6 years, 7 months ago (2014-05-22 19:32:46 UTC) #33
Message was sent while issue was closed.
Change committed as 272273

Powered by Google App Engine
This is Rietveld 408576698