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

Side by Side Diff: cc/thread_proxy.h

Issue 11369109: cc: Rename PrioritizedTexture to PrioritizedResource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/texture_uploader_unittest.cc ('k') | cc/tiled_layer.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_THREAD_PROXY_H_ 5 #ifndef CC_THREAD_PROXY_H_
6 #define CC_THREAD_PROXY_H_ 6 #define CC_THREAD_PROXY_H_
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "cc/animation_events.h" 9 #include "cc/animation_events.h"
10 #include "cc/completion_event.h" 10 #include "cc/completion_event.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 explicit ThreadProxy(LayerTreeHost*); 80 explicit ThreadProxy(LayerTreeHost*);
81 81
82 // Set on impl thread, read on main thread. 82 // Set on impl thread, read on main thread.
83 struct BeginFrameAndCommitState { 83 struct BeginFrameAndCommitState {
84 BeginFrameAndCommitState(); 84 BeginFrameAndCommitState();
85 ~BeginFrameAndCommitState(); 85 ~BeginFrameAndCommitState();
86 86
87 base::TimeTicks monotonicFrameBeginTime; 87 base::TimeTicks monotonicFrameBeginTime;
88 scoped_ptr<ScrollAndScaleSet> scrollInfo; 88 scoped_ptr<ScrollAndScaleSet> scrollInfo;
89 WebKit::WebTransformationMatrix implTransform; 89 WebKit::WebTransformationMatrix implTransform;
90 PrioritizedTextureManager::BackingList evictedContentsTexturesBackings; 90 PrioritizedResourceManager::BackingList evictedContentsTexturesBackings;
91 size_t memoryAllocationLimitBytes; 91 size_t memoryAllocationLimitBytes;
92 }; 92 };
93 scoped_ptr<BeginFrameAndCommitState> m_pendingBeginFrameRequest; 93 scoped_ptr<BeginFrameAndCommitState> m_pendingBeginFrameRequest;
94 94
95 // Called on main thread 95 // Called on main thread
96 void beginFrame(); 96 void beginFrame();
97 void didCommitAndDrawFrame(); 97 void didCommitAndDrawFrame();
98 void didCompleteSwapBuffers(); 98 void didCompleteSwapBuffers();
99 void setAnimationEvents(scoped_ptr<AnimationEventsVector>, base::Time wallCl ockTime); 99 void setAnimationEvents(scoped_ptr<AnimationEventsVector>, base::Time wallCl ockTime);
100 void beginContextRecreation(); 100 void beginContextRecreation();
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 base::TimeDelta m_totalCommitTime; 174 base::TimeDelta m_totalCommitTime;
175 size_t m_totalCommitCount; 175 size_t m_totalCommitCount;
176 176
177 bool m_deferCommits; 177 bool m_deferCommits;
178 bool m_deferredCommitPending; 178 bool m_deferredCommitPending;
179 }; 179 };
180 180
181 } // namespace cc 181 } // namespace cc
182 182
183 #endif // CC_THREAD_PROXY_H_ 183 #endif // CC_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/texture_uploader_unittest.cc ('k') | cc/tiled_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698