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

Side by Side Diff: cc/CCPrioritizedTexture.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/CCPageScaleAnimation.cpp ('k') | cc/CCPrioritizedTexture.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 CCPrioritizedTexture_h 5 #ifndef CCPrioritizedTexture_h
6 #define CCPrioritizedTexture_h 6 #define CCPrioritizedTexture_h
7 7
8 #include "CCPriorityCalculator.h" 8 #include "CCPriorityCalculator.h"
9 #include "CCResourceProvider.h" 9 #include "CCResourceProvider.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 14
15 namespace WebCore { 15 namespace cc {
16 16
17 class CCPrioritizedTextureManager; 17 class CCPrioritizedTextureManager;
18 18
19 class CCPrioritizedTexture { 19 class CCPrioritizedTexture {
20 WTF_MAKE_NONCOPYABLE(CCPrioritizedTexture); 20 WTF_MAKE_NONCOPYABLE(CCPrioritizedTexture);
21 public: 21 public:
22 static PassOwnPtr<CCPrioritizedTexture> create(CCPrioritizedTextureManager* manager, IntSize size, GC3Denum format) 22 static PassOwnPtr<CCPrioritizedTexture> create(CCPrioritizedTextureManager* manager, IntSize size, GC3Denum format)
23 { 23 {
24 return adoptPtr(new CCPrioritizedTexture(manager, size, format)); 24 return adoptPtr(new CCPrioritizedTexture(manager, size, format));
25 } 25 }
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 size_t m_bytes; 109 size_t m_bytes;
110 110
111 size_t m_priority; 111 size_t m_priority;
112 bool m_isAbovePriorityCutoff; 112 bool m_isAbovePriorityCutoff;
113 bool m_isSelfManaged; 113 bool m_isSelfManaged;
114 114
115 Backing* m_backing; 115 Backing* m_backing;
116 CCPrioritizedTextureManager* m_manager; 116 CCPrioritizedTextureManager* m_manager;
117 }; 117 };
118 118
119 } // WebCore 119 } // namespace cc
120 120
121 #endif 121 #endif
OLDNEW
« no previous file with comments | « cc/CCPageScaleAnimation.cpp ('k') | cc/CCPrioritizedTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698