Bug 1379680. Move the displaylist ByteBuf into a Vec instead of copying. r=kats
This eliminates a copy of the displaylist on the compositor thread.
This commit is contained in:
@@ -353,7 +353,7 @@ AsyncImagePipelineManager::ApplyAsyncImages()
|
||||
builder.Finalize(builderContentSize, dl);
|
||||
mApi->SetDisplayList(gfx::Color(0.f, 0.f, 0.f, 0.f), epoch, LayerSize(pipeline->mScBounds.Width(), pipeline->mScBounds.Height()),
|
||||
pipelineId, builderContentSize,
|
||||
dl.dl_desc, dl.dl.inner.data, dl.dl.inner.length,
|
||||
dl.dl_desc, dl.dl,
|
||||
resourceUpdates);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user