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

Side by Side Diff: cc/CCPrioritizedTextureManager.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 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 | Annotate | Revision Log
« no previous file with comments | « cc/CCPrioritizedTexture.cpp ('k') | cc/CCPrioritizedTextureManager.cpp » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 CCPrioritizedTextureManager_h 5 #ifndef CCPrioritizedTextureManager_h
6 #define CCPrioritizedTextureManager_h 6 #define CCPrioritizedTextureManager_h
7 7
8 #include "CCPrioritizedTexture.h" 8 #include "CCPrioritizedTexture.h"
9 #include "CCPriorityCalculator.h" 9 #include "CCPriorityCalculator.h"
10 #include "CCTexture.h" 10 #include "CCTexture.h"
11 #include "GraphicsContext3D.h" 11 #include "GraphicsContext3D.h"
12 #include "IntRect.h" 12 #include "IntRect.h"
13 #include "IntSize.h" 13 #include "IntSize.h"
14 #include <wtf/HashSet.h> 14 #include <wtf/HashSet.h>
15 #include <wtf/ListHashSet.h> 15 #include <wtf/ListHashSet.h>
16 #include <wtf/Vector.h> 16 #include <wtf/Vector.h>
17 17
18 namespace WebCore { 18 namespace cc {
19 19
20 class CCPrioritizedTexture; 20 class CCPrioritizedTexture;
21 class CCPriorityCalculator; 21 class CCPriorityCalculator;
22 22
23 class CCPrioritizedTextureManager { 23 class CCPrioritizedTextureManager {
24 WTF_MAKE_NONCOPYABLE(CCPrioritizedTextureManager); 24 WTF_MAKE_NONCOPYABLE(CCPrioritizedTextureManager);
25 public: 25 public:
26 static PassOwnPtr<CCPrioritizedTextureManager> create(size_t maxMemoryLimitB ytes, int maxTextureSize, int pool) 26 static PassOwnPtr<CCPrioritizedTextureManager> create(size_t maxMemoryLimitB ytes, int maxTextureSize, int pool)
27 { 27 {
28 return adoptPtr(new CCPrioritizedTextureManager(maxMemoryLimitBytes, max TextureSize, pool)); 28 return adoptPtr(new CCPrioritizedTextureManager(maxMemoryLimitBytes, max TextureSize, pool));
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 typedef Vector<CCPrioritizedTexture*> TextureVector; 108 typedef Vector<CCPrioritizedTexture*> TextureVector;
109 typedef Vector<CCPrioritizedTexture::Backing*> BackingVector; 109 typedef Vector<CCPrioritizedTexture::Backing*> BackingVector;
110 110
111 TextureSet m_textures; 111 TextureSet m_textures;
112 BackingSet m_backings; 112 BackingSet m_backings;
113 113
114 TextureVector m_tempTextureVector; 114 TextureVector m_tempTextureVector;
115 BackingVector m_tempBackingVector; 115 BackingVector m_tempBackingVector;
116 }; 116 };
117 117
118 } // WebCore 118 } // cc
119 119
120 #endif 120 #endif
OLDNEW
« no previous file with comments | « cc/CCPrioritizedTexture.cpp ('k') | cc/CCPrioritizedTextureManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698