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

Issue 15689003: Part 3/3 (RWH/IOSurface) of adding with device scale factor to transport surfaces (Closed)

Created:
7 years, 7 months ago by ccameron
Modified:
7 years, 7 months ago
Reviewers:
Nico, Chris Evans, piman
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, sail+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, apatrick_chromium, James Su
Visibility:
Public.

Description

Part 3/3 (RWH/IOSurface) of adding with device scale factor to transport surfaces Pass the scale factor through the image transport surface to the IOSurface creation. Change ViewHostMsg_CompositorSurfaceBuffersSwapped to use a params structure, because there is a limit of 5 IPC arguments. BUG=132714 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202371

Patch Set 1 #

Total comments: 3

Patch Set 2 : Incorporate review feedback #

Patch Set 3 : Add missed lines #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -108 lines) Patch
M content/browser/gpu/gpu_process_host.cc View 1 chunk +9 lines, -5 lines 0 comments Download
M content/browser/renderer_host/compositing_iosurface_mac.h View 1 8 chunks +5 lines, -11 lines 0 comments Download
M content/browser/renderer_host/compositing_iosurface_mac.mm View 1 14 chunks +22 lines, -37 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 chunk +9 lines, -12 lines 2 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 8 chunks +13 lines, -18 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/common/gpu/image_transport_surface_mac.cc View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M content/common/gpu/texture_image_transport_surface.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 chunk +13 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
ccameron
Adding piman for content and gpu changes. Adding thakis for IOSurface changes This is part ...
7 years, 7 months ago (2013-05-22 08:39:20 UTC) #1
Nico
compositing_iosurface_mac lgtm https://codereview.chromium.org/15689003/diff/1/content/browser/renderer_host/compositing_iosurface_mac.mm File content/browser/renderer_host/compositing_iosurface_mac.mm (left): https://codereview.chromium.org/15689003/diff/1/content/browser/renderer_host/compositing_iosurface_mac.mm#oldcode622 content/browser/renderer_host/compositing_iosurface_mac.mm:622: io_surface_size_ = pixel_io_surface_size_; \o/ https://codereview.chromium.org/15689003/diff/1/content/browser/renderer_host/compositing_iosurface_mac.mm File content/browser/renderer_host/compositing_iosurface_mac.mm ...
7 years, 7 months ago (2013-05-22 15:33:21 UTC) #2
ccameron
Thanks!! I've updated this to include the new parameters in the TextureImageTransportSurface. I also found ...
7 years, 7 months ago (2013-05-22 20:50:12 UTC) #3
piman
lgtm
7 years, 7 months ago (2013-05-22 21:55:38 UTC) #4
ccameron
Thanks!! Adding cevans for the security IPC OWNER stamp.
7 years, 7 months ago (2013-05-22 22:03:36 UTC) #5
Chris Evans
LGTM with note. https://codereview.chromium.org/15689003/diff/8001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/15689003/diff/8001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1666 content/browser/renderer_host/render_widget_host_impl.cc:1666: gpu_params.scale_factor = params.scale_factor; This new parameter ...
7 years, 7 months ago (2013-05-22 22:30:29 UTC) #6
ccameron
Thanks!! https://codereview.chromium.org/15689003/diff/8001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/15689003/diff/8001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1666 content/browser/renderer_host/render_widget_host_impl.cc:1666: gpu_params.scale_factor = params.scale_factor; On 2013/05/22 22:30:30, Chris Evans ...
7 years, 7 months ago (2013-05-23 00:19:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/15689003/8001
7 years, 7 months ago (2013-05-26 20:08:33 UTC) #8
commit-bot: I haz the power
7 years, 7 months ago (2013-05-27 05:48:34 UTC) #9
Message was sent while issue was closed.
Change committed as 202371

Powered by Google App Engine
This is Rietveld 408576698