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

Side by Side Diff: cc/trees/thread_proxy.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
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_TREES_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 void SetNeedsCommit() override; 165 void SetNeedsCommit() override;
166 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; 166 void SetNeedsRedraw(const gfx::Rect& damage_rect) override;
167 void SetNextCommitWaitsForActivation() override; 167 void SetNextCommitWaitsForActivation() override;
168 void NotifyInputThrottledUntilCommit() override; 168 void NotifyInputThrottledUntilCommit() override;
169 void SetDeferCommits(bool defer_commits) override; 169 void SetDeferCommits(bool defer_commits) override;
170 bool CommitRequested() const override; 170 bool CommitRequested() const override;
171 bool BeginMainFrameRequested() const override; 171 bool BeginMainFrameRequested() const override;
172 void MainThreadHasStoppedFlinging() override; 172 void MainThreadHasStoppedFlinging() override;
173 void Start() override; 173 void Start() override;
174 void Stop() override; 174 void Stop() override;
175 void ForceSerializeOnSwapBuffers() override;
176 bool SupportsImplScrolling() const override; 175 bool SupportsImplScrolling() const override;
177 bool MainFrameWillHappenForTesting() override; 176 bool MainFrameWillHappenForTesting() override;
178 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; 177 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override;
179 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; 178 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override;
180 scoped_ptr<OutputSurface> ReleaseOutputSurface() override; 179 scoped_ptr<OutputSurface> ReleaseOutputSurface() override;
181 180
182 // LayerTreeHostImplClient implementation 181 // LayerTreeHostImplClient implementation
183 void UpdateRendererCapabilitiesOnImplThread() override; 182 void UpdateRendererCapabilitiesOnImplThread() override;
184 void DidLoseOutputSurfaceOnImplThread() override; 183 void DidLoseOutputSurfaceOnImplThread() override;
185 void CommitVSyncParameters(base::TimeTicks timebase, 184 void CommitVSyncParameters(base::TimeTicks timebase,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 bool* has_initialized_output_surface); 273 bool* has_initialized_output_surface);
275 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion); 274 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion);
276 void InitializeOutputSurfaceOnImplThread( 275 void InitializeOutputSurfaceOnImplThread(
277 scoped_ptr<OutputSurface> output_surface); 276 scoped_ptr<OutputSurface> output_surface);
278 void ReleaseOutputSurfaceOnImplThread( 277 void ReleaseOutputSurfaceOnImplThread(
279 CompletionEvent* completion, 278 CompletionEvent* completion,
280 scoped_ptr<OutputSurface>* output_surface); 279 scoped_ptr<OutputSurface>* output_surface);
281 void FinishGLOnImplThread(CompletionEvent* completion); 280 void FinishGLOnImplThread(CompletionEvent* completion);
282 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); 281 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion);
283 DrawResult DrawSwapInternal(bool forced_draw); 282 DrawResult DrawSwapInternal(bool forced_draw);
284 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion);
285 void MainFrameWillHappenOnImplThreadForTesting(CompletionEvent* completion, 283 void MainFrameWillHappenOnImplThreadForTesting(CompletionEvent* completion,
286 bool* main_frame_will_happen); 284 bool* main_frame_will_happen);
287 void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile); 285 void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile);
288 void MainThreadHasStoppedFlingingOnImplThread(); 286 void MainThreadHasStoppedFlingingOnImplThread();
289 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); 287 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled);
290 void SetDeferCommitsOnImplThread(bool defer_commits) const; 288 void SetDeferCommitsOnImplThread(bool defer_commits) const;
291 void PostFrameTimingEvents( 289 void PostFrameTimingEvents(
292 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 290 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
293 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events); 291 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events);
294 292
(...skipping 14 matching lines...) Expand all
309 307
310 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 308 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
311 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 309 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
312 310
313 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 311 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
314 }; 312 };
315 313
316 } // namespace cc 314 } // namespace cc
317 315
318 #endif // CC_TREES_THREAD_PROXY_H_ 316 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698