OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/logging.h" | |
13 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
14 #include "gpu/command_buffer/service/gl_utils.h" | 13 #include "gpu/command_buffer/service/gl_utils.h" |
15 #include "gpu/command_buffer/service/shader_manager.h" | 14 #include "gpu/command_buffer/service/shader_manager.h" |
16 | 15 |
17 namespace gpu { | 16 namespace gpu { |
18 namespace gles2 { | 17 namespace gles2 { |
19 | 18 |
20 // Tracks the Programs. | 19 // Tracks the Programs. |
21 // | 20 // |
22 // NOTE: To support shared resources an instance of this class will | 21 // NOTE: To support shared resources an instance of this class will |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 typedef std::map<GLuint, ProgramInfo::Ref> ProgramInfoMap; | 222 typedef std::map<GLuint, ProgramInfo::Ref> ProgramInfoMap; |
224 ProgramInfoMap program_infos_; | 223 ProgramInfoMap program_infos_; |
225 | 224 |
226 DISALLOW_COPY_AND_ASSIGN(ProgramManager); | 225 DISALLOW_COPY_AND_ASSIGN(ProgramManager); |
227 }; | 226 }; |
228 | 227 |
229 } // namespace gles2 | 228 } // namespace gles2 |
230 } // namespace gpu | 229 } // namespace gpu |
231 | 230 |
232 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_ | 231 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRAM_MANAGER_H_ |
233 | |
OLD | NEW |