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

Issue 2801313002: Remove MojoCompositorFrameSink::WillDrawSurface (Closed)

Created:
3 years, 8 months ago by Alex Z.
Modified:
3 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, fmalita+watch_chromium.org, jam, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, qsr+mojo_chromium.org, rjkroege, rwlbuis, Stephen Chennney, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove MojoCompositorFrameSink::WillDrawSurface WillDrawSurface is no longer being used on the client side. Removing it would reduce the number of IPCs we send. BUG=671202 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2801313002 Cr-Commit-Position: refs/heads/master@{#463404} Committed: https://chromium.googlesource.com/chromium/src/+/514a2755c94d9333fb54925d3ca7a818cd40189e

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix Compiling Errors From Bots #

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Address Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -52 lines) Patch
M cc/ipc/mojo_compositor_frame_sink.mojom View 1 chunk +0 lines, -3 lines 0 comments Download
M components/exo/compositor_frame_sink.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/exo/compositor_frame_sink.cc View 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M components/exo/compositor_frame_sink_holder.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/exo/compositor_frame_sink_holder.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M components/viz/frame_sinks/gpu_compositor_frame_sink.cc View 1 chunk +1 line, -4 lines 0 comments Download
M components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc View 1 chunk +1 line, -4 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc View 1 chunk +1 line, -4 lines 0 comments Download
M services/ui/public/cpp/client_compositor_frame_sink.h View 1 chunk +0 lines, -2 lines 0 comments Download
M services/ui/public/cpp/client_compositor_frame_sink.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M services/ui/ws/display_client_compositor_frame_sink.h View 1 chunk +0 lines, -2 lines 0 comments Download
M services/ui/ws/display_client_compositor_frame_sink.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp View 1 2 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 37 (24 generated)
Alex Z.
PTAL.
3 years, 8 months ago (2017-04-07 14:24:26 UTC) #5
Fady Samuel
https://codereview.chromium.org/2801313002/diff/1/components/exo/compositor_frame_sink_holder.h File components/exo/compositor_frame_sink_holder.h (left): https://codereview.chromium.org/2801313002/diff/1/components/exo/compositor_frame_sink_holder.h#oldcode51 components/exo/compositor_frame_sink_holder.h:51: void WillDrawSurface(const cc::LocalSurfaceId& local_surface_id, Can't delete this I think.
3 years, 8 months ago (2017-04-07 14:43:12 UTC) #8
Alex Z.
https://codereview.chromium.org/2801313002/diff/1/components/exo/compositor_frame_sink_holder.h File components/exo/compositor_frame_sink_holder.h (left): https://codereview.chromium.org/2801313002/diff/1/components/exo/compositor_frame_sink_holder.h#oldcode51 components/exo/compositor_frame_sink_holder.h:51: void WillDrawSurface(const cc::LocalSurfaceId& local_surface_id, On 2017/04/07 14:43:12, Fady Samuel ...
3 years, 8 months ago (2017-04-07 14:51:04 UTC) #10
Fady Samuel
lgtm
3 years, 8 months ago (2017-04-10 13:40:31 UTC) #14
Alex Z.
piman@chromium.org: Please review changes in content/ reveman@chromium.org: Please review changes in exo jbroman@chromium.org: Please review ...
3 years, 8 months ago (2017-04-10 13:46:06 UTC) #16
Alex Z.
tsepez@: Please review changes in mojom
3 years, 8 months ago (2017-04-10 13:46:33 UTC) #18
Tom Sepez
lgtm
3 years, 8 months ago (2017-04-10 15:53:59 UTC) #21
reveman
components/exo lgtm % nit https://codereview.chromium.org/2801313002/diff/40001/components/exo/compositor_frame_sink.cc File components/exo/compositor_frame_sink.cc (right): https://codereview.chromium.org/2801313002/diff/40001/components/exo/compositor_frame_sink.cc#newcode71 components/exo/compositor_frame_sink.cc:71: const gfx::Rect& damage_rect) {} nit: ...
3 years, 8 months ago (2017-04-10 17:00:10 UTC) #24
jbroman
lgtm
3 years, 8 months ago (2017-04-10 17:04:19 UTC) #25
Alex Z.
https://codereview.chromium.org/2801313002/diff/40001/components/exo/compositor_frame_sink.cc File components/exo/compositor_frame_sink.cc (right): https://codereview.chromium.org/2801313002/diff/40001/components/exo/compositor_frame_sink.cc#newcode71 components/exo/compositor_frame_sink.cc:71: const gfx::Rect& damage_rect) {} On 2017/04/10 17:00:10, reveman wrote: ...
3 years, 8 months ago (2017-04-10 17:39:01 UTC) #27
piman
lgtm
3 years, 8 months ago (2017-04-10 18:11:42 UTC) #29
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/2801313002/60001
3 years, 8 months ago (2017-04-10 21:04:38 UTC) #34
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 21:39:02 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/514a2755c94d9333fb54925d3ca7...

Powered by Google App Engine
This is Rietveld 408576698