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 CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ |
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "base/file_path.h" | 12 #include "base/file_path.h" |
14 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
15 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
16 #include "base/observer_list_threadsafe.h" | 15 #include "base/observer_list_threadsafe.h" |
17 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 FilePath swiftshader_path_; | 106 FilePath swiftshader_path_; |
108 | 107 |
109 // Current card force-blacklisted due to GPU crashes, or disabled through | 108 // Current card force-blacklisted due to GPU crashes, or disabled through |
110 // the --disable-gpu commandline switch. | 109 // the --disable-gpu commandline switch. |
111 bool card_blacklisted_; | 110 bool card_blacklisted_; |
112 | 111 |
113 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); | 112 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); |
114 }; | 113 }; |
115 | 114 |
116 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 115 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ |
OLD | NEW |