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

Side by Side Diff: cc/prioritized_texture_manager.h

Issue 11233025: cc: Remove CC*.h temporary includes, part 4/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/prioritized_texture.cc ('k') | cc/prioritized_texture_manager.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 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 <list> 8 #include <list>
9 #include <vector> 9 #include <vector>
10 10
11 #include "CCPrioritizedTexture.h"
12 #include "CCPriorityCalculator.h"
13 #include "IntRect.h" 11 #include "IntRect.h"
14 #include "IntSize.h" 12 #include "IntSize.h"
15 #include "base/basictypes.h" 13 #include "base/basictypes.h"
16 #include "base/hash_tables.h" 14 #include "base/hash_tables.h"
17 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "cc/prioritized_texture.h"
17 #include "cc/priority_calculator.h"
18 #include "cc/texture.h" 18 #include "cc/texture.h"
19 #include "third_party/khronos/GLES2/gl2.h" 19 #include "third_party/khronos/GLES2/gl2.h"
20 20
21 #if defined(COMPILER_GCC) 21 #if defined(COMPILER_GCC)
22 namespace BASE_HASH_NAMESPACE { 22 namespace BASE_HASH_NAMESPACE {
23 template<> 23 template<>
24 struct hash<cc::CCPrioritizedTexture*> { 24 struct hash<cc::CCPrioritizedTexture*> {
25 size_t operator()(cc::CCPrioritizedTexture* ptr) const { 25 size_t operator()(cc::CCPrioritizedTexture* ptr) const {
26 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); 26 return hash<size_t>()(reinterpret_cast<size_t>(ptr));
27 } 27 }
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 BackingList m_evictedBackings; 163 BackingList m_evictedBackings;
164 164
165 TextureVector m_tempTextureVector; 165 TextureVector m_tempTextureVector;
166 166
167 DISALLOW_COPY_AND_ASSIGN(CCPrioritizedTextureManager); 167 DISALLOW_COPY_AND_ASSIGN(CCPrioritizedTextureManager);
168 }; 168 };
169 169
170 } // namespace cc 170 } // namespace cc
171 171
172 #endif 172 #endif
OLDNEW
« no previous file with comments | « cc/prioritized_texture.cc ('k') | cc/prioritized_texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698