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

Unified Diff: cc/output/gl_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/gl_renderer.h ('k') | cc/output/gl_renderer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 71861fb361d8b7dac8789e2fa311af09b4f014d7..687de6ddf500a6d8aa83bfdd968747c8ec963ab4 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -2894,7 +2894,7 @@ void GLRenderer::DrawQuadGeometry(const gfx::Transform& projection_matrix,
gl_->DrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0);
}
-void GLRenderer::SwapBuffers(std::vector<ui::LatencyInfo> latency_info) {
+void GLRenderer::SwapBuffers(OutputSurfaceFrame output_frame) {
DCHECK(visible_);
TRACE_EVENT0("cc", "GLRenderer::SwapBuffers");
@@ -2902,8 +2902,6 @@ void GLRenderer::SwapBuffers(std::vector<ui::LatencyInfo> latency_info) {
gfx::Size surface_size = surface_size_for_swap_buffers();
- OutputSurfaceFrame output_frame;
- output_frame.latency_info = std::move(latency_info);
output_frame.size = surface_size;
if (use_partial_swap_) {
// If supported, we can save significant bandwidth by only swapping the
« no previous file with comments | « cc/output/gl_renderer.h ('k') | cc/output/gl_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698