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

Issue 719573003: Explicitly specify contents scale for SurfaceLayer. (Closed)

Created:
6 years, 1 month ago by jbauman
Modified:
6 years, 1 month ago
Reviewers:
jamesr, piman
CC:
chromium-reviews, Ian Vollick, sievers+watch_chromium.org, jbauman+watch_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

Explicitly specify contents scale for SurfaceLayer. The RWHVA changes the bounds of the layer on window resize, but the contents shouldn't be scaled to fit in that case, so specify an explicit scale when the surface id is set. Committed: https://crrev.com/b71b07c2279f6c8b33aa65e8bf31aedcef35d750 Cr-Commit-Position: refs/heads/master@{#303950}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -28 lines) Patch
M cc/layers/surface_layer.h View 2 chunks +2 lines, -1 line 0 comments Download
M cc/layers/surface_layer.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M cc/layers/surface_layer_unittest.cc View 5 chunks +20 lines, -17 lines 0 comments Download
M content/browser/compositor/delegated_frame_host.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/delegated_frame_host.cc View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M ui/compositor/layer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/layer.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (2 generated)
jbauman
6 years, 1 month ago (2014-11-12 01:01:33 UTC) #2
piman
https://codereview.chromium.org/719573003/diff/1/ui/compositor/layer.cc File ui/compositor/layer.cc (right): https://codereview.chromium.org/719573003/diff/1/ui/compositor/layer.cc#newcode585 ui/compositor/layer.cc:585: : 1.f; Any reason we're not passing the renderer's ...
6 years, 1 month ago (2014-11-12 02:36:58 UTC) #3
jbauman
On 2014/11/12 02:36:58, piman (Very slow to review) wrote: > https://codereview.chromium.org/719573003/diff/1/ui/compositor/layer.cc > File ui/compositor/layer.cc (right): ...
6 years, 1 month ago (2014-11-12 02:49:45 UTC) #4
piman
On Tue, Nov 11, 2014 at 6:49 PM, <jbauman@chromium.org> wrote: > On 2014/11/12 02:36:58, piman ...
6 years, 1 month ago (2014-11-12 03:00:11 UTC) #5
jbauman
PTAL, switched to directly use the scale factor from the renderer.
6 years, 1 month ago (2014-11-12 03:53:50 UTC) #6
piman
LGTM except for one thing, thanks. https://codereview.chromium.org/719573003/diff/20001/content/browser/compositor/delegated_frame_host.h File content/browser/compositor/delegated_frame_host.h (right): https://codereview.chromium.org/719573003/diff/20001/content/browser/compositor/delegated_frame_host.h#newcode271 content/browser/compositor/delegated_frame_host.h:271: float current_scale_factor_; new ...
6 years, 1 month ago (2014-11-12 04:20:10 UTC) #7
jamesr
lgtm
6 years, 1 month ago (2014-11-12 17:32:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/719573003/40001
6 years, 1 month ago (2014-11-13 00:01:10 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-11-13 01:10:41 UTC) #11
commit-bot: I haz the power
6 years, 1 month ago (2014-11-13 01:11:25 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b71b07c2279f6c8b33aa65e8bf31aedcef35d750
Cr-Commit-Position: refs/heads/master@{#303950}

Powered by Google App Engine
This is Rietveld 408576698