Bug 1677929 - Add a way to specify an ID for a generated frame, and propagate the ID to the APZSampler. r=gw,kats
This ID allows the compositor to track per-frame information from frame generation, through APZ sampling, to the NotifyDidRender notification. Differential Revision: https://phabricator.services.mozilla.com/D97535
This commit is contained in:
@@ -252,8 +252,8 @@ void TransactionBuilder::ClearDisplayList(Epoch aEpoch,
|
||||
wr_transaction_clear_display_list(mTxn, aEpoch, aPipelineId);
|
||||
}
|
||||
|
||||
void TransactionBuilder::GenerateFrame() {
|
||||
wr_transaction_generate_frame(mTxn);
|
||||
void TransactionBuilder::GenerateFrame(const VsyncId& aVsyncId) {
|
||||
wr_transaction_generate_frame(mTxn, aVsyncId.mId);
|
||||
}
|
||||
|
||||
void TransactionBuilder::InvalidateRenderedFrame() {
|
||||
|
||||
Reference in New Issue
Block a user