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

Issue 1327343003: Force swap buffers when re-creating the buffers (Closed)

Created:
5 years, 3 months ago by dnicoara
Modified:
5 years, 3 months ago
Reviewers:
jbauman
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix-scanout
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Force swap buffers when re-creating the buffers The SwapResult provides a way to signal when the buffers are no longer adequate and need to be re-allocated. Currently the surfaceless implementation of the GpuBrowserCompositorOutputSurface will re-allocate the buffers, however it doesn't swap again. Since the previous buffer was rejected the display is showing an old frame. BUG=511446 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/61df9d531b103895877d163c1635bac16d686952 Cr-Commit-Position: refs/heads/master@{#348246}

Patch Set 1 #

Total comments: 4

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M cc/surfaces/display.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 15 (4 generated)
dnicoara
I'm not very familiar with the compositor code, so this is a naive approach to ...
5 years, 3 months ago (2015-09-10 19:07:27 UTC) #2
jbauman
https://codereview.chromium.org/1327343003/diff/1/cc/output/output_surface_client.h File cc/output/output_surface_client.h (right): https://codereview.chromium.org/1327343003/diff/1/cc/output/output_surface_client.h#newcode48 cc/output/output_surface_client.h:48: virtual void ForceSwap() = 0; You should use SetNeedsRedrawRect, ...
5 years, 3 months ago (2015-09-10 19:29:50 UTC) #3
dnicoara
https://codereview.chromium.org/1327343003/diff/1/cc/output/output_surface_client.h File cc/output/output_surface_client.h (right): https://codereview.chromium.org/1327343003/diff/1/cc/output/output_surface_client.h#newcode48 cc/output/output_surface_client.h:48: virtual void ForceSwap() = 0; On 2015/09/10 19:29:49, jbauman ...
5 years, 3 months ago (2015-09-10 19:39:39 UTC) #4
jbauman
lgtm
5 years, 3 months ago (2015-09-10 19:47:33 UTC) #5
dnicoara
On 2015/09/10 19:47:33, jbauman wrote: > lgtm Thank you for the quick review!
5 years, 3 months ago (2015-09-10 19:51:42 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327343003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327343003/20001
5 years, 3 months ago (2015-09-10 19:52:29 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-10 21:05:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327343003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327343003/20001
5 years, 3 months ago (2015-09-10 21:31:05 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-10 21:40:53 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/61df9d531b103895877d163c1635bac16d686952 Cr-Commit-Position: refs/heads/master@{#348246}
5 years, 3 months ago (2015-09-10 21:41:38 UTC) #14
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:14:41 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/61df9d531b103895877d163c1635bac16d686952
Cr-Commit-Position: refs/heads/master@{#348246}

Powered by Google App Engine
This is Rietveld 408576698