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

Side by Side Diff: content/renderer/android/synchronous_compositor_frame_sink.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/renderer/android/synchronous_compositor_frame_sink.h" 5 #include "content/renderer/android/synchronous_compositor_frame_sink.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } 464 }
465 465
466 void SynchronousCompositorFrameSink::ReturnResources( 466 void SynchronousCompositorFrameSink::ReturnResources(
467 const cc::ReturnedResourceArray& resources) { 467 const cc::ReturnedResourceArray& resources) {
468 DCHECK(resources.empty()); 468 DCHECK(resources.empty());
469 client_->ReclaimResources(resources); 469 client_->ReclaimResources(resources);
470 } 470 }
471 471
472 void SynchronousCompositorFrameSink::SetBeginFrameSource( 472 void SynchronousCompositorFrameSink::SetBeginFrameSource(
473 cc::BeginFrameSource* begin_frame_source) { 473 cc::BeginFrameSource* begin_frame_source) {
474 // Software output is synchronous and doesn't use a BeginFrameSource. 474 // Software output is synchronous and doesn't use the frame sink's (Display's)
475 NOTREACHED(); 475 // BeginFrameSource.
476 } 476 }
477 477
478 } // namespace content 478 } // namespace content
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/gpu/compositor_external_begin_frame_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698