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

Issue 767443002: Ensure Surface size always matches window size on swap (Closed)

Created:
6 years ago by jbauman
Modified:
6 years ago
Reviewers:
jamesr, sky, piman
CC:
chromium-reviews, tdanderson+views_chromium.org, Ian Vollick, tfarina, 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@master
Project:
chromium
Visibility:
Public.

Description

Ensure Surface size always matches window size on swap D3D11 scales the backbuffer contents if a swap happens while the window is being resized, so do a Finish when we get a notification the window size is changing, and wait until a Surface is received at the new size before swapping again. Committed: https://crrev.com/616238a39895ecac9f6434194c75c32c3785298f Cr-Commit-Position: refs/heads/master@{#306537}

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -15 lines) Patch
M cc/output/renderer_settings.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/renderer_settings.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/surfaces/display.h View 1 chunk +2 lines, -3 lines 0 comments Download
M cc/surfaces/display.cc View 1 2 3 4 chunks +25 lines, -5 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M content/browser/compositor/surface_display_output_surface.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 2 chunks +7 lines, -2 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M ui/compositor/test/in_process_context_factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 14 (3 generated)
jbauman
6 years ago (2014-12-01 23:02:49 UTC) #2
piman
LGTM for ui/compositor and content/ https://codereview.chromium.org/767443002/diff/20001/cc/surfaces/display.cc File cc/surfaces/display.cc (right): https://codereview.chromium.org/767443002/diff/20001/cc/surfaces/display.cc#newcode140 cc/surfaces/display.cc:140: DidSwapBuffersComplete(); Do we need ...
6 years ago (2014-12-01 23:42:09 UTC) #3
jamesr
https://codereview.chromium.org/767443002/diff/20001/cc/surfaces/display.cc File cc/surfaces/display.cc (right): https://codereview.chromium.org/767443002/diff/20001/cc/surfaces/display.cc#newcode62 cc/surfaces/display.cc:62: renderer_->Finish(); add a comment here indicating why we need ...
6 years ago (2014-12-02 00:04:17 UTC) #4
jbauman
On 2014/12/01 23:42:09, piman (Very slow to review) wrote: > LGTM for ui/compositor and content/ ...
6 years ago (2014-12-02 23:16:47 UTC) #5
jbauman
On 2014/12/02 00:04:17, jamesr wrote: > https://codereview.chromium.org/767443002/diff/20001/cc/surfaces/display.cc > File cc/surfaces/display.cc (right): > > https://codereview.chromium.org/767443002/diff/20001/cc/surfaces/display.cc#newcode62 > ...
6 years ago (2014-12-02 23:25:10 UTC) #6
jamesr
lgtm
6 years ago (2014-12-03 00:21:43 UTC) #7
jbauman
sky@: ui/views OWNERS review.
6 years ago (2014-12-03 01:26:50 UTC) #9
sky
views LGTM
6 years ago (2014-12-03 02:27:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/767443002/60001
6 years ago (2014-12-03 02:30:01 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years ago (2014-12-03 03:18:03 UTC) #13
commit-bot: I haz the power
6 years ago (2014-12-03 03:19:52 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/616238a39895ecac9f6434194c75c32c3785298f
Cr-Commit-Position: refs/heads/master@{#306537}

Powered by Google App Engine
This is Rietveld 408576698