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

Issue 2187563006: sync compositor: Set display viewport for software draw (Closed)

Created:
4 years, 4 months ago by boliu
Modified:
4 years, 4 months ago
Reviewers:
danakj
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, cc-bugs_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: Set display viewport for software draw After switching to using cc::Display for software draw, this fixes the case where the viewport is not at the origin of the surface. BUG=631276 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/4dae52297b5786ca794317adf11ca39468ee47a6 Cr-Commit-Position: refs/heads/master@{#408288}

Patch Set 1 #

Total comments: 6

Patch Set 2 : review #

Patch Set 3 : don't set surface_size_ #

Total comments: 2

Patch Set 4 : SkISizeToSize #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -10 lines) Patch
M cc/surfaces/display.h View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/surfaces/display.cc View 2 chunks +7 lines, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 3 8 chunks +25 lines, -9 lines 0 comments Download

Messages

Total messages: 32 (16 generated)
boliu
ptal, somewhat more involved than I thought, need to plumb both the correct surface size ...
4 years, 4 months ago (2016-07-27 21:24:22 UTC) #3
danakj
https://codereview.chromium.org/2187563006/diff/1/content/renderer/android/synchronous_compositor_output_surface.cc File content/renderer/android/synchronous_compositor_output_surface.cc (right): https://codereview.chromium.org/2187563006/diff/1/content/renderer/android/synchronous_compositor_output_surface.cc#newcode338 content/renderer/android/synchronous_compositor_output_surface.cc:338: surface_size_ = gfx::Size(canvas->getBaseLayerSize().width(), Ahh. Does it need to be ...
4 years, 4 months ago (2016-07-27 21:28:36 UTC) #4
boliu
https://codereview.chromium.org/2187563006/diff/1/content/renderer/android/synchronous_compositor_output_surface.cc File content/renderer/android/synchronous_compositor_output_surface.cc (right): https://codereview.chromium.org/2187563006/diff/1/content/renderer/android/synchronous_compositor_output_surface.cc#newcode338 content/renderer/android/synchronous_compositor_output_surface.cc:338: surface_size_ = gfx::Size(canvas->getBaseLayerSize().width(), On 2016/07/27 21:28:36, danakj wrote: > ...
4 years, 4 months ago (2016-07-27 21:43:04 UTC) #9
danakj
LGTM https://codereview.chromium.org/2187563006/diff/1/content/renderer/android/synchronous_compositor_output_surface.cc File content/renderer/android/synchronous_compositor_output_surface.cc (right): https://codereview.chromium.org/2187563006/diff/1/content/renderer/android/synchronous_compositor_output_surface.cc#newcode338 content/renderer/android/synchronous_compositor_output_surface.cc:338: surface_size_ = gfx::Size(canvas->getBaseLayerSize().width(), On 2016/07/27 21:43:04, boliu wrote: ...
4 years, 4 months ago (2016-07-27 21:49:53 UTC) #10
boliu
https://codereview.chromium.org/2187563006/diff/1/content/renderer/android/synchronous_compositor_output_surface.cc File content/renderer/android/synchronous_compositor_output_surface.cc (right): https://codereview.chromium.org/2187563006/diff/1/content/renderer/android/synchronous_compositor_output_surface.cc#newcode338 content/renderer/android/synchronous_compositor_output_surface.cc:338: surface_size_ = gfx::Size(canvas->getBaseLayerSize().width(), On 2016/07/27 21:49:53, danakj wrote: > ...
4 years, 4 months ago (2016-07-27 22:00:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2187563006/40001
4 years, 4 months ago (2016-07-27 22:15:24 UTC) #14
commit-bot: I haz the power
Your CL was about to rely on recently removed CQ feature(s): * master.tryserver.blink builder linux_blink_rel ...
4 years, 4 months ago (2016-07-27 22:15:26 UTC) #16
danakj
Nice, LGTM https://codereview.chromium.org/2187563006/diff/40001/content/renderer/android/synchronous_compositor_output_surface.cc File content/renderer/android/synchronous_compositor_output_surface.cc (right): https://codereview.chromium.org/2187563006/diff/40001/content/renderer/android/synchronous_compositor_output_surface.cc#newcode339 content/renderer/android/synchronous_compositor_output_surface.cc:339: gfx::Size surface_size(canvas->getBaseLayerSize().width(), nit: You could do s_o_s_->SetSurfaceSize(gfx::SkISizeToSize(canvas->getBaseLayerSize()));
4 years, 4 months ago (2016-07-27 22:18:04 UTC) #17
boliu
https://codereview.chromium.org/2187563006/diff/40001/content/renderer/android/synchronous_compositor_output_surface.cc File content/renderer/android/synchronous_compositor_output_surface.cc (right): https://codereview.chromium.org/2187563006/diff/40001/content/renderer/android/synchronous_compositor_output_surface.cc#newcode339 content/renderer/android/synchronous_compositor_output_surface.cc:339: gfx::Size surface_size(canvas->getBaseLayerSize().width(), On 2016/07/27 22:18:03, danakj wrote: > nit: ...
4 years, 4 months ago (2016-07-27 22:22:50 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2187563006/60001
4 years, 4 months ago (2016-07-27 22:30:07 UTC) #21
commit-bot: I haz the power
Your CL was about to rely on recently removed CQ feature(s): * master.tryserver.blink builder linux_blink_rel ...
4 years, 4 months ago (2016-07-27 22:30:10 UTC) #23
boliu
On 2016/07/27 22:30:10, commit-bot: I haz the power wrote: > Your CL was about to ...
4 years, 4 months ago (2016-07-27 22:31:22 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2187563006/60001
4 years, 4 months ago (2016-07-27 22:32:04 UTC) #27
danakj
On 2016/07/27 22:31:22, boliu wrote: > On 2016/07/27 22:30:10, commit-bot: I haz the power wrote: ...
4 years, 4 months ago (2016-07-27 22:36:57 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-28 00:10:43 UTC) #30
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 00:14:10 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4dae52297b5786ca794317adf11ca39468ee47a6
Cr-Commit-Position: refs/heads/master@{#408288}

Powered by Google App Engine
This is Rietveld 408576698