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

Issue 389683002: Improving GestureNav screenshotting performance - part 2 - GestureNav (Closed)

Created:
6 years, 5 months ago by mfomitchev
Modified:
6 years, 3 months ago
Reviewers:
danakj, no sievers, sky
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@slow_readback_final_GL_HELPER
Project:
chromium
Visibility:
Public.

Description

Improving GestureNav screenshotting performance - part 2 - GestureNav Utilize the new gl_helper functionality to capture GestureNav screenshots in grayscale, which drastically improves screencapture performance, especially on hardware configurations with expensive RGBA readback. Part 1: https://codereview.chromium.org/388953002/ Original review: https://codereview.chromium.org/384453002/ BUG=379983, 380779 Committed: https://crrev.com/a6d1cf9094a3af3011dbb8233d5d7469d7d8fddc Cr-Commit-Position: refs/heads/master@{#291992}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase and cleanup #

Patch Set 3 : Comment #

Total comments: 10

Patch Set 4 : Another comment #

Total comments: 6

Patch Set 5 : Addressing review feedback. #

Patch Set 6 : Fixing NavigationControllerTest.PurgeScreenshot in content_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -26 lines) Patch
M content/browser/compositor/delegated_frame_host.cc View 1 2 3 4 7 chunks +44 lines, -8 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_entry_screenshot_manager.cc View 1 2 3 4 chunks +5 lines, -17 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
mfomitchev
6 years, 5 months ago (2014-07-11 19:54:14 UTC) #1
mfomitchev
https://codereview.chromium.org/389683002/diff/1/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc (right): https://codereview.chromium.org/389683002/diff/1/content/browser/compositor/delegated_frame_host.cc#newcode127 content/browser/compositor/delegated_frame_host.cc:127: // Only ARGB888 and RGB565 supported as of now. ...
6 years, 5 months ago (2014-07-11 20:34:22 UTC) #2
mfomitchev
https://codereview.chromium.org/389683002/diff/1/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc (right): https://codereview.chromium.org/389683002/diff/1/content/browser/compositor/delegated_frame_host.cc#newcode563 content/browser/compositor/delegated_frame_host.cc:563: grayscale_bitmap.allocPixels( We should first check the color type of ...
6 years, 5 months ago (2014-07-11 21:20:14 UTC) #3
mfomitchev
@sievers: Please review changes in delegated_frame_host.cc @sky: please review changes in navigation_entry_screenshot_manager.cc https://codereview.chromium.org/389683002/diff/1/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc ...
6 years, 4 months ago (2014-08-25 20:57:47 UTC) #4
no sievers
https://codereview.chromium.org/389683002/diff/40001/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc (right): https://codereview.chromium.org/389683002/diff/40001/content/browser/compositor/delegated_frame_host.cc#newcode593 content/browser/compositor/delegated_frame_host.cc:593: void DelegatedFrameHost::PrepareBitmapCopyOutputResult( This is only for the software renderer, ...
6 years, 4 months ago (2014-08-25 21:45:12 UTC) #5
mfomitchev
https://codereview.chromium.org/389683002/diff/40001/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc (right): https://codereview.chromium.org/389683002/diff/40001/content/browser/compositor/delegated_frame_host.cc#newcode593 content/browser/compositor/delegated_frame_host.cc:593: void DelegatedFrameHost::PrepareBitmapCopyOutputResult( Yup. We used to paint the bitmap ...
6 years, 4 months ago (2014-08-25 22:38:35 UTC) #6
no sievers
lgtm https://codereview.chromium.org/389683002/diff/40001/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc (right): https://codereview.chromium.org/389683002/diff/40001/content/browser/compositor/delegated_frame_host.cc#newcode624 content/browser/compositor/delegated_frame_host.cc:624: callback.Run(true, scaled_bitmap); On 2014/08/25 22:38:35, mfomitchev_OOO_Aug16-24 wrote: > ...
6 years, 4 months ago (2014-08-25 23:05:47 UTC) #7
sky
https://codereview.chromium.org/389683002/diff/60001/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc (right): https://codereview.chromium.org/389683002/diff/60001/content/browser/compositor/delegated_frame_host.cc#newcode598 content/browser/compositor/delegated_frame_host.cc:598: if (color_type != kN32_SkColorType && color_type != kAlpha_8_SkColorType) { ...
6 years, 4 months ago (2014-08-25 23:28:19 UTC) #8
mfomitchev
https://codereview.chromium.org/389683002/diff/60001/content/browser/compositor/delegated_frame_host.cc File content/browser/compositor/delegated_frame_host.cc (right): https://codereview.chromium.org/389683002/diff/60001/content/browser/compositor/delegated_frame_host.cc#newcode598 content/browser/compositor/delegated_frame_host.cc:598: if (color_type != kN32_SkColorType && color_type != kAlpha_8_SkColorType) { ...
6 years, 3 months ago (2014-08-26 14:33:03 UTC) #9
sky
Ok, LGTM
6 years, 3 months ago (2014-08-26 16:57:47 UTC) #10
mfomitchev
The CQ bit was checked by mfomitchev@chromium.org
6 years, 3 months ago (2014-08-26 18:14:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mfomitchev@chromium.org/389683002/80001
6 years, 3 months ago (2014-08-26 18:15:31 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-26 19:08:38 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-26 19:36:02 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/10109)
6 years, 3 months ago (2014-08-26 19:36:04 UTC) #15
mfomitchev
The CQ bit was checked by mfomitchev@chromium.org
6 years, 3 months ago (2014-08-26 19:49:05 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mfomitchev@chromium.org/389683002/100001
6 years, 3 months ago (2014-08-26 19:50:14 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium.win ...
6 years, 3 months ago (2014-08-26 20:48:11 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (100001) as bc5b393b8d36082c09ca8333ced2b0d92eccf762
6 years, 3 months ago (2014-08-26 22:07:34 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:45:59 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a6d1cf9094a3af3011dbb8233d5d7469d7d8fddc
Cr-Commit-Position: refs/heads/master@{#291992}

Powered by Google App Engine
This is Rietveld 408576698