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

Unified Diff: cc/output/output_surface.cc

Issue 628703005: Remove GpuHostMsg_FrameDrawn and replace with client channel swap ack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix cros/threaded Created 6 years, 2 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 | « no previous file | content/browser/compositor/gpu_browser_compositor_output_surface.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 2dd5a213551ae3783d2521e4ad9074783c26b111..f0cbf5da205503f7244be7dad95744850d4392f7 100644
--- a/cc/output/output_surface.cc
+++ b/cc/output/output_surface.cc
@@ -223,6 +223,8 @@ void OutputSurface::BindFramebuffer() {
}
void OutputSurface::SwapBuffers(CompositorFrame* frame) {
+ // TODO(sievers): Make OutputSurface::SwapBuffers() pure virtual.
+ // The implementation here is used for tests only.
if (frame->software_frame_data) {
PostSwapBuffersComplete();
client_->DidSwapBuffers();
« no previous file with comments | « no previous file | content/browser/compositor/gpu_browser_compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698