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

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

Issue 227413011: Remove old texture path in TextureLayer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/proxy.h ('k') | cc/trees/thread_proxy.h » ('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/time/time.h" 10 #include "base/time/time.h"
(...skipping 30 matching lines...) Expand all
41 virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) OVERRIDE; 41 virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) OVERRIDE;
42 virtual void SetNextCommitWaitsForActivation() OVERRIDE; 42 virtual void SetNextCommitWaitsForActivation() OVERRIDE;
43 virtual void NotifyInputThrottledUntilCommit() OVERRIDE {} 43 virtual void NotifyInputThrottledUntilCommit() OVERRIDE {}
44 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; 44 virtual void SetDeferCommits(bool defer_commits) OVERRIDE;
45 virtual bool CommitRequested() const OVERRIDE; 45 virtual bool CommitRequested() const OVERRIDE;
46 virtual bool BeginMainFrameRequested() const OVERRIDE; 46 virtual bool BeginMainFrameRequested() const OVERRIDE;
47 virtual void MainThreadHasStoppedFlinging() OVERRIDE {} 47 virtual void MainThreadHasStoppedFlinging() OVERRIDE {}
48 virtual void Start() OVERRIDE; 48 virtual void Start() OVERRIDE;
49 virtual void Stop() OVERRIDE; 49 virtual void Stop() OVERRIDE;
50 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; 50 virtual size_t MaxPartialTextureUpdates() const OVERRIDE;
51 virtual void AcquireLayerTextures() OVERRIDE {}
52 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; 51 virtual void ForceSerializeOnSwapBuffers() OVERRIDE;
53 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; 52 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE;
54 virtual bool CommitPendingForTesting() OVERRIDE; 53 virtual bool CommitPendingForTesting() OVERRIDE;
55 54
56 // LayerTreeHostImplClient implementation 55 // LayerTreeHostImplClient implementation
57 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE; 56 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE;
58 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; 57 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE;
59 virtual void DidSwapBuffersOnImplThread() OVERRIDE; 58 virtual void DidSwapBuffersOnImplThread() OVERRIDE;
60 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE; 59 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE;
61 virtual void BeginImplFrame(const BeginFrameArgs& args) 60 virtual void BeginImplFrame(const BeginFrameArgs& args)
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 private: 178 private:
180 DebugScopedSetImplThread impl_thread_; 179 DebugScopedSetImplThread impl_thread_;
181 DebugScopedSetMainThreadBlocked main_thread_blocked_; 180 DebugScopedSetMainThreadBlocked main_thread_blocked_;
182 181
183 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 182 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
184 }; 183 };
185 184
186 } // namespace cc 185 } // namespace cc
187 186
188 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 187 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698