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

Issue 2021003002: LockCompositingSurface to make sure frame is not evicted. (Closed)

Created:
4 years, 6 months ago by sivag
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Jinsuk Kim
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

LockCompositingSurface to make sure frame is not evicted. 1.LockCompositingSurface before placing a CopyOutputRquest on SurfaceLayer. 2.When receiving texture as response in PrepareTextureCopyOutputResult call UnlockCompositingSurface. 3.Do early return if checks are not met. 4.Now CopyFromCompositingSurface internally locks and unlocks the surface when needed, so remove any external lock/unlock usage. BUG=NONE. Committed: https://crrev.com/d9f1d790cc10adcf036fd9a0d48102a12329e81b Cr-Commit-Position: refs/heads/master@{#397610}

Patch Set 1 #

Patch Set 2 : Lock/unlock surface. #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -38 lines) Patch
M chrome/browser/android/compositor/tab_content_manager.cc View 1 2 chunks +0 lines, -14 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 chunks +24 lines, -24 lines 0 comments Download

Messages

Total messages: 41 (21 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2021003002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2021003002/1
4 years, 6 months ago (2016-05-30 08:42:22 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-30 10:25:02 UTC) #7
sivag
ptal..
4 years, 6 months ago (2016-05-30 14:02:19 UTC) #9
Ted C
On 2016/05/30 14:02:19, sivag wrote: > ptal.. this is sievers@ area (no idea if this ...
4 years, 6 months ago (2016-05-31 18:06:39 UTC) #10
no sievers
On 2016/05/31 18:06:39, Ted C wrote: > On 2016/05/30 14:02:19, sivag wrote: > > ptal.. ...
4 years, 6 months ago (2016-05-31 19:51:01 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2021003002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2021003002/20001
4 years, 6 months ago (2016-06-01 11:03:50 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2021003002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2021003002/40001
4 years, 6 months ago (2016-06-01 11:17:54 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-01 13:15:31 UTC) #17
sivag
On 2016/05/31 19:51:01, sievers wrote: > On 2016/05/31 18:06:39, Ted C wrote: > > On ...
4 years, 6 months ago (2016-06-01 14:02:45 UTC) #22
no sievers
https://codereview.chromium.org/2021003002/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/2021003002/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode909 content/browser/renderer_host/render_widget_host_view_android.cc:909: // Lock the surface before placing the CopyOutputRequest. nit: ...
4 years, 6 months ago (2016-06-01 22:32:06 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2021003002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2021003002/60001
4 years, 6 months ago (2016-06-02 13:42:40 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2021003002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2021003002/100001
4 years, 6 months ago (2016-06-02 14:28:31 UTC) #27
sivag
ptal.. https://codereview.chromium.org/2021003002/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/2021003002/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode909 content/browser/renderer_host/render_widget_host_view_android.cc:909: // Lock the surface before placing the CopyOutputRequest. ...
4 years, 6 months ago (2016-06-02 14:34:50 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-02 16:15:39 UTC) #30
no sievers
lgtm
4 years, 6 months ago (2016-06-02 17:35:22 UTC) #31
sivag
changwan, dtrainor ptal @tab_content_manager.cc
4 years, 6 months ago (2016-06-02 20:03:48 UTC) #34
Changwan Ryu
On 2016/06/02 20:03:48, sivag wrote: > changwan, dtrainor > ptal @tab_content_manager.cc compositor/ lgtm
4 years, 6 months ago (2016-06-03 00:31:01 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2021003002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2021003002/100001
4 years, 6 months ago (2016-06-03 03:02:16 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-03 03:12:33 UTC) #39
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 03:14:04 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d9f1d790cc10adcf036fd9a0d48102a12329e81b
Cr-Commit-Position: refs/heads/master@{#397610}

Powered by Google App Engine
This is Rietveld 408576698