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

Issue 2188943002: Remove OutputSurfaceClient external clip (Closed)

Created:
4 years, 4 months ago by boliu
Modified:
4 years, 4 months ago
Reviewers:
danakj, Charlie Reis, dcheng
CC:
chromium-reviews, jam, cc-bugs_chromium.org, darin-cc_chromium.org, android-webview-reviews_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove OutputSurfaceClient external clip All use cases of OutputSurfaceClient::OnDraw pass the exact same value for external viewport and clip, so remove the redundancy. Also take this opporunity to clean up the sync compositor hardware draw IPC. A bunch of params are no longer needed. BUG=631276 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/31c233edb6fe41936b7b68c873e4f4368a38179a Cr-Commit-Position: refs/heads/master@{#408580}

Patch Set 1 #

Patch Set 2 : unittests compile #

Total comments: 2

Patch Set 3 : viewport -> viewport_size #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -145 lines) Patch
M android_webview/browser/browser_view_renderer.cc View 1 2 2 chunks +2 lines, -10 lines 0 comments Download
M cc/output/output_surface_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/surfaces/display.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/surfaces/display.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/fake_output_surface_client.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.h View 3 chunks +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 4 chunks +2 lines, -18 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 24 chunks +25 lines, -44 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/android/synchronous_compositor_host.h View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M content/browser/android/synchronous_compositor_host.cc View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M content/common/android/sync_compositor_messages.h View 1 2 2 chunks +3 lines, -11 lines 0 comments Download
M content/common/android/sync_compositor_messages.cc View 1 2 1 chunk +2 lines, -8 lines 0 comments Download
M content/public/browser/android/synchronous_compositor.h View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M content/public/test/test_synchronous_compositor_android.h View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M content/public/test/test_synchronous_compositor_android.cc View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.h View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M content/renderer/android/synchronous_compositor_output_surface.cc View 1 2 3 chunks +8 lines, -12 lines 0 comments Download
M content/renderer/android/synchronous_compositor_proxy.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
boliu
ptal
4 years, 4 months ago (2016-07-28 16:38:43 UTC) #3
danakj
LGTM https://codereview.chromium.org/2188943002/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2188943002/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode1671 cc/trees/layer_tree_host_impl.cc:1671: DeviceViewport(), DeviceViewport()); Can we just not pass it ...
4 years, 4 months ago (2016-07-28 20:59:30 UTC) #4
boliu
https://codereview.chromium.org/2188943002/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2188943002/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode1671 cc/trees/layer_tree_host_impl.cc:1671: DeviceViewport(), DeviceViewport()); On 2016/07/28 20:59:30, danakj wrote: > Can ...
4 years, 4 months ago (2016-07-28 21:10:11 UTC) #5
danakj
On Thu, Jul 28, 2016 at 2:10 PM, <boliu@chromium.org> wrote: > > > https://codereview.chromium.org/2188943002/diff/20001/cc/trees/layer_tree_host_impl.cc > ...
4 years, 4 months ago (2016-07-28 21:11:36 UTC) #6
boliu
+dcheng for ipc +creis to stamp content/public? sievers is swamped, and I own everything else ...
4 years, 4 months ago (2016-07-28 21:41:57 UTC) #8
Charlie Reis
RS LGTM for content/.
4 years, 4 months ago (2016-07-28 22:24:43 UTC) #9
dcheng
lgtm
4 years, 4 months ago (2016-07-29 04:03:34 UTC) #10
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/2188943002/40001
4 years, 4 months ago (2016-07-29 04:05:08 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-29 05:39:19 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 05:40:56 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/31c233edb6fe41936b7b68c873e4f4368a38179a
Cr-Commit-Position: refs/heads/master@{#408580}

Powered by Google App Engine
This is Rietveld 408576698