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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.h

Issue 2068413002: cc: Remove fixed raster scale, stop rasterizing with will-change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 6 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 float page_scale, 167 float page_scale,
168 float top_controls_delta) override; 168 float top_controls_delta) override;
169 void RequestNewOutputSurface() override; 169 void RequestNewOutputSurface() override;
170 void DidInitializeOutputSurface() override; 170 void DidInitializeOutputSurface() override;
171 void DidFailToInitializeOutputSurface() override; 171 void DidFailToInitializeOutputSurface() override;
172 void WillCommit() override; 172 void WillCommit() override;
173 void DidCommit() override; 173 void DidCommit() override;
174 void DidCommitAndDrawFrame() override; 174 void DidCommitAndDrawFrame() override;
175 void DidCompleteSwapBuffers() override; 175 void DidCompleteSwapBuffers() override;
176 void DidCompletePageScaleAnimation() override; 176 void DidCompletePageScaleAnimation() override;
177 void ReportFixedRasterScaleUseCounters(
178 bool has_blurry_content,
179 bool has_potential_performance_regression) override;
180 177
181 // cc::LayerTreeHostSingleThreadClient implementation. 178 // cc::LayerTreeHostSingleThreadClient implementation.
182 void RequestScheduleAnimation() override; 179 void RequestScheduleAnimation() override;
183 void DidPostSwapBuffers() override; 180 void DidPostSwapBuffers() override;
184 void DidAbortSwapBuffers() override; 181 void DidAbortSwapBuffers() override;
185 182
186 // cc::RemoteProtoChannel implementation. 183 // cc::RemoteProtoChannel implementation.
187 void SetProtoReceiver(ProtoReceiver* receiver) override; 184 void SetProtoReceiver(ProtoReceiver* receiver) override;
188 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override; 185 void SendCompositorProto(const cc::proto::CompositorMessage& proto) override;
189 186
(...skipping 27 matching lines...) Expand all
217 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 214 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
218 215
219 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 216 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
220 217
221 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 218 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
222 }; 219 };
223 220
224 } // namespace content 221 } // namespace content
225 222
226 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 223 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698