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

Issue 2856913002: Don't submit empty frames in android webview (Closed)

Created:
3 years, 7 months ago by Saman Sami
Modified:
3 years, 7 months ago
Reviewers:
Fady Samuel, boliu
CC:
chromium-reviews, cc-bugs_chromium.org, android-webview-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't submit empty frames in android webview cc will soon reject frames with no render passes. Submit a frame with a solid color quad of right size instead of an empty frame in SurfacesInstance. Also, we just get rid of the empty frame submission in HardwareRenderer because when SurfacesInstance updates its references_surfaces the surface of HardwareRenderer will be garbage collected and resources will be returned. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2856913002 Cr-Commit-Position: refs/heads/master@{#469498} Committed: https://chromium.googlesource.com/chromium/src/+/111449d5ff50dab0ea64b157d9fcca71a87c68c6

Patch Set 1 #

Patch Set 2 : c #

Patch Set 3 : c #

Patch Set 4 : c #

Total comments: 4

Patch Set 5 : c #

Patch Set 6 : c #

Patch Set 7 : c #

Patch Set 8 : c #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -15 lines) Patch
M android_webview/browser/hardware_renderer.cc View 2 1 chunk +0 lines, -6 lines 0 comments Download
M android_webview/browser/surfaces_instance.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M android_webview/browser/surfaces_instance.cc View 1 2 3 4 5 6 7 4 chunks +22 lines, -8 lines 0 comments Download

Messages

Total messages: 43 (37 generated)
Saman Sami
PTAL
3 years, 7 months ago (2017-05-04 14:55:46 UTC) #20
boliu
https://codereview.chromium.org/2856913002/diff/60001/android_webview/browser/surfaces_instance.cc File android_webview/browser/surfaces_instance.cc (right): https://codereview.chromium.org/2856913002/diff/60001/android_webview/browser/surfaces_instance.cc#newcode171 android_webview/browser/surfaces_instance.cc:171: void SurfacesInstance::SetEmptyRootFrame() { rename the method name and variable ...
3 years, 7 months ago (2017-05-04 17:08:00 UTC) #21
Saman Sami
PTAL https://codereview.chromium.org/2856913002/diff/60001/android_webview/browser/surfaces_instance.cc File android_webview/browser/surfaces_instance.cc (right): https://codereview.chromium.org/2856913002/diff/60001/android_webview/browser/surfaces_instance.cc#newcode171 android_webview/browser/surfaces_instance.cc:171: void SurfacesInstance::SetEmptyRootFrame() { On 2017/05/04 17:08:00, boliu wrote: ...
3 years, 7 months ago (2017-05-04 21:38:46 UTC) #37
boliu
lgtm
3 years, 7 months ago (2017-05-04 21:53:21 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2856913002/140001
3 years, 7 months ago (2017-05-04 22:43:16 UTC) #40
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 22:51:40 UTC) #43
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/111449d5ff50dab0ea64b157d9fc...

Powered by Google App Engine
This is Rietveld 408576698