Commit ad04295a authored by Bo Liu's avatar Bo Liu Committed by Chromium LUCI CQ

Update synchronous compositor comments

Change-Id: Ic08863f36271341de848ddffe6c2971cb941b5c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2562753Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Bo <boliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832346}
parent 16c4707f
......@@ -51,7 +51,8 @@ interface SynchronousCompositor {
// the associated SynchronousCompositorControlHost.
DemandDrawHwAsync(SyncCompositorDemandDrawHwParams draw_params);
// Synchronously hardware draws.
// Same as |DemandDrawHwAsync| except it's synchronous and blocks the caller
// thread.
[Sync]
DemandDrawHw(SyncCompositorDemandDrawHwParams draw_params) =>
(SyncCompositorCommonRendererParams result,
......@@ -142,7 +143,7 @@ interface SynchronousCompositorHost {
// execution flow (from java) returns the responses from BeginFrames must be
// received.
interface SynchronousCompositorControlHost {
// Response from DrawHwAsync.
// Response from DemandDrawHwAsync.
ReturnFrame(uint32 layer_tree_frame_sink_id,
uint32 metadata_version,
viz.mojom.LocalSurfaceId? local_surface_id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment