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 #include "gpu/command_buffer/service/memory_program_cache.h" | 5 #include "gpu/command_buffer/service/memory_program_cache.h" |
6 | 6 |
7 #include "base/base64.h" | 7 #include "base/base64.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
10 #include "base/sha1.h" | 10 #include "base/sha1.h" |
11 #include "base/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "gpu/command_buffer/common/constants.h" | 12 #include "gpu/command_buffer/common/constants.h" |
13 #include "gpu/command_buffer/service/disk_cache_proto.pb.h" | 13 #include "gpu/command_buffer/service/disk_cache_proto.pb.h" |
14 #include "gpu/command_buffer/service/gl_utils.h" | 14 #include "gpu/command_buffer/service/gl_utils.h" |
15 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 15 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
16 #include "gpu/command_buffer/service/gpu_switches.h" | 16 #include "gpu/command_buffer/service/gpu_switches.h" |
17 #include "gpu/command_buffer/service/shader_manager.h" | 17 #include "gpu/command_buffer/service/shader_manager.h" |
18 #include "ui/gl/gl_bindings.h" | 18 #include "ui/gl/gl_bindings.h" |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 attrib_map_0(_attrib_map_0), | 323 attrib_map_0(_attrib_map_0), |
324 uniform_map_0(_uniform_map_0), | 324 uniform_map_0(_uniform_map_0), |
325 shader_1_hash(_shader_1_hash, kHashLength), | 325 shader_1_hash(_shader_1_hash, kHashLength), |
326 attrib_map_1(_attrib_map_1), | 326 attrib_map_1(_attrib_map_1), |
327 uniform_map_1(_uniform_map_1) {} | 327 uniform_map_1(_uniform_map_1) {} |
328 | 328 |
329 MemoryProgramCache::ProgramCacheValue::~ProgramCacheValue() {} | 329 MemoryProgramCache::ProgramCacheValue::~ProgramCacheValue() {} |
330 | 330 |
331 } // namespace gles2 | 331 } // namespace gles2 |
332 } // namespace gpu | 332 } // namespace gpu |
OLD | NEW |