Chrome Remote Interface v0.0.5 ChromeRemoteInterface.RPC.LayerTree View Source

Link to this section Summary

Link to this section Functions

Link to this function compositingReasons(page_pid) View Source

Provides the reasons why the given layer was composited.

Parameters: layerId - - The id of the layer for which we want to get the reasons it was composited.

Link to this function compositingReasons(page_pid, parameters) View Source
Link to this function compositingReasons(page_pid, parameters, opts) View Source

Disables compositing tree inspection.

Parameters:

Link to this function disable(page_pid, parameters) View Source
Link to this function disable(page_pid, parameters, opts) View Source

Enables compositing tree inspection.

Parameters:

Link to this function enable(page_pid, parameters) View Source
Link to this function enable(page_pid, parameters, opts) View Source

Returns the snapshot identifier.

Parameters: tiles - - An array of tiles composing the snapshot.

Link to this function loadSnapshot(page_pid, parameters) View Source
Link to this function loadSnapshot(page_pid, parameters, opts) View Source

Returns the layer snapshot identifier.

Parameters: layerId - - The id of the layer.

Link to this function makeSnapshot(page_pid, parameters) View Source
Link to this function makeSnapshot(page_pid, parameters, opts) View Source
Link to this function profileSnapshot(page_pid) View Source

Parameters: snapshotId - - The id of the layer snapshot.minRepeatCount - - The maximum number of times to replay the snapshot (1, if not specified).minDuration - - The minimum duration (in seconds) to replay the snapshot.clipRect - - The clip rectangle to apply when replaying the snapshot.

Link to this function profileSnapshot(page_pid, parameters) View Source
Link to this function profileSnapshot(page_pid, parameters, opts) View Source
Link to this function releaseSnapshot(page_pid) View Source

Releases layer snapshot captured by the back-end.

Parameters: snapshotId - - The id of the layer snapshot.

Link to this function releaseSnapshot(page_pid, parameters) View Source
Link to this function releaseSnapshot(page_pid, parameters, opts) View Source
Link to this function replaySnapshot(page_pid) View Source

Replays the layer snapshot and returns the resulting bitmap.

Parameters: snapshotId - - The id of the layer snapshot.fromStep - - The first step to replay from (replay from the very start if not specified).toStep - - The last step to replay to (replay till the end if not specified).scale - - The scale to apply while replaying (defaults to 1).

Link to this function replaySnapshot(page_pid, parameters) View Source
Link to this function replaySnapshot(page_pid, parameters, opts) View Source
Link to this function snapshotCommandLog(page_pid) View Source

Replays the layer snapshot and returns canvas log.

Parameters: snapshotId - - The id of the layer snapshot.

Link to this function snapshotCommandLog(page_pid, parameters) View Source
Link to this function snapshotCommandLog(page_pid, parameters, opts) View Source