| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 GPU_COMMAND_BUFFER_SERVICE_ID_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ID_MANAGER_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_ID_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_ID_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
| 9 #include "base/macros.h" |
| 10 #include "gpu/command_buffer/service/gl_utils.h" | 10 #include "gpu/command_buffer/service/gl_utils.h" |
| 11 #include "gpu/gpu_export.h" | 11 #include "gpu/gpu_export.h" |
| 12 | 12 |
| 13 namespace gpu { | 13 namespace gpu { |
| 14 namespace gles2 { | 14 namespace gles2 { |
| 15 | 15 |
| 16 // This class maps one set of ids to another. | 16 // This class maps one set of ids to another. |
| 17 // | 17 // |
| 18 // NOTE: To support shared resources an instance of this class will | 18 // NOTE: To support shared resources an instance of this class will |
| 19 // need to be shared by multiple GLES2Decoders. | 19 // need to be shared by multiple GLES2Decoders. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 42 MapType id_map_; | 42 MapType id_map_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(IdManager); | 44 DISALLOW_COPY_AND_ASSIGN(IdManager); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace gles2 | 47 } // namespace gles2 |
| 48 } // namespace gpu | 48 } // namespace gpu |
| 49 | 49 |
| 50 #endif // GPU_COMMAND_BUFFER_SERVICE_ID_MANAGER_H_ | 50 #endif // GPU_COMMAND_BUFFER_SERVICE_ID_MANAGER_H_ |
| 51 | 51 |
| OLD | NEW |