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

Side by Side Diff: gpu/config/gpu_test_config.h

Issue 1725113002: gpu: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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 | « gpu/config/gpu_info.cc ('k') | gpu/config/gpu_test_config.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 #ifndef GPU_CONFIG_GPU_TEST_CONFIG_H_ 5 #ifndef GPU_CONFIG_GPU_TEST_CONFIG_H_
6 #define GPU_CONFIG_GPU_TEST_CONFIG_H_ 6 #define GPU_CONFIG_GPU_TEST_CONFIG_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 enum API { 51 enum API {
52 kAPIUnknown = 0, 52 kAPIUnknown = 0,
53 kAPID3D9 = 1 << 0, 53 kAPID3D9 = 1 << 0,
54 kAPID3D11 = 1 << 1, 54 kAPID3D11 = 1 << 1,
55 kAPIGLDesktop = 1 << 2, 55 kAPIGLDesktop = 1 << 2,
56 kAPIGLES = 1 << 3, 56 kAPIGLES = 1 << 3,
57 }; 57 };
58 58
59 GPUTestConfig(); 59 GPUTestConfig();
60 GPUTestConfig(const GPUTestConfig& other);
60 virtual ~GPUTestConfig(); 61 virtual ~GPUTestConfig();
61 62
62 void set_os(int32_t os); 63 void set_os(int32_t os);
63 void set_gpu_device_id(uint32_t id); 64 void set_gpu_device_id(uint32_t id);
64 void set_build_type(int32_t build_type); 65 void set_build_type(int32_t build_type);
65 void set_api(int32_t api); 66 void set_api(int32_t api);
66 67
67 virtual void AddGPUVendor(uint32_t gpu_vendor); 68 virtual void AddGPUVendor(uint32_t gpu_vendor);
68 69
69 int32_t os() const { return os_; } 70 int32_t os() const { return os_; }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 static bool CurrentConfigMatches(const std::vector<std::string>& configs); 138 static bool CurrentConfigMatches(const std::vector<std::string>& configs);
138 139
139 // Check if the bot has blacklisted all GPU features. 140 // Check if the bot has blacklisted all GPU features.
140 static bool GpuBlacklistedOnBot(); 141 static bool GpuBlacklistedOnBot();
141 }; 142 };
142 143
143 } // namespace gpu 144 } // namespace gpu
144 145
145 #endif // GPU_CONFIG_GPU_TEST_CONFIG_H_ 146 #endif // GPU_CONFIG_GPU_TEST_CONFIG_H_
146 147
OLDNEW
« no previous file with comments | « gpu/config/gpu_info.cc ('k') | gpu/config/gpu_test_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698