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

Issue 2544103002: Added MojoCompositorFrameSink::EvictFrame() and MojoCompositorFrameSinkClient::WillDrawSurface() (Closed)

Created:
4 years ago by Alex Z.
Modified:
4 years ago
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, yzshen+watch_chromium.org, Stephen Chennney, rwlbuis, darin (slow to review), krit, drott+blinkwatch_chromium.org, jam, Justin Novosad, abarth-chromium, Rik, darin-cc_chromium.org, blink-reviews, kalyank, ajuma+watch_chromium.org, jbroman, pdr+graphicswatchlist_chromium.org, cc-bugs_chromium.org, rjkroege, Aaron Boodman, f(malita), danakj+watch_chromium.org, Fady Samuel
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added MojoCompositorFrameSink::EvictFrame() and MojoCompositorFrameSinkClient::WillDrawSurface() This is a first step to separate exo::SurfaceFactoryOwner into exo::CompositorFrameSink and exo::CompositorFrameSinkHolder (WIP CL: https://codereview.chromium.org/2493223002) BUG=659601 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/7fe38563b35eee5ee8818232d1ad15530ab53fa7 Cr-Commit-Position: refs/heads/master@{#436117}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed a comment #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
M cc/ipc/mojo_compositor_frame_sink.mojom View 2 chunks +7 lines, -0 lines 2 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M services/ui/public/cpp/window_compositor_frame_sink.h View 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/public/cpp/window_compositor_frame_sink.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M services/ui/surfaces/gpu_compositor_frame_sink.h View 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/surfaces/gpu_compositor_frame_sink.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M services/ui/ws/frame_generator.h View 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/frame_generator.cc View 1 chunk +5 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/aura/mus/window_compositor_frame_sink.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/mus/window_compositor_frame_sink.cc View 1 chunk +5 lines, -0 lines 1 comment Download

Messages

Total messages: 32 (16 generated)
Alex Z.
pdr@chromium.org: Please review changes in third_party/WebKit xlai@chromium.org: Please review changes in content/browser/renderer_host sky@chromium.org: Please review ...
4 years ago (2016-12-01 21:53:26 UTC) #5
Fady Samuel
LGTM + one comment. https://codereview.chromium.org/2544103002/diff/1/services/ui/surfaces/gpu_compositor_frame_sink.cc File services/ui/surfaces/gpu_compositor_frame_sink.cc (right): https://codereview.chromium.org/2544103002/diff/1/services/ui/surfaces/gpu_compositor_frame_sink.cc#newcode102 services/ui/surfaces/gpu_compositor_frame_sink.cc:102: NOTIMPLEMENTED(); Implement it here? surface_factory_.EvictSurface();
4 years ago (2016-12-01 21:55:41 UTC) #7
Fady Samuel
+danakj@
4 years ago (2016-12-01 21:56:24 UTC) #9
Alex Z.
https://codereview.chromium.org/2544103002/diff/1/services/ui/surfaces/gpu_compositor_frame_sink.cc File services/ui/surfaces/gpu_compositor_frame_sink.cc (right): https://codereview.chromium.org/2544103002/diff/1/services/ui/surfaces/gpu_compositor_frame_sink.cc#newcode102 services/ui/surfaces/gpu_compositor_frame_sink.cc:102: NOTIMPLEMENTED(); On 2016/12/01 21:55:41, Fady Samuel wrote: > Implement ...
4 years ago (2016-12-01 21:59:15 UTC) #12
pdr.
On 2016/12/01 at 21:56:24, fsamuel wrote: > +danakj@ WebKit LGTM
4 years ago (2016-12-01 21:59:54 UTC) #13
Tom Sepez
mojom LGTM
4 years ago (2016-12-01 22:06:45 UTC) #14
sky
LGTM
4 years ago (2016-12-01 22:54:57 UTC) #15
danakj
https://codereview.chromium.org/2544103002/diff/20001/cc/ipc/mojo_compositor_frame_sink.mojom File cc/ipc/mojo_compositor_frame_sink.mojom (right): https://codereview.chromium.org/2544103002/diff/20001/cc/ipc/mojo_compositor_frame_sink.mojom#newcode58 cc/ipc/mojo_compositor_frame_sink.mojom:58: WillDrawSurface(); no damage rect or local frame id?
4 years ago (2016-12-02 00:01:14 UTC) #18
Alex Z.
https://codereview.chromium.org/2544103002/diff/20001/cc/ipc/mojo_compositor_frame_sink.mojom File cc/ipc/mojo_compositor_frame_sink.mojom (right): https://codereview.chromium.org/2544103002/diff/20001/cc/ipc/mojo_compositor_frame_sink.mojom#newcode58 cc/ipc/mojo_compositor_frame_sink.mojom:58: WillDrawSurface(); On 2016/12/02 00:01:14, danakj wrote: > no damage ...
4 years ago (2016-12-02 16:17:15 UTC) #19
Alex Z.
xidachen@: Please review changes in content/browser/renderer_host/
4 years ago (2016-12-02 16:26:05 UTC) #21
xidachen
On 2016/12/02 16:26:05, StarAZ1 wrote: > xidachen@: Please review changes in content/browser/renderer_host/ lgtm
4 years ago (2016-12-02 16:30:02 UTC) #22
danakj
On 2016/12/02 16:17:15, StarAZ1 wrote: > https://codereview.chromium.org/2544103002/diff/20001/cc/ipc/mojo_compositor_frame_sink.mojom > File cc/ipc/mojo_compositor_frame_sink.mojom (right): > > https://codereview.chromium.org/2544103002/diff/20001/cc/ipc/mojo_compositor_frame_sink.mojom#newcode58 > ...
4 years ago (2016-12-02 21:02:06 UTC) #23
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/2544103002/20001
4 years ago (2016-12-02 22:19:23 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-03 01:17:27 UTC) #28
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/7fe38563b35eee5ee8818232d1ad15530ab53fa7 Cr-Commit-Position: refs/heads/master@{#436117}
4 years ago (2016-12-03 01:20:58 UTC) #30
kylechar
4 years ago (2016-12-05 15:18:31 UTC) #32
Message was sent while issue was closed.
https://codereview.chromium.org/2544103002/diff/20001/services/ui/ws/frame_ge...
File services/ui/ws/frame_generator.cc (right):

https://codereview.chromium.org/2544103002/diff/20001/services/ui/ws/frame_ge...
services/ui/ws/frame_generator.cc:130: NOTIMPLEMENTED();
This is causing lots of console spam. I think it gets called 60 times a second?

https://codereview.chromium.org/2544103002/diff/20001/ui/aura/mus/window_comp...
File ui/aura/mus/window_compositor_frame_sink.cc (right):

https://codereview.chromium.org/2544103002/diff/20001/ui/aura/mus/window_comp...
ui/aura/mus/window_compositor_frame_sink.cc:116: NOTIMPLEMENTED();
Same problem here.

Powered by Google App Engine
This is Rietveld 408576698