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

Unified Diff: cc/output/gl_renderer.cc

Issue 14092003: Add compositor support for the LatencyInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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 dcd952adb8ac253839972247fb582e43910234a4..dae48f6ef6fe646cd41d2eada6740fcf3d6173bd 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -1849,7 +1849,7 @@ void GLRenderer::Finish() {
context_->finish();
}
-bool GLRenderer::SwapBuffers() {
+bool GLRenderer::SwapBuffers(const LatencyInfo& latency_info) {
DCHECK(visible_);
DCHECK(!is_backbuffer_discarded_);
@@ -1866,9 +1866,9 @@ bool GLRenderer::SwapBuffers() {
flipped_y_pos_of_rect_bottom,
swap_buffer_rect_.width(),
swap_buffer_rect_.height()),
- LatencyInfo());
+ latency_info);
} else {
- output_surface_->SwapBuffers(LatencyInfo());
+ output_surface_->SwapBuffers(latency_info);
}
swap_buffer_rect_ = gfx::Rect();
« 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