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

Side by Side Diff: gpu/command_buffer/service/async_pixel_transfer_manager.h

Issue 16667019: Rename base/hash_tables to base/containers/hash_tables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « gpu/command_buffer/client/hash_tables.h ('k') | gpu/command_buffer/service/buffer_manager.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/hash_tables.h" 12 #include "base/containers/hash_tables.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "gpu/command_buffer/service/texture_manager.h" 14 #include "gpu/command_buffer/service/texture_manager.h"
15 #include "gpu/gpu_export.h" 15 #include "gpu/gpu_export.h"
16 16
17 #if defined(COMPILER_GCC) 17 #if defined(COMPILER_GCC)
18 namespace BASE_HASH_NAMESPACE { 18 namespace BASE_HASH_NAMESPACE {
19 template <> 19 template <>
20 struct hash<gpu::gles2::TextureRef*> { 20 struct hash<gpu::gles2::TextureRef*> {
21 size_t operator()(gpu::gles2::TextureRef* ptr) const { 21 size_t operator()(gpu::gles2::TextureRef* ptr) const {
22 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); 22 return hash<size_t>()(reinterpret_cast<size_t>(ptr));
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 scoped_refptr<AsyncPixelTransferState> > 92 scoped_refptr<AsyncPixelTransferState> >
93 TextureToStateMap; 93 TextureToStateMap;
94 TextureToStateMap state_map_; 94 TextureToStateMap state_map_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManager); 96 DISALLOW_COPY_AND_ASSIGN(AsyncPixelTransferManager);
97 }; 97 };
98 98
99 } // namespace gpu 99 } // namespace gpu
100 100
101 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_H_ 101 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_MANAGER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/hash_tables.h ('k') | gpu/command_buffer/service/buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698