From 9430ed755737fe1403ca9b5e7d35020ecf82a9e3 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Tue, 10 Apr 2018 17:26:54 -0400 Subject: [PATCH] Bug 1452620 - Document the WrPipelineInfo structure. r=botond,nical MozReview-Commit-ID: DleDZydMnKS --HG-- extra : rebase_source : 1e86be2527841a2d1c1b999f11f9c4c03e844a2f --- gfx/webrender_bindings/src/bindings.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gfx/webrender_bindings/src/bindings.rs b/gfx/webrender_bindings/src/bindings.rs index acc782c42a46..a9b8a194e4ed 100644 --- a/gfx/webrender_bindings/src/bindings.rs +++ b/gfx/webrender_bindings/src/bindings.rs @@ -649,7 +649,17 @@ impl From<(WrPipelineId, WrEpoch)> for WrPipelineEpoch { #[repr(C)] pub struct WrPipelineInfo { + // This contains an entry for each pipeline that was rendered, along with + // the epoch at which it was rendered. Rendered pipelines include the root + // pipeline and any other pipelines that were reachable via IFrame display + // items from the root pipeline. epochs: FfiVec, + // This contains an entry for each pipeline that was removed during the + // last transaction. These pipelines would have been explicitly removed by + // calling remove_pipeline on the transaction object; the pipeline showing + // up in this array means that the data structures have been torn down on + // the webrender side, and so any remaining data structures on the caller + // side can now be torn down also. removed_pipelines: FfiVec, }