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_PROGRAM_CACHE_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_PROGRAM_CACHE_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_PROGRAM_CACHE_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_PROGRAM_CACHE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
12 #include "base/sha1.h" | 12 #include "base/sha1.h" |
13 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 13 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
14 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 14 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
15 #include "gpu/command_buffer/service/shader_manager.h" | 15 #include "gpu/command_buffer/service/shader_manager.h" |
16 | 16 |
17 namespace gpu { | 17 namespace gpu { |
18 namespace gles2 { | 18 namespace gles2 { |
19 | 19 |
20 class Shader; | 20 class Shader; |
21 class ShaderTranslator; | 21 class ShaderTranslator; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 CompileStatusMap shader_status_; | 138 CompileStatusMap shader_status_; |
139 LinkStatusMap link_status_; | 139 LinkStatusMap link_status_; |
140 | 140 |
141 DISALLOW_COPY_AND_ASSIGN(ProgramCache); | 141 DISALLOW_COPY_AND_ASSIGN(ProgramCache); |
142 }; | 142 }; |
143 | 143 |
144 } // namespace gles2 | 144 } // namespace gles2 |
145 } // namespace gpu | 145 } // namespace gpu |
146 | 146 |
147 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRAM_CACHE_H_ | 147 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRAM_CACHE_H_ |
OLD | NEW |