| 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 <stddef.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <string> | 11 #include <string> |
| 10 | 12 |
| 11 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
| 14 #include "base/macros.h" |
| 12 #include "base/sha1.h" | 15 #include "base/sha1.h" |
| 13 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 16 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
| 14 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 17 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
| 15 #include "gpu/command_buffer/service/shader_manager.h" | 18 #include "gpu/command_buffer/service/shader_manager.h" |
| 16 | 19 |
| 17 namespace gpu { | 20 namespace gpu { |
| 18 namespace gles2 { | 21 namespace gles2 { |
| 19 | 22 |
| 20 class Shader; | 23 class Shader; |
| 21 | 24 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 112 |
| 110 LinkStatusMap link_status_; | 113 LinkStatusMap link_status_; |
| 111 | 114 |
| 112 DISALLOW_COPY_AND_ASSIGN(ProgramCache); | 115 DISALLOW_COPY_AND_ASSIGN(ProgramCache); |
| 113 }; | 116 }; |
| 114 | 117 |
| 115 } // namespace gles2 | 118 } // namespace gles2 |
| 116 } // namespace gpu | 119 } // namespace gpu |
| 117 | 120 |
| 118 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRAM_CACHE_H_ | 121 #endif // GPU_COMMAND_BUFFER_SERVICE_PROGRAM_CACHE_H_ |
| OLD | NEW |