OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_PATH_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_PATH_MANAGER_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_PATH_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_PATH_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "gpu/command_buffer/service/gl_utils.h" | 11 #include "gpu/command_buffer/service/gl_utils.h" |
12 #include "gpu/gpu_export.h" | 12 #include "gpu/gpu_export.h" |
13 | 13 |
14 namespace gpu { | 14 namespace gpu { |
15 namespace gles2 { | 15 namespace gles2 { |
16 | 16 |
17 // This class keeps track of paths and their client and service ids | 17 // This class keeps track of paths and their client and service ids |
18 // so we can correctly clear them. | 18 // so we can correctly clear them. |
19 class GPU_EXPORT PathManager { | 19 class GPU_EXPORT PathManager { |
20 public: | 20 public: |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 PathRangeMap path_map_; | 60 PathRangeMap path_map_; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(PathManager); | 62 DISALLOW_COPY_AND_ASSIGN(PathManager); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace gles2 | 65 } // namespace gles2 |
66 } // namespace gpu | 66 } // namespace gpu |
67 | 67 |
68 #endif // GPU_COMMAND_BUFFER_SERVICE_PATH_MANAGER_H_ | 68 #endif // GPU_COMMAND_BUFFER_SERVICE_PATH_MANAGER_H_ |
OLD | NEW |