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

Unified Diff: content/public/common/gpu_switching_option.h

Issue 10909221: Implement blacklist's force GPU capability in dual GPU machines. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | « content/public/common/gpu_feature_type.h ('k') | content/public/common/gpu_switching_option.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/gpu_switching_option.h
===================================================================
--- content/public/common/gpu_switching_option.h (revision 0)
+++ content/public/common/gpu_switching_option.h (revision 0)
@@ -0,0 +1,27 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_COMMON_GPU_SWITCHING_OPTION_H_
+#define CONTENT_PUBLIC_COMMON_GPU_SWITCHING_OPTION_H_
+
+#include "build/build_config.h"
+#include "content/common/content_export.h"
+
+namespace content {
+
+enum GpuSwitchingOption {
+ GPU_SWITCHING_OPTION_AUTOMATIC,
+ GPU_SWITCHING_OPTION_FORCE_INTEGRATED,
+ GPU_SWITCHING_OPTION_FORCE_DISCRETE,
+ GPU_SWITCHING_OPTION_UNKNOWN
+};
+
+} // namespace content
+
+CONTENT_EXPORT extern const char kGpuSwitchingOptionNameAutomatic[];
jam 2012/09/17 17:08:55 why are these here? these belong in content\public
Zhenyao Mo 2012/09/17 17:13:43 These are not just for commandline flags, they are
jam 2012/09/17 17:16:08 right, I realize that. these are anagalous to kRen
Zhenyao Mo 2012/09/17 17:28:58 The commandline switch options only support force_
+CONTENT_EXPORT extern const char kGpuSwitchingOptionNameForceIntegrated[];
+CONTENT_EXPORT extern const char kGpuSwitchingOptionNameForceDiscrete[];
+
+#endif // CONTENT_PUBLIC_COMMON_GPU_SWITCHING_OPTION_H_
+
Property changes on: content/public/common/gpu_switching_option.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/public/common/gpu_feature_type.h ('k') | content/public/common/gpu_switching_option.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698