Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: gpu/command_buffer/service/program_manager.cc

Issue 1544433002: Replace RE2 import with a dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-Added LICENSE and OWNERS file Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/common/stack_frame.cc ('k') | gpu/config/gpu_control_list.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/program_manager.h" 5 #include "gpu/command_buffer/service/program_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/containers/hash_tables.h" 14 #include "base/containers/hash_tables.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram.h"
18 #include "base/numerics/safe_math.h" 18 #include "base/numerics/safe_math.h"
19 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
20 #include "base/strings/string_util.h" 20 #include "base/strings/string_util.h"
21 #include "base/strings/stringprintf.h" 21 #include "base/strings/stringprintf.h"
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #include "gpu/command_buffer/common/gles2_cmd_format.h" 23 #include "gpu/command_buffer/common/gles2_cmd_format.h"
24 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 24 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
25 #include "gpu/command_buffer/service/feature_info.h" 25 #include "gpu/command_buffer/service/feature_info.h"
26 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 26 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
27 #include "gpu/command_buffer/service/gpu_switches.h" 27 #include "gpu/command_buffer/service/gpu_switches.h"
28 #include "gpu/command_buffer/service/program_cache.h" 28 #include "gpu/command_buffer/service/program_cache.h"
29 #include "gpu/command_buffer/service/shader_manager.h" 29 #include "gpu/command_buffer/service/shader_manager.h"
30 #include "third_party/re2/re2/re2.h" 30 #include "third_party/re2/src/re2/re2.h"
31 #include "ui/gl/gl_version_info.h" 31 #include "ui/gl/gl_version_info.h"
32 32
33 using base::TimeDelta; 33 using base::TimeDelta;
34 using base::TimeTicks; 34 using base::TimeTicks;
35 35
36 namespace gpu { 36 namespace gpu {
37 namespace gles2 { 37 namespace gles2 {
38 38
39 namespace { 39 namespace {
40 40
(...skipping 2341 matching lines...) Expand 10 before | Expand all | Expand 10 after
2382 DCHECK(program); 2382 DCHECK(program);
2383 program->ClearUniforms(&zero_); 2383 program->ClearUniforms(&zero_);
2384 } 2384 }
2385 2385
2386 int32 ProgramManager::MakeFakeLocation(int32 index, int32 element) { 2386 int32 ProgramManager::MakeFakeLocation(int32 index, int32 element) {
2387 return index + element * 0x10000; 2387 return index + element * 0x10000;
2388 } 2388 }
2389 2389
2390 } // namespace gles2 2390 } // namespace gles2
2391 } // namespace gpu 2391 } // namespace gpu
OLDNEW
« no previous file with comments | « extensions/common/stack_frame.cc ('k') | gpu/config/gpu_control_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698