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

Side by Side Diff: cc/surfaces/surface_display_output_surface.cc

Issue 1415103005: Remove NOTIMPLEMENTED for SurfaceFactoryClient::SetBeginFrameSource's (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/surfaces/surface_display_output_surface.h" 5 #include "cc/surfaces/surface_display_output_surface.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "cc/output/compositor_frame.h" 8 #include "cc/output/compositor_frame.h"
9 #include "cc/output/compositor_frame_ack.h" 9 #include "cc/output/compositor_frame_ack.h"
10 #include "cc/surfaces/display.h" 10 #include "cc/surfaces/display.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 CompositorFrameAck ack; 90 CompositorFrameAck ack;
91 ack.resources = resources; 91 ack.resources = resources;
92 if (client_) 92 if (client_)
93 client_->ReclaimResources(&ack); 93 client_->ReclaimResources(&ack);
94 } 94 }
95 95
96 void SurfaceDisplayOutputSurface::SetBeginFrameSource( 96 void SurfaceDisplayOutputSurface::SetBeginFrameSource(
97 SurfaceId surface_id, 97 SurfaceId surface_id,
98 BeginFrameSource* begin_frame_source) { 98 BeginFrameSource* begin_frame_source) {
99 // TODO(tansell): Hook this up. 99 // TODO(tansell): Hook this up.
100 NOTIMPLEMENTED();
101 } 100 }
102 101
103 void SurfaceDisplayOutputSurface::SwapBuffersComplete(SurfaceDrawStatus drawn) { 102 void SurfaceDisplayOutputSurface::SwapBuffersComplete(SurfaceDrawStatus drawn) {
104 if (client_ && !display_client_->output_surface_lost()) 103 if (client_ && !display_client_->output_surface_lost())
105 client_->DidSwapBuffersComplete(); 104 client_->DidSwapBuffersComplete();
106 } 105 }
107 106
108 } // namespace cc 107 } // namespace cc
OLDNEW
« no previous file with comments | « android_webview/browser/hardware_renderer.cc ('k') | components/mus/surfaces/top_level_display_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698