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

Issue 1964423003: Apply viewport to dip scale to Graphics2D, Compositor (Closed)

Created:
4 years, 7 months ago by oshima
Modified:
4 years, 7 months ago
Reviewers:
bbudge
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

Apply viewport to dip scale to PepperGraphics2DHost, PepperCompositorHost * Compositor's layer is set in DIP and has to be scaled to viewport coordinates when use-zoom-for-dsf is on. (viewport_to_dip_scale_ is always 1 when this is off) *Graphics2D's damage/clip rects should also be scaled accordingly. BUG=596697, 599547, 591881 Committed: https://crrev.com/68dcc6407d1af4c37cc6d0452f7ab6b853eb4333 Cr-Commit-Position: refs/heads/master@{#393031}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -13 lines) Patch
M content/renderer/pepper/pepper_compositor_host.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_compositor_host.cc View 1 3 chunks +15 lines, -7 lines 0 comments Download
M content/renderer/pepper/pepper_graphics_2d_host.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_graphics_2d_host.cc View 1 2 2 chunks +10 lines, -6 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1964423003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964423003/1
4 years, 7 months ago (2016-05-11 16:19:09 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1964423003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964423003/100001
4 years, 7 months ago (2016-05-11 17:22:39 UTC) #13
bbudge
I'm not sure how good our testing is. I assume you've done some manual testing. ...
4 years, 7 months ago (2016-05-11 17:42:19 UTC) #14
oshima
https://codereview.chromium.org/1964423003/diff/100001/content/renderer/pepper/pepper_compositor_host.h File content/renderer/pepper/pepper_compositor_host.h (right): https://codereview.chromium.org/1964423003/diff/100001/content/renderer/pepper/pepper_compositor_host.h#newcode54 content/renderer/pepper/pepper_compositor_host.h:54: void set_viewport_to_dip_scale(float viewport_to_dip_scale) { On 2016/05/11 17:42:19, bbudge wrote: ...
4 years, 7 months ago (2016-05-11 18:18:15 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1964423003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964423003/140001
4 years, 7 months ago (2016-05-11 18:21:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1964423003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964423003/140001
4 years, 7 months ago (2016-05-11 19:17:44 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:140001)
4 years, 7 months ago (2016-05-11 19:44:11 UTC) #24
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 19:45:27 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/68dcc6407d1af4c37cc6d0452f7ab6b853eb4333
Cr-Commit-Position: refs/heads/master@{#393031}

Powered by Google App Engine
This is Rietveld 408576698