Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3064)

Unified Diff: cc/output/software_renderer.cc

Issue 2527283003: cc: Introduce BeginFrame sequence numbers and acknowledgements.
Patch Set: Address Brian's comments. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/software_renderer.h ('k') | cc/output/vulkan_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/software_renderer.cc
diff --git a/cc/output/software_renderer.cc b/cc/output/software_renderer.cc
index c18e4def79e9edf799a2d3b5d057dab6c0a8d559..e9d61237b3689e8f748173e33097426a68d57460 100644
--- a/cc/output/software_renderer.cc
+++ b/cc/output/software_renderer.cc
@@ -80,11 +80,9 @@ void SoftwareRenderer::FinishDrawingFrame(DrawingFrame* frame) {
output_device_->EndPaint();
}
-void SoftwareRenderer::SwapBuffers(std::vector<ui::LatencyInfo> latency_info) {
+void SoftwareRenderer::SwapBuffers(OutputSurfaceFrame output_frame) {
DCHECK(visible_);
TRACE_EVENT0("cc", "SoftwareRenderer::SwapBuffers");
- OutputSurfaceFrame output_frame;
- output_frame.latency_info = std::move(latency_info);
output_surface_->SwapBuffers(std::move(output_frame));
}
« no previous file with comments | « cc/output/software_renderer.h ('k') | cc/output/vulkan_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698