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

Unified Diff: gpu/config/gpu_util.h

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: fix win clang build Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/config/gpu_switches.cc ('k') | gpu/config/gpu_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_util.h
diff --git a/gpu/config/gpu_util.h b/gpu/config/gpu_util.h
index 8c82555dbdc4f1251b746e392eb686f11ada7e1c..f0cd1794316cb2971a13b1528f2e3acf27f65eee 100644
--- a/gpu/config/gpu_util.h
+++ b/gpu/config/gpu_util.h
@@ -10,6 +10,7 @@
#include "base/command_line.h"
#include "build/build_config.h"
+#include "gpu/config/gpu_feature_info.h"
#include "gpu/gpu_export.h"
namespace base {
@@ -39,6 +40,13 @@ GPU_EXPORT void ParseSecondaryGpuDevicesFromCommandLine(
GPU_EXPORT void InitializeDualGpusIfSupported(
const std::set<int>& driver_bug_workarounds);
+// This function should only be called from the GPU process, or the Browser
+// process while using in-process GPU. This function is safe to call at any
+// point, and is not dependent on sandbox initialization.
+GPU_EXPORT GpuFeatureInfo
+GetGpuFeatureInfo(const GPUInfo& gpu_info,
+ const base::CommandLine& command_line);
+
} // namespace gpu
#endif // GPU_CONFIG_GPU_UTIL_H_
« no previous file with comments | « gpu/config/gpu_switches.cc ('k') | gpu/config/gpu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698