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

Side by Side Diff: blimp/client/feature/compositor/blimp_compositor.cc

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 unified diff | Download patch
« no previous file with comments | « blimp/client/feature/compositor/blimp_compositor.h ('k') | cc/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "blimp/client/feature/compositor/blimp_compositor.h" 5 #include "blimp/client/feature/compositor/blimp_compositor.h"
6 6
7 #include "base/bind_helpers.h" 7 #include "base/bind_helpers.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/numerics/safe_conversions.h" 10 #include "base/numerics/safe_conversions.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void BlimpCompositor::WillCommit() {} 105 void BlimpCompositor::WillCommit() {}
106 106
107 void BlimpCompositor::DidCommit() {} 107 void BlimpCompositor::DidCommit() {}
108 108
109 void BlimpCompositor::DidCommitAndDrawFrame() {} 109 void BlimpCompositor::DidCommitAndDrawFrame() {}
110 110
111 void BlimpCompositor::DidCompleteSwapBuffers() {} 111 void BlimpCompositor::DidCompleteSwapBuffers() {}
112 112
113 void BlimpCompositor::DidCompletePageScaleAnimation() {} 113 void BlimpCompositor::DidCompletePageScaleAnimation() {}
114 114
115 void BlimpCompositor::RecordFrameTimingEvents(
116 std::unique_ptr<cc::FrameTimingTracker::CompositeTimingSet>
117 composite_events,
118 std::unique_ptr<cc::FrameTimingTracker::MainFrameTimingSet>
119 main_frame_events) {}
120
121 void BlimpCompositor::SetProtoReceiver(ProtoReceiver* receiver) { 115 void BlimpCompositor::SetProtoReceiver(ProtoReceiver* receiver) {
122 remote_proto_channel_receiver_ = receiver; 116 remote_proto_channel_receiver_ = receiver;
123 } 117 }
124 118
125 void BlimpCompositor::SendCompositorProto( 119 void BlimpCompositor::SendCompositorProto(
126 const cc::proto::CompositorMessage& proto) { 120 const cc::proto::CompositorMessage& proto) {
127 client_->SendCompositorMessage(render_widget_id_, proto); 121 client_->SendCompositorMessage(render_widget_id_, proto);
128 } 122 }
129 123
130 void BlimpCompositor::OnCompositorMessageReceived( 124 void BlimpCompositor::OnCompositorMessageReceived(
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 BlimpContextProvider::Create(window_, 253 BlimpContextProvider::Create(window_,
260 client_->GetGpuMemoryBufferManager()); 254 client_->GetGpuMemoryBufferManager());
261 255
262 host_->SetOutputSurface( 256 host_->SetOutputSurface(
263 base::WrapUnique(new BlimpOutputSurface(context_provider))); 257 base::WrapUnique(new BlimpOutputSurface(context_provider)));
264 output_surface_request_pending_ = false; 258 output_surface_request_pending_ = false;
265 } 259 }
266 260
267 } // namespace client 261 } // namespace client
268 } // namespace blimp 262 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/feature/compositor/blimp_compositor.h ('k') | cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698