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

Issue 415773007: Android:Allow a read-back request to wait for a first frame (Closed)

Created:
6 years, 5 months ago by sivag
Modified:
6 years, 4 months ago
Reviewers:
no sievers, powei
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Allow a read-back request to wait for a first frame if it was invoked while no frame was received yet. This patch takes care of adding any readback request to a queue and ensure that this gets processed, once the frame arrives.This also takes care of discarding all the readback requests if the delegated layer is destroyed or view is hidden, before a frame arrives. BUG=376769 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290802

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 17

Patch Set 4 : Modified code as per review comments #

Patch Set 5 : Added relevant comments. #

Patch Set 6 : Removed empty spaces. #

Patch Set 7 : Moved constructor/destructor implementation to cc. #

Patch Set 8 : Move explicit constructor body to cc files. #

Total comments: 6

Patch Set 9 : addressed the review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -4 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 8 3 chunks +29 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 8 10 chunks +55 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
sivag
ptal..
6 years, 5 months ago (2014-07-25 10:57:44 UTC) #1
no sievers
https://codereview.chromium.org/415773007/diff/40001/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/415773007/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode299 content/browser/renderer_host/render_widget_host_view_android.cc:299: void RenderWidgetHostViewAndroid::ProcessPendingReadbackRequests() { Ok, I see, so this doesn't ...
6 years, 4 months ago (2014-07-28 17:07:07 UTC) #2
no sievers
https://codereview.chromium.org/415773007/diff/40001/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/415773007/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode431 content/browser/renderer_host/render_widget_host_view_android.cc:431: ProcessPendingReadbackRequests(); On 2014/07/28 17:07:06, sievers wrote: > It would ...
6 years, 4 months ago (2014-07-28 17:08:33 UTC) #3
sivag
ptal.. https://codereview.chromium.org/415773007/diff/40001/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/415773007/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode299 content/browser/renderer_host/render_widget_host_view_android.cc:299: void RenderWidgetHostViewAndroid::ProcessPendingReadbackRequests() { On 2014/07/28 17:07:06, sievers wrote: ...
6 years, 4 months ago (2014-08-01 10:10:20 UTC) #4
sivag
@sievers , ptal
6 years, 4 months ago (2014-08-19 07:56:05 UTC) #5
no sievers
lgtm https://codereview.chromium.org/415773007/diff/140001/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/415773007/diff/140001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode441 content/browser/renderer_host/render_widget_host_view_android.cc:441: // need to be addressed here. nit: I'd ...
6 years, 4 months ago (2014-08-19 17:47:08 UTC) #6
sivag
https://codereview.chromium.org/415773007/diff/140001/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/415773007/diff/140001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode441 content/browser/renderer_host/render_widget_host_view_android.cc:441: // need to be addressed here. On 2014/08/19 17:47:07, ...
6 years, 4 months ago (2014-08-20 07:10:54 UTC) #7
sivag
The CQ bit was checked by siva.gunturi@samsung.com
6 years, 4 months ago (2014-08-20 08:55:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siva.gunturi@samsung.com/415773007/160001
6 years, 4 months ago (2014-08-20 08:56:57 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-20 10:10:18 UTC) #10
Message was sent while issue was closed.
Committed patchset #9 (160001) as 290802

Powered by Google App Engine
This is Rietveld 408576698