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

Unified Diff: cc/output/output_surface.cc

Issue 12614013: Plumb cc::LatencyInfo through command buffer and output surface (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/output_surface.h ('k') | content/browser/gpu/gpu_process_host_ui_shim.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.cc
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc
index 534b46dbfc5fff8f77d817143dd3f97b540cfbf0..416440283d4bdfca847494ea0ca9e5c3b6f6d44d 100644
--- a/cc/output/output_surface.cc
+++ b/cc/output/output_surface.cc
@@ -95,14 +95,15 @@ void OutputSurface::BindFramebuffer() {
context3d_->bindFramebuffer(GL_FRAMEBUFFER, 0);
}
-void OutputSurface::SwapBuffers() {
+void OutputSurface::SwapBuffers(const LatencyInfo& latency_info) {
DCHECK(context3d_);
// Note that currently this has the same effect as SwapBuffers; we should
// consider exposing a different entry point on WebGraphicsContext3D.
context3d_->prepareTexture();
}
-void OutputSurface::PostSubBuffer(gfx::Rect rect) {
+void OutputSurface::PostSubBuffer(gfx::Rect rect,
+ const LatencyInfo& latency_info) {
DCHECK(context3d_);
context3d_->postSubBufferCHROMIUM(
rect.x(), rect.y(), rect.width(), rect.height());
« no previous file with comments | « cc/output/output_surface.h ('k') | content/browser/gpu/gpu_process_host_ui_shim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698