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

Side by Side Diff: cc/trees/layer_tree_host.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/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.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_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <list> 9 #include <list>
10 #include <set> 10 #include <set>
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 enum CreateResult { 124 enum CreateResult {
125 CreateSucceeded, 125 CreateSucceeded,
126 CreateFailedButTryAgain, 126 CreateFailedButTryAgain,
127 CreateFailedAndGaveUp, 127 CreateFailedAndGaveUp,
128 }; 128 };
129 virtual CreateResult OnCreateAndInitializeOutputSurfaceAttempted( 129 virtual CreateResult OnCreateAndInitializeOutputSurfaceAttempted(
130 bool success); 130 bool success);
131 void DidCommitAndDrawFrame() { client_->DidCommitAndDrawFrame(); } 131 void DidCommitAndDrawFrame() { client_->DidCommitAndDrawFrame(); }
132 void DidCompleteSwapBuffers() { client_->DidCompleteSwapBuffers(); } 132 void DidCompleteSwapBuffers() { client_->DidCompleteSwapBuffers(); }
133 void DeleteContentsTexturesOnImplThread(ResourceProvider* resource_provider); 133 void DeleteContentsTexturesOnImplThread(ResourceProvider* resource_provider);
134 virtual void AcquireLayerTextures();
135 // Returns false if we should abort this frame due to initialization failure. 134 // Returns false if we should abort this frame due to initialization failure.
136 bool InitializeOutputSurfaceIfNeeded(); 135 bool InitializeOutputSurfaceIfNeeded();
137 bool UpdateLayers(ResourceUpdateQueue* queue); 136 bool UpdateLayers(ResourceUpdateQueue* queue);
138 137
139 LayerTreeHostClient* client() { return client_; } 138 LayerTreeHostClient* client() { return client_; }
140 const base::WeakPtr<InputHandler>& GetInputHandler() { 139 const base::WeakPtr<InputHandler>& GetInputHandler() {
141 return input_handler_weak_ptr_; 140 return input_handler_weak_ptr_;
142 } 141 }
143 142
144 void NotifyInputThrottledUntilCommit(); 143 void NotifyInputThrottledUntilCommit();
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 453
455 ScopedPtrVector<SwapPromise> swap_promise_list_; 454 ScopedPtrVector<SwapPromise> swap_promise_list_;
456 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 455 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
457 456
458 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 457 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
459 }; 458 };
460 459
461 } // namespace cc 460 } // namespace cc
462 461
463 #endif // CC_TREES_LAYER_TREE_HOST_H_ 462 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698