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

Side by Side Diff: cc/trees/single_thread_proxy.h

Issue 1091323002: Send a message through the ozone channel to recreate buffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « cc/trees/proxy.h ('k') | cc/trees/single_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_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 bool BeginMainFrameRequested() const override; 56 bool BeginMainFrameRequested() const override;
57 void MainThreadHasStoppedFlinging() override {} 57 void MainThreadHasStoppedFlinging() override {}
58 void Start() override; 58 void Start() override;
59 void Stop() override; 59 void Stop() override;
60 size_t MaxPartialTextureUpdates() const override; 60 size_t MaxPartialTextureUpdates() const override;
61 void ForceSerializeOnSwapBuffers() override; 61 void ForceSerializeOnSwapBuffers() override;
62 bool SupportsImplScrolling() const override; 62 bool SupportsImplScrolling() const override;
63 bool MainFrameWillHappenForTesting() override; 63 bool MainFrameWillHappenForTesting() override;
64 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; 64 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override;
65 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; 65 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override;
66 void RecreateOutputSurfaceBuffers() override;
66 67
67 // SchedulerClient implementation 68 // SchedulerClient implementation
68 void WillBeginImplFrame(const BeginFrameArgs& args) override; 69 void WillBeginImplFrame(const BeginFrameArgs& args) override;
69 void ScheduledActionSendBeginMainFrame() override; 70 void ScheduledActionSendBeginMainFrame() override;
70 DrawResult ScheduledActionDrawAndSwapIfPossible() override; 71 DrawResult ScheduledActionDrawAndSwapIfPossible() override;
71 DrawResult ScheduledActionDrawAndSwapForced() override; 72 DrawResult ScheduledActionDrawAndSwapForced() override;
72 void ScheduledActionCommit() override; 73 void ScheduledActionCommit() override;
73 void ScheduledActionAnimate() override; 74 void ScheduledActionAnimate() override;
74 void ScheduledActionActivateSyncTree() override; 75 void ScheduledActionActivateSyncTree() override;
75 void ScheduledActionBeginOutputSurfaceCreation() override; 76 void ScheduledActionBeginOutputSurfaceCreation() override;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 private: 236 private:
236 DebugScopedSetImplThread impl_thread_; 237 DebugScopedSetImplThread impl_thread_;
237 DebugScopedSetMainThreadBlocked main_thread_blocked_; 238 DebugScopedSetMainThreadBlocked main_thread_blocked_;
238 239
239 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 240 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
240 }; 241 };
241 242
242 } // namespace cc 243 } // namespace cc
243 244
244 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 245 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/proxy.h ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698