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

Issue 1773873002: sync compositor: Handle context loss (Closed)

Created:
4 years, 9 months ago by boliu
Modified:
4 years, 9 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

sync compositor: Handle context loss OutputSurface becomes a mutable part of SynchronousCompositorProxy. Proxy needes to make sure access to OutputSurface are null checked. And the Registry (ie SynchronousCompositorFilter) need to treat the OutputSurface part as an optional part of Proxy init. BUG=592744 Committed: https://crrev.com/7c1bd415bfbed8d80249a4e25788fbe967c97699 Cr-Commit-Position: refs/heads/master@{#382978}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -31 lines) Patch
M content/renderer/android/synchronous_compositor_filter.cc View 1 5 chunks +18 lines, -10 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/android/synchronous_compositor_proxy.h View 1 3 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/android/synchronous_compositor_proxy.cc View 1 8 chunks +26 lines, -13 lines 2 comments Download

Messages

Total messages: 13 (6 generated)
boliu
Part 2 for handling gpu thread context loss. No tests for this though..
4 years, 9 months ago (2016-03-22 21:25:31 UTC) #3
boliu
actually I own everything here :) +toby for regular review
4 years, 9 months ago (2016-03-23 02:26:25 UTC) #5
Tobias Sargeant
lgtm https://codereview.chromium.org/1773873002/diff/20001/content/renderer/android/synchronous_compositor_proxy.cc File content/renderer/android/synchronous_compositor_proxy.cc (right): https://codereview.chromium.org/1773873002/diff/20001/content/renderer/android/synchronous_compositor_proxy.cc#newcode77 content/renderer/android/synchronous_compositor_proxy.cc:77: output_surface_->SetMemoryPolicy(bytes_limit_); I guess previously we would never have ...
4 years, 9 months ago (2016-03-23 10:10:55 UTC) #6
boliu
https://codereview.chromium.org/1773873002/diff/20001/content/renderer/android/synchronous_compositor_proxy.cc File content/renderer/android/synchronous_compositor_proxy.cc (right): https://codereview.chromium.org/1773873002/diff/20001/content/renderer/android/synchronous_compositor_proxy.cc#newcode77 content/renderer/android/synchronous_compositor_proxy.cc:77: output_surface_->SetMemoryPolicy(bytes_limit_); On 2016/03/23 10:10:55, Tobias Sargeant wrote: > I ...
4 years, 9 months ago (2016-03-23 15:52:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773873002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773873002/20001
4 years, 9 months ago (2016-03-23 20:54:38 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-23 23:50:19 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 23:52:23 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7c1bd415bfbed8d80249a4e25788fbe967c97699
Cr-Commit-Position: refs/heads/master@{#382978}

Powered by Google App Engine
This is Rietveld 408576698