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

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

Issue 1341423006: Removing GL context rate limiting feature and related wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed mojo autogens Created 5 years, 3 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 "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 float page_scale, 148 float page_scale,
149 float top_controls_delta) override; 149 float top_controls_delta) override;
150 void RequestNewOutputSurface() override; 150 void RequestNewOutputSurface() override;
151 void DidInitializeOutputSurface() override; 151 void DidInitializeOutputSurface() override;
152 void DidFailToInitializeOutputSurface() override; 152 void DidFailToInitializeOutputSurface() override;
153 void WillCommit() override; 153 void WillCommit() override;
154 void DidCommit() override; 154 void DidCommit() override;
155 void DidCommitAndDrawFrame() override; 155 void DidCommitAndDrawFrame() override;
156 void DidCompleteSwapBuffers() override; 156 void DidCompleteSwapBuffers() override;
157 void DidCompletePageScaleAnimation() override; 157 void DidCompletePageScaleAnimation() override;
158 void RateLimitSharedMainThreadContext() override;
159 void RecordFrameTimingEvents( 158 void RecordFrameTimingEvents(
160 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, 159 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
161 scoped_ptr<cc::FrameTimingTracker::MainFrameTimingSet> main_frame_events) 160 scoped_ptr<cc::FrameTimingTracker::MainFrameTimingSet> main_frame_events)
162 override; 161 override;
163 162
164 // cc::LayerTreeHostSingleThreadClient implementation. 163 // cc::LayerTreeHostSingleThreadClient implementation.
165 void ScheduleAnimation() override; 164 void ScheduleAnimation() override;
166 void DidPostSwapBuffers() override; 165 void DidPostSwapBuffers() override;
167 void DidAbortSwapBuffers() override; 166 void DidAbortSwapBuffers() override;
168 167
(...skipping 22 matching lines...) Expand all
191 190
192 blink::WebLayoutAndPaintAsyncCallback* layout_and_paint_async_callback_; 191 blink::WebLayoutAndPaintAsyncCallback* layout_and_paint_async_callback_;
193 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 192 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
194 193
195 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 194 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
196 }; 195 };
197 196
198 } // namespace content 197 } // namespace content
199 198
200 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 199 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « components/html_viewer/web_layer_tree_view_impl.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698