| 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_MEMORY_PROGRAM_CACHE_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_MEMORY_PROGRAM_CACHE_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_MEMORY_PROGRAM_CACHE_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_MEMORY_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/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.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/program_cache.h" | 15 #include "gpu/command_buffer/service/program_cache.h" |
| 16 #include "gpu/command_buffer/service/program_cache_lru_helper.h" | 16 #include "gpu/command_buffer/service/program_cache_lru_helper.h" |
| 17 #include "gpu/command_buffer/service/shader_translator.h" | 17 #include "gpu/command_buffer/service/shader_translator.h" |
| 18 | 18 |
| 19 namespace gpu { | 19 namespace gpu { |
| 20 namespace gles2 { | 20 namespace gles2 { |
| 21 | 21 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 StoreMap store_; | 85 StoreMap store_; |
| 86 ProgramCacheLruHelper eviction_helper_; | 86 ProgramCacheLruHelper eviction_helper_; |
| 87 | 87 |
| 88 DISALLOW_COPY_AND_ASSIGN(MemoryProgramCache); | 88 DISALLOW_COPY_AND_ASSIGN(MemoryProgramCache); |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 } // namespace gles2 | 91 } // namespace gles2 |
| 92 } // namespace gpu | 92 } // namespace gpu |
| 93 | 93 |
| 94 #endif // GPU_COMMAND_BUFFER_SERVICE_MEMORY_PROGRAM_CACHE_H_ | 94 #endif // GPU_COMMAND_BUFFER_SERVICE_MEMORY_PROGRAM_CACHE_H_ |
| OLD | NEW |